smxc
Compiler for the coordination language Streamix.
It takes a file containing Streamix syntax and produces a dependency graph in either the graphml
(default) or gml
format.
A Debian package is distributed with the repository. Use the command
sudo apt install __path_to_deb__
where __path_to_deb__
defines the path to the local Debian package.
To build the compiler from scratch run the following commands:
git clone --recursive https://github.com/moiri/streamix-c.git git-smxc
make
sudo make install
Note that the following libraries are required to compile smxc
successfully:
flex
This is used for lexing the Streamix code. To install on an apt-based Linux system type
sudo apt update
sudo apt install flex
bison
This is used for parsing the Streamix code. To install on an apt-based Linux system type
sudo apt update
sudo apt install bison
igraph
This is used to build dependency graphs.
sudo apt update
sudo apt install libigraph0-dev
make test
Requires
graphviz
to plot results with the dot
applicationgs
to combine separate pdf filesvalgrind
for memory checks)./smxc [OPTION...] FILE
Options:
-h This message
-v Version
-o 'path' Path to store the generated file
-f 'format' Format of the graph either 'gml' or 'graphml'