Parse and execute programs written in CESIL.
This code is written with C++ 20 features but will probably compile for 17 after removing the use enum Mnemonic;
statement and adding the enum class name in the switch cases etc.
Create a build folder and from it point cmake to the topmost CMakeLists.txt file e.g cmake path/to/CMakeLists.txt
.
You can type in a program using CESIL on the command line after running cesil or supply the path to a program file.
If you write the program a file called prog_text will be saved where cesil runs. This file can be edited and run again.
Beware! Don't let the program overwrite your carefully crafted program, it will if it can!