A C runtime library for the atto programming language.
To build the catto library, run:
./build.sh
The library will be built as a single header file in the dist
directory. The interpreter and example code will also be built.
To start the interpreter, run:
runtime/build/catto
To interrupt running programs, press esc. To exit the interpreter, type exit
.
Compile with DEBUG_MEMORY
defined to get debug information about memory usage for every command entered.
To run the example code (found at examples/hello.c
), run:
examples/build/hello
Compile with TEST_MEMORY
defined to run the example in an infinite loop, which can then be used with a process monitor to check for memory leaks.