2024-07-21 02:42:06 +12:00
|
|
|
# compiler
|
|
|
|
### just a simple lisp compiler to learn compiler dev
|
|
|
|
|
2024-07-21 11:01:58 +12:00
|
|
|
#### cloning
|
|
|
|
run ```git clone https://git.samahh.dev/sam/compiler --recursive```
|
|
|
|
|
2024-07-21 02:42:06 +12:00
|
|
|
#### compiling
|
|
|
|
to compile run `make`
|
|
|
|
|
|
|
|
#### running
|
2024-07-22 13:05:30 +12:00
|
|
|
to run the example run `make run`, or to compile another file run either
|
|
|
|
```
|
|
|
|
./compiler run filename.lisp
|
|
|
|
```
|
|
|
|
or
|
|
|
|
```
|
|
|
|
./compiler build filename.lisp binaryname
|
|
|
|
```
|