Unnamed toy scripting language being made for funsies. Very work in progress.
Warning! There is no garbage collector, meaning scripts use more memory the longer they run.
Dependencies:
- Python 3 or later
- GCC 10+ or Clang 10+
To build, invoke build.py using a python interpreter.
The following environment variables can be set to customise the build:
CPP_COMPILER- Path to the specific C++ compiler to use (defaultg++)DEBUG- Set to1to disable optimisations and export debug symbols (default0)
Example:
CPP_COMPILER=clang++ DEBUG=1 python3 build.py
After building, the interpreter scri (scri.exe on Windows) is in the directory gen.
The command line interface is:
scri [input file(s)]
See the examples for guidance on the syntax and language features.