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
|
eab4cb60af
Fixed argument printing issue
|
10 年之前 |
Joseph Adams
|
fff438625e
Removed unused nil stuff in parser & generator
|
10 年之前 |
Joseph Adams
|
f01f346a89
added support for vectors alias slices
|
10 年之前 |
Joseph Adams
|
17cbe39b25
removed unused types
|
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
|
11 年之前 |
Joseph Adams
|
79d9821015
Now funcs always return last Expr + Ive tested a bit of generated code: and it works
|
11 年之前 |
Joseph Adams
|
e66baa76e9
Woohoo fn function works and generates desired output
|
11 年之前 |
Joseph Adams
|
e39e73d36a
Added ast token type for parser, string literals now correctly translated to go
|
11 年之前 |
Joseph Adams
|
5f1273c174
Function calling seems to work now, though there are no builtins so anything is a function
|
11 年之前 |
Joseph Adams
|
d23b45be56
Code generation going on well, can now generate Go from lisp, without any calls in the lisp
|
11 年之前 |
Joseph Adams
|
c63d21b786
Still need to clean this up, basic code generation (sort of) working.
|
11 年之前 |
Joseph Adams
|
1405c9394f
First steps towards generating gisp AST
|
11 年之前 |
Joseph Adams
|
b0208a362c
Tried out different styles of argument/function call stuff.
|
11 年之前 |
Joseph Adams
|
dcb4a1b317
First play around with Go AST
|
11 年之前 |
Joseph Adams
|
142a18e3e4
Updated README. Modified lambdas to work as closures.
|
11 年之前 |
Joseph Adams
|
ca8fb0249a
Merge remote-tracking branch 'origin/master'
|
11 年之前 |
Joseph Adams
|
83c6e82d2e
Initial commit
|
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 年之前 |