This is a simple pet project. Its goals are to:
- Translate lisp code into stackmachine code
- Run stackmachine code
- (optional) Compile stackmachine code
This project is not yet fully finished. T1 translates simple lisp code into bytecode, writes it to file. VM has been implemented.
The current short-term goal is to expand the list of supported functions. The next short-term goal is to expand supported syntax in t1.
# Translates into stackmachine code, outputs in readable format, writes the bytecode to out.bin
./t1 <file>
# Reads bytecode from file, outputs in readable format
./vm read <file>
# Executes bytecode
./vm run <file>