Skip to content

jmansilla/tomos

Repository files navigation

τόμος - tomos

Tomographies for your code

code tomography logo

What it's tomos?

It's and interpreter of AyED2 language, and also a memory visualizer of executions.

The grammar of the language can be found here. You can also find simple examples in this folder, and a bit more complex ones with these linked_list or bubble_sort ones.

installation & usage

A simple pip install should do it. It's recommened to install it on a virtual environment, but it's up to you.

]$ pip install tomos

After installed, you should have a new command named tomos, and you can check everything it's working fine by running

]$ tomos --version

Assuming you have a valid AyED2 file (example.ayed), you can run the interpreter like this:

]$ tomos example.ayed

that should show on screen the final state of such execution.

If you want to generate the visualization trace, add the parameter --autoplay.

For a complete list of options, use --help

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages