"Dogs have sweat glands in between their paws.""Puppies can sleep 18 to 20 hours a day during that rapid body growth phase.""Teams of dogs compete for the fastest time without errors in Flyball races.""Ancient Egyptians revered their dogs. When a pet dog would die, the owners shaved off their eyebrows, smeared mud in their hair, and mourned aloud for days.""Dachshunds were bred to fight badgers in their dens."
"Dogs have sweat glands in between their paws.""Puppies can sleep 18 to 20 hours a day during that rapid body growth phase.""Teams of dogs compete for the fastest time without errors in Flyball races.""Ancient Egyptians revered their dogs. When a pet dog would die, the owners shaved off their eyebrows, smeared mud in their hair, and mourned aloud for days.""Dachshunds were bred to fight badgers in their dens."
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