The embeddable C runtime library for the atto programming language. It's used by the DigiCron smartwatch and atto.js.
To build the catto library, run:
./build.shThe library will be built as a single header file in the dist directory, which will also include a header file used to configure catto. The interpreter and example code will also be built.
To start the interpreter, run:
runtime/build/cattoTo interrupt running programs, press esc. To exit the interpreter, type exit.
You can also run atto files by running this command, where $FILE is the atto file you want to run:
runtime/build/catto $FILECompile 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/helloCompile 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.