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
|
6abe9dff73
Having some little problems with if stmts
|
10 年之前 |
Joseph Adams
|
cccf886ea8
Reorganized files in generator.
|
10 年之前 |
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
|
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
|
5f1273c174
Function calling seems to work now, though there are no builtins so anything is a function
|
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
|
b0208a362c
Tried out different styles of argument/function call stuff.
|
10 年之前 |