소스 검색

Create README.md

Matt Coles 9 년 전
부모
커밋
d4d04be185
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      README.md

+ 9 - 0
README.md

@@ -0,0 +1,9 @@
1
+# babys-first-compiler
2
+
3
+A basic compiler based off of @thejameskyle's super-tiny-compiler, compiles a simple LISP-esque syntax into runnable JS.
4
+
5
+Currently supports a few built-ins, `add`, `subtract`, `assign` and `log`. Hopefully these are self-explanatory, or at least 
6
+they should be from `example.mc`.
7
+
8
+The compiler runs like `node compiler.js file.mc` where `file.mc` is the file you wish to compile, and this will produce an
9
+`output.js` which requires `stdlib.js` to be in the same directory when running for now at least.