Do-it is a messy toy procedural imperative (although everything is an expression for simplicity) programming language I wrote to learn about code generation, initially derived from An Incremental Approach to Compiler Construction by Abdulaziz Ghuloum. It uses Scheme S-Expression syntax and the compiler is written in Scheme.
-m32
option
for 64-bit GCC/Clang)Operating system | Status |
---|---|
GNU/Linux, OpenBSD, Solaris | Works fine out-of-the-box. |
macOS | Set abi-underscore? to #t . |
Microsoft Windows (MinGW) | Set abi-underscore? to #t . |
Other operating systems | Not yet tested. |
Edit Makefile as necessary. Then run make
to compile the library. Now you can
run make <name>
to compile the source file \<name>.do-it.
Do-it is fully documented in the wiki.