Home>Projects>

simon-compiler

Compiler for simonlang

SIMON-COMPILER

This is a compiler for simon lang that compiles the simonlang code into an executable binary.

To compile you need to:

$ compiler ./test.simon ./test-out-binary
$ as -arch arm64 -o ./test-out-binary.o ./test-out-binary.s
$ ld -arch arm64 -e _start -o ./test-out-binary ./test-out-binary.o -lSystem -syslibroot `xcrun -sdk macosx --show-sdk-path` -e _start -arch arm64

Docs

TODO:

Footer