Commit Graph

17 Commits

Author SHA1 Message Date
fb2aabbcef Adding atom tests and makefile 2024-06-17 01:02:27 +09:00
97f1bd8d82 Adding car and cdr functions 2024-05-24 18:43:43 +09:00
0ec8923abc Adding some info functions and tests 2024-04-16 09:35:35 +09:00
74a8ae0d5e Moving history path in mal 2024-01-27 18:38:41 +09:00
d8f431b739 Moving String to MalStr (Rc<str>)
Because someone, somewhere, said that's better

Signed-off-by: teo3300 <matteo.rogora@live.it>
2024-01-26 01:20:34 +09:00
7448091fdb Moving forms tests inside mal
Signed-off-by: teo3300 <matteo.rogora@live.it>
2024-01-25 22:39:39 +09:00
d16f93c153 Fixing function call
Previously only returned last element of ast, without evaluating other
elements
recursive env_get is now iterative

Signed-off-by: teo3300 <matteo.rogora@live.it>
2024-01-25 22:36:50 +09:00
92e442b93d Redefining most of the arithmetic symbols using lisp
Pfft, I don't need math, I only need -, < and =

Signed-off-by: teo3300 <matteo.rogora@live.it>
2024-01-18 18:37:49 +09:00
d8c045a5eb Moving even more stuff out of the rust core
Signed-off-by: teo3300 <matteo.rogora@live.it>
2024-01-18 13:42:41 +09:00
5648ff7709 Moving a whole bunch of stuff in lisp
Signed-off-by: teo3300 <matteo.rogora@live.it>
2024-01-17 20:58:25 +09:00
18ca7ddbdf Adding quotation, semiquote macro and env access
Signed-off-by: teo3300 <matteo.rogora@live.it>
2024-01-17 16:36:18 +09:00
e6924d42b4 Adding helper functions
- improved 'help'
- added 'find'
- using clojure syntax for function arguments

Signed-off-by: teo3300 <matteo.rogora@live.it>
2023-12-29 11:01:12 +09:00
0b47444836 Applied step 5 TCO
- Some tests disabled for incompatibility
- next step is to restore those tests, as well as a whole "eval" test
2023-12-21 19:25:24 +09:00
816a09504a Other tests
Lotta tests in
- eval
- functional tests

Signed-off-by: teo3300 <matteo.rogora@live.it>
2023-12-06 11:35:55 +09:00
83e45334a5 Adding tests
- functional tests
- more tests
- tests tests tests

Signed-off-by: teo3300 <matteo.rogora@live.it>
2023-11-26 19:48:54 +09:00
1f47c9f57e Added some other tests
- builtin eq test
- load_file return resul

Signed-off-by: teo3300 <matteo.rogora@live.it>
2023-11-25 22:29:06 +09:00
0cbfaaafec Some more tests
- Added hook pre-commit
- Added some reader tests
- Added some eval tests
- Added functional tests

Signed-off-by: teo3300 <matteo.rogora@live.it>
2023-11-25 20:30:21 +09:00