Joseph Adams
|
80ffe8e153
Made loop/recur more awesome and added simple asserts
|
10 年之前 |
Joseph Adams
|
9402c857a2
Added loop recur stmts, they sort of look alright!?
|
10 年之前 |
Joseph Adams
|
885ab9c1f2
Added some example programs and a gensym function
|
10 年之前 |
Joseph Adams
|
9369cbde94
Factorial example works all by itself
|
10 年之前 |
Joseph Adams
|
974a718eb4
Adjusted lexer to support (*)
|
10 年之前 |
Joseph Adams
|
3ace5cff16
Added n-ary funcs/ellipses with ampersand
|
10 年之前 |
Joseph Adams
|
0e3517d28f
Added missing return stmts
|
10 年之前 |
Joseph Adams
|
5419c5a23d
Added functions for basic comparison operators
|
10 年之前 |
Joseph Adams
|
01e8e5755a
Added && and || to binary operators
|
10 年之前 |
Joseph Adams
|
c5851a1817
Added support for comparison operators, but they don't work on Any type.
|
10 年之前 |
Joseph Adams
|
ce0b962e9b
Implemented operators
|
10 年之前 |
Joseph Adams
|
91bcffc627
Added working if stmts.
|
10 年之前 |
Joseph Adams
|
6d35257155
Added further func call example. Doesn't work as I hoped, so need to think of something new.
|
10 年之前 |
Joseph Adams
|
d3ee98e08c
Refactoring code. (part 2). Code generation works (unstable) now.
|
10 年之前 |
Joseph Adams
|
0f90c8bd25
Code generation working, just about. Now need to implement control structures and some other stuff.
|
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
|
79d9821015
Now funcs always return last Expr + Ive tested a bit of generated code: and it works
|
10 年之前 |
Joseph Adams
|
e66baa76e9
Woohoo fn function works and generates desired output
|
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 年之前 |