Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 501 Bytes

README.md

File metadata and controls

10 lines (10 loc) · 501 Bytes

An unfinished stack-based language

This compiler lets you compile code like 17 . 22 11 + emit (prints out 17!). It is completely useless, but it helped me get a bit better at Common Lisp and x86-64 assembly.

Requirements

  • x86-64 Linux
  • fasm
  • A Common Lisp implementation

Usage

  1. Load compiler.lisp in the Common Lisp implementation of your choice (only tested with sbcl)
  2. Call (compile-code "<your source code")
  3. Run make (runs the assembler)