Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Lisp Compiler and interpreter for Notch's DCPU16
tree: defdcac4d3

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
assemble.py
astify.py
compile.py
tokenize.py

README.md

DCPU16-Lisp

A lisp compiler for the DCPU16 processor

Usage:

From bee-lisp

< program.bl  compile.py 
    | assemble.py > program.obj

From other language

< program.ext tokenize.py --ext 
    | astify.py --ext
    | compile.py 
    | assemble.py > program.obj

Tools:

tokenize.py

[future] Takes a program in an other language and tokenises it (token stream is long list of s-exprs)

astify.py

[future] Turns a token stream into a valid bee-lisp program.

compile.py

Compiles valid bee-lisp program into DCPU16 assembly.

assemble.py

Assembles a valid DCPU (.dasm or .dasm16) program into binary and

Bee-Lisp:

(defun my-add x y)

Something went wrong with that request. Please try again.