Permalink
Browse files

explain basic plan

  • Loading branch information...
1 parent 91b8c78 commit defdcac4d31b6cdfc3100f76177388c256f952f6 @bricef committed Apr 14, 2012
Showing with 35 additions and 0 deletions.
  1. +35 −0 README.md
  2. 0 assemble.py
  3. 0 astify.py
  4. 0 compile.py
  5. 0 tokenize.py
View
@@ -3,4 +3,39 @@ 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]
+ (+ x y))
View
No changes.
View
No changes.
View
No changes.
View
No changes.

0 comments on commit defdcac

Please sign in to comment.