just a simple lisp compiler to learn compiler dev
Find a file
2024-09-29 08:14:11 +13:00
include fix dumb mistake with unnecessary heap allocation for vector objects 2024-09-29 08:13:54 +13:00
src fix dumb mistake with unnecessary heap allocation for vector objects 2024-09-29 08:13:54 +13:00
std add stdio include 2024-07-21 02:21:47 +12:00
tcc@08a4c52de3 added tcc to build process 2024-07-21 10:53:59 +12:00
.gitignore optimize tokenizer by moving data ptr 2024-07-22 15:46:25 +12:00
.gitmodules add slibs back 2024-07-21 11:00:38 +12:00
bench.lisp fix dumb mistake with unnecessary heap allocation for vector objects 2024-09-29 08:13:54 +13:00
compile_flags.txt fix dumb mistake with unnecessary heap allocation for vector objects 2024-09-29 08:13:54 +13:00
example.lisp fix dumb mistake with unnecessary heap allocation for vector objects 2024-09-29 08:13:54 +13:00
LICENSE Initial commit 2024-07-21 02:10:37 +12:00
Makefile fix dumb mistake with unnecessary heap allocation for vector objects 2024-09-29 08:13:54 +13:00
README.md add better args system: 2024-07-22 23:31:54 +12:00

compiler

just a simple lisp compiler to learn compiler dev

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

cloning

run git clone https://git.samahh.dev/sam/compiler --recursive

compiling

to compile run make

running

to run the example run make run, or to compile another file run either

./compiler run filename.lisp

or

./compiler build filename.lisp -o outputname