Commit Graph
27 Commits
Author SHA1 Message Date
Riyyi 082a029957 AST+Eval: Provide convenient constructor for Collection 2023-04-09 21:54:01 +02:00
Riyyi 80e0437a5c Main+Eval+AST: Implement step7 2023-04-09 11:48:51 +02:00
Riyyi b9feb8e8b6 Everywhere: Rename Value -> Constant, ASTNode -> Value 2023-04-07 23:38:41 +02:00
Riyyi 9b14ea974a AST: Make parent type for Function and Lambda 2023-04-07 23:38:41 +02:00
Riyyi 835669c4eb AST: Add Atom data type 2023-04-07 23:38:41 +02:00
Riyyi 3d5a2e3fbe AST: Make fastIf functions private 2023-04-07 23:38:41 +02:00
Riyyi 03918b036d AST: Rename function addElement -> add 2023-04-07 23:38:41 +02:00
Riyyi 5f49f08eea AST: Make more const 2023-04-07 23:38:41 +02:00
Riyyi 826af24561 Main+Env+Printer: Remove the GlobalEnvironment subclass 2023-04-02 21:06:32 +02:00
Riyyi c53c0af5a2 Everywhere: Rename addNode and addError functions -> add 2023-04-02 15:30:26 +02:00
Riyyi 30b120befc Eval+Env: Improve logic sharing between List and Vector 2023-04-02 12:12:33 +02:00
Riyyi a60859acc4 Eval+Env: Add support for lambdas 2023-04-01 23:37:45 +02:00
Riyyi 35a32678d0 Everywhere: Convert List and Vector to an std::list<> datatype 2023-03-28 22:13:41 +02:00
Riyyi de2a207fcb AST: Reorder classes 2023-03-28 20:17:03 +02:00
Riyyi 9c1c5114a9 Env: Add equal function 2023-03-28 20:15:38 +02:00
Riyyi 424bbcc834 Everywhere: Add support for nil, true, false data types 2023-03-26 22:38:53 +02:00
Riyyi f4e388716d Meta: Improve formatting 2023-03-26 14:56:25 +02:00
Riyyi 9bbf238c34 Everywhere: Put ASTNodes into a smart pointer 2023-03-25 21:35:17 +01:00
Riyyi c6ea42bc5d Everywhere: Pass step2 tests by supporting hash-maps 2023-03-24 22:28:31 +01:00
Riyyi 5c5a766b7e Reader+Printer: Reorder tokens 2023-03-24 21:51:11 +01:00
Riyyi da0b0a91a6 Everywhere: Start implementation of step2 2023-03-24 21:46:01 +01:00
Riyyi b51a3bf15b AST: Add ruc::Formatter for ASTNodes 2023-03-24 21:46:01 +01:00
Riyyi 27e584ea84 Everywhere: Add Keyword parsing 2023-03-24 21:46:01 +01:00
Riyyi 94dcd4c50e Everywhere: Pass step1 tests by supporting more Tokens in the Reader 2023-03-20 18:11:37 +01:00
Riyyi 9816bb3de2 Everywhere: Add Error class for generic error reporting
The Lexer can now also report errors.
2023-03-19 15:06:27 +01:00
Riyyi b604d7ddb5 AST: Add error node 2023-03-19 12:04:48 +01:00
Riyyi 46e037e39e Lisp: Add source 2023-03-18 23:31:59 +01:00