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 |
Riyyi
|
58584f5bba
|
Everywhere: Initial implementation of step3
|
2 years ago |
Riyyi
|
f4e388716d
|
Meta: Improve formatting
|
2 years ago |
Riyyi
|
aba70beeb3
|
Main+Readline: Do not leak history path std::string_view
|
2 years ago |
Riyyi
|
9bbf238c34
|
Everywhere: Put ASTNodes into a smart pointer
|
2 years ago |
Riyyi
|
441fdc0564
|
Main: Fix history path option
|
2 years ago |
Riyyi
|
d772495f1a
|
Printer: Return string instead of printing directly
|
2 years ago |
Riyyi
|
cc735a7a11
|
Eval: Fix mal test
The quote in the error message broke the step2 test.
|
2 years ago |
Riyyi
|
a92eede277
|
Main: Use GNU Readline library as the line editor
|
2 years ago |
Riyyi
|
9fa6314378
|
Reader: Improve error reporting
|
2 years ago |
Riyyi
|
9271b9fe01
|
Meta: Add to-dos
|
2 years ago |
Riyyi
|
6c12b199e8
|
Eval: Add error message for invalid function calls
|
2 years ago |
Riyyi
|
17fddc1cf4
|
Printer: Fix HashMap printing spacing
|
2 years ago |
Riyyi
|
c6ea42bc5d
|
Everywhere: Pass step2 tests by supporting hash-maps
|
2 years ago |