a1692214f6
Fixed *ARGV*
...
Arguments are now srings (were symbols previously)
2025-07-23 09:55:21 +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
78dee9c848
Added some definition to core
...
- "=" operator (for almost any type)
- "prn" function
- "list" and "list?"
- "empty" and "count"
Signed-off-by: teo3300 <matteo.rogora@live.it >
2023-11-21 23:09:39 +09:00
136ef726f3
Functional programming goes brr
...
- reduced some indentation
Signed-off-by: teo3300 <matteo.rogora@live.it >
2023-11-17 22:15:38 +09:00
3c5b03a2a8
Cleaned code
...
- removed dereferences
- help function only provide info for the first symbol
Signed-off-by: teo3300 <matteo.rogora@live.it >
2023-11-15 17:42:23 +09:00
f240d31f27
Created core file
...
- keep core functions in a different file
- I can return custom values UwU
Signed-off-by: teo3300 <matteo.rogora@live.it >
2023-11-14 20:55:28 +09:00
0cca2f2b9b
Improved read
...
- no need to parse the input multiple times
- read function is more clean
Signed-off-by: teo3300 <matteo.rogora@live.it >
2023-11-14 10:29:39 +09:00
a3d402fed2
Improved file loading and repl
...
- multiple line instruction
- multiple intstruction line
Signed-off-by: teo3300 <matteo.rogora@live.it >
2023-11-13 22:08:55 +09:00
6e45205904
Small fixino
...
Signed-off-by: teo3300 <matteo.rogora@live.it >
2023-10-25 15:52:13 +09:00
21a7c9e695
Implementing side-stuff
...
- Added error severity, mainly to distinguish between READ and EVAL
errors, can be later expanded to allow other distinction
- Improved repl using the above function (EVAL errors interrupts the
repl right away, without the need to double-return)
- Added an helper function to provide infos about builtin and composed
functions
- Possibility to pass files as arguments to setup the environment
Signed-off-by: teo3300 <matteo.rogora@live.it >
2023-10-25 15:31:44 +09:00