Skip to content

A C runtime library for the atto programming language. ๐Ÿ˜บ๐Ÿ–ฅ๏ธ

License

Notifications You must be signed in to change notification settings

devicefuture/catto

Repository files navigation

catto ๐Ÿ˜บ๐Ÿ–ฅ๏ธ

A C runtime library for the atto programming language.

Building

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.

Running the interpreter

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.

Running the example

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.

About

A C runtime library for the atto programming language. ๐Ÿ˜บ๐Ÿ–ฅ๏ธ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published