Installation
SyMon is fully implemented in C++. SyMon works on many UNIX-like operating systems. We tested SyMon on macOS Sequoia 15.6, Ubuntu 24.04, and Arch Linux.
Installation with Homebrew
On macOS, it is the simplest to install SyMon using Homebrew.
Then, you can just run symon, for example, as follows.
You can likely "run" the .symon file by appropriately specify the shebang.
Installation with Docker
SyMon can be also used within a docker container.
Then, you can run symon. Notice that you have to specify -v
option to bind the directory containing .symon file.
Building from scratch
To build SyMon from scratch, you need to install the following dependencies.
- C++ compiler supporting C++17 and the corresponding libraries.
- Boost (>= 1.67.0)
- CMake (>= 3.25)
- Parma Polyhedra Library
- Tree Sitter
On Ubuntu, the above can be installed as follows.
First, you need to build and install the grammar definition of SyMon.
git clone https://github.com/maswag/tree-sitter-symon.git /tmp/tree-sitter-symon
cmake -B /tmp/tree-sitter-symon/build -S /tmp/tree-sitter-symon
cmake --build /tmp/tree-sitter-symon/build
sudo cmake --install /tmp/tree-sitter-symon/build
Then, you can build and install SyMon.