aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-07-30Implemented evaluation according to tests. Quite a bit of changes were ↵Joel Kronqvist
required, see rest of commit message. SExp::Quote was added to let the interpreter know whether a list should be evaluated or treated as a literal list. It still needs code to be added for parsing it successfully. Some utility functions were needed: * SExp::is_value * SExp::consists_of_values * SExp::into_vec
2025-07-29Added Nil and modified tests to make this more of a list interpreter rather ↵Joel Kronqvist
than just a do-what-you-want-with-s-expressions thing
2025-07-27Implemented tokenize with tests - note it doesn't check syntaxJoel Kronqvist
2025-07-27Implemented parse_tokenJoel Kronqvist
2025-07-27Created parse_token and added tests for itJoel Kronqvist
2025-07-26Implemented substitutionJoel Kronqvist
2025-07-26Added variables and tests for their substitutionJoel Kronqvist
2025-07-26Implemented integer operator dynamics, fixed some tests and added a ↵Joel Kronqvist
combination test.
2025-07-26Created necessary data structures and utilities for integers and their ↵Joel Kronqvist
operations; added tests for them
2025-07-26Initialized project and added nom as dependencyJoel Kronqvist