Riyyi
|
fa79f1296a
|
Main: Fix extra newline on empty input in readline
|
2 years ago |
Riyyi
|
bb4ccc5822
|
Everywhere: Implement step9 try/catch
|
2 years ago |
Riyyi
|
8aa540c4e5
|
Env: Core function (get) should work on nil value
|
2 years ago |
Riyyi
|
e09f168d4f
|
AST: HashMap inserts should overwrite existing keys
|
2 years ago |
Riyyi
|
6980d28b36
|
Main: Add step9 file
|
2 years ago |
Riyyi
|
2a16f5ddf5
|
AST+Env: Add more core functions
|
2 years ago |
Riyyi
|
f89e73d44a
|
AST+Env: Add default constructor to Constant
|
2 years ago |
Riyyi
|
c8b1e6dc81
|
AST+Lexer: Move Keyword prefix character to the constructor
|
2 years ago |
Riyyi
|
c279f9111e
|
Eval: Only need to cast AST once
|
2 years ago |
Riyyi
|
2b260d7b43
|
Everywhere: Implement step8
|
2 years ago |
Riyyi
|
27d6e24243
|
Eval+Env: Make use of macros for duplicate logic
|
2 years ago |
Riyyi
|
b4742ef380
|
Reader: Improve HashMap logic
|
2 years ago |
Riyyi
|
082a029957
|
AST+Eval: Provide convenient constructor for Collection
|
2 years ago |
Riyyi
|
80e0437a5c
|
Main+Eval+AST: Implement step7
|
2 years ago |
Riyyi
|
ba7281b6f1
|
Main: Add ability to run script from the command line, add *ARGV*
|
2 years ago |
Riyyi
|
b9feb8e8b6
|
Everywhere: Rename Value -> Constant, ASTNode -> Value
|
2 years ago |
Riyyi
|
e39862fe9f
|
Meta: Add symlink to pass more tests
|
2 years ago |
Riyyi
|
93af6151fa
|
Env: Add more core functions
|
2 years ago |
Riyyi
|
9b14ea974a
|
AST: Make parent type for Function and Lambda
|
2 years ago |
Riyyi
|
25d6f45329
|
AST: Do not try to store nullptr in a Collection or HashMap
|
2 years ago |
Riyyi
|
835669c4eb
|
AST: Add Atom data type
|
2 years ago |
Riyyi
|
22920cb810
|
Main+Env: Add more native functions
|
2 years ago |
Riyyi
|
3d5a2e3fbe
|
AST: Make fastIf functions private
|
2 years ago |
Riyyi
|
088c5f0248
|
Lexer: Support newline characters in strings
|
2 years ago |
Riyyi
|
03918b036d
|
AST: Rename function addElement -> add
|
2 years ago |
Riyyi
|
5f49f08eea
|
AST: Make more const
|
2 years ago |
Riyyi
|
ed9fa1698e
|
Main: Add step6 .cpp file
|
2 years ago |
Riyyi
|
f35fea9fa4
|
Env: Fix function argument size error message
|
2 years ago |
Riyyi
|
6e1557ff8c
|
Printer: Fix HashMap printing
|
2 years ago |
Riyyi
|
21f0d8fbd8
|
Eval: Move logic from defines back into functions
|
2 years ago |
Riyyi
|
4d3c2a4ca2
|
Eval: Implement tail call optimization (TCO) via stack iteration
|
2 years ago |
Riyyi
|
7c62d65d72
|
Main+Eval: Implement tail call optimization (TCO)
|
2 years ago |
Riyyi
|
f0f4ba45b0
|
Eval: Improve logic sharing between List and Vector
|
2 years ago |
Riyyi
|
826af24561
|
Main+Env+Printer: Remove the GlobalEnvironment subclass
|
2 years ago |
Riyyi
|
c53c0af5a2
|
Everywhere: Rename addNode and addError functions -> add
|
2 years ago |
Riyyi
|
14367fa5a7
|
Eval+Env: Add support for variadic lambda parameters
|
2 years ago |
Riyyi
|
e47b338984
|
Eval: Forward declare List
|
2 years ago |
Riyyi
|
30b120befc
|
Eval+Env: Improve logic sharing between List and Vector
|
2 years ago |
Riyyi
|
90d6ff7d18
|
Printer: Pass along readably flag during recursion
|
2 years ago |
Riyyi
|
a60859acc4
|
Eval+Env: Add support for lambdas
|
2 years ago |
Riyyi
|
1e76d4599a
|
Meta+Env: Fix count on nil value
|
2 years ago |
Riyyi
|
bbced6f487
|
Eval: Add special form "if"
|
2 years ago |
Riyyi
|
38d8daa9d0
|
Eval: Add special form "do"
|
2 years ago |
Riyyi
|
35a32678d0
|
Everywhere: Convert List and Vector to an std::list<> datatype
|
2 years ago |
Riyyi
|
de2a207fcb
|
AST: Reorder classes
|
2 years ago |
Riyyi
|
9c1c5114a9
|
Env: Add equal function
|
2 years ago |
Riyyi
|
c1e4b6c6d1
|
Lexer+Printer: Support string print readably
|
2 years ago |
Riyyi
|
6573ac0b22
|
Env: Add more native functions
|
2 years ago |
Riyyi
|
424bbcc834
|
Everywhere: Add support for nil, true, false data types
|
2 years ago |
Riyyi
|
f132397e15
|
Eval: Improve correctness and error handling
|
2 years ago |