compiler-lightning/README.md

19 lines
519 B
Markdown
Raw Normal View History

2024-07-21 02:42:06 +12:00
# compiler
### just a simple lisp compiler to learn compiler dev
2024-07-22 19:00:15 +12:00
### im considering this finished for now, it lacks a lot of real lisp things but it can handle the basic syntax which is what i was trying to accomplish
2024-07-21 02:42:06 +12:00
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
```
2024-07-22 23:31:54 +12:00
./compiler build filename.lisp -o outputname
2024-07-22 13:05:30 +12:00
```