Joseph Adams
|
0f90c8bd25
Code generation working, just about. Now need to implement control structures and some other stuff.
|
10 年之前 |
Joseph Adams
|
7c2e0f7853
Imports work now with ns func and :as style import
|
10 年之前 |
Joseph Adams
|
087adf5229
Added let bindings generation
|
10 年之前 |
Joseph Adams
|
79019702dd
Seperated Go AST generator out into new package. generator.EvalExpr/s works (seems to anyway) now. Going to extend the generator now. P.S. What am I going to do about MACROS?!
|
10 年之前 |
Joseph Adams
|
cd1a11b44a
Added more parser functionality. Refactored lexNumber. Gisp AST, when printed, will reprint input.
|
10 年之前 |
Joseph Adams
|
d399ba7efb
Seperated out parser into own package. Go fmt'ed all files. Won't work with the current generate AST, mainly because the parser doesn't really parse.
|
10 年之前 |
Joseph Adams
|
af50fd1a0b
Now lexer works, I think. Going to seperate out parser next
|
10 年之前 |
Joseph Adams
|
d98881086e
Moved lexer to seperate package
|
10 年之前 |
Joseph Adams
|
9ea84fa376
Starting to update lexer & parser to new Interface based structure. Doesn't compile at the moment though
|
10 年之前 |
Joseph Adams
|
8bb28d7b83
Added some stuff for vectors alias slices in Go
|
10 年之前 |
Joseph Adams
|
0a91549905
Added boolean data type, well actually removed but added. Added Float values.
|
10 年之前 |
Joseph Adams
|
0f24ef5cd8
Reenabled REPL to print out Go code! YEAH
|
10 年之前 |
Joseph Adams
|
79d9821015
Now funcs always return last Expr + Ive tested a bit of generated code: and it works
|
10 年之前 |
Joseph Adams
|
e39e73d36a
Added ast token type for parser, string literals now correctly translated to go
|
10 年之前 |
Joseph Adams
|
d23b45be56
Code generation going on well, can now generate Go from lisp, without any calls in the lisp
|
10 年之前 |
Joseph Adams
|
c63d21b786
Still need to clean this up, basic code generation (sort of) working.
|
10 年之前 |
Joseph Adams
|
1405c9394f
First steps towards generating gisp AST
|
10 年之前 |
Joseph Adams
|
dcb4a1b317
First play around with Go AST
|
11 年之前 |
Joseph Adams
|
550a61a6c7
Added macros (that work) + more builtins and prelude with some asserts inside.
|
11 年之前 |
Joseph Adams
|
0a26f3b3af
now all special quoting syntax works (, ,@)
|
11 年之前 |
Joseph Adams
|
033c8d5273
now quoting works
|
11 年之前 |
Joseph Adams
|
f53a560342
initial commit
|
11 年之前 |