Commit graph

20 commits

Author SHA1 Message Date
954308b29f
static type analysis, formatted compiler errors, hex support, composite types, updated cli, more global builtins, fix list form, fix value refs 2025-03-18 20:22:46 +01:00
84cc845748
Basic type system working 2025-03-16 22:46:49 +01:00
3f260e7ffd
Improve code quality 2025-03-16 21:16:12 +01:00
5edad332cd
Fix values 2025-03-16 21:03:17 +01:00
40a538b73d
Add test for func 2025-03-10 16:24:07 +01:00
634a4a2b61
Add importing, lists and objects, and add basic functions (global and on values) 2025-03-10 16:23:16 +01:00
8d9138479d
Reduce automated stack benchmarks 2025-01-03 22:55:57 +01:00
2e48fbde28
Fix And and Or instructions behaviour 2025-01-03 22:35:40 +01:00
c170f0c0c6
Allow else-if statements 2025-01-03 22:35:13 +01:00
0ab370b8e4
Allow else-if statements 2025-01-03 22:35:05 +01:00
2c548c83aa
Update go.sum 2024-12-29 21:07:50 +01:00
4b803100ef
Fix resuming scope after returning from a called function 2024-12-29 21:07:44 +01:00
ce72ea6c47
Fix parsing multiple arguments 2024-12-29 21:07:23 +01:00
cedad9d472
Allow for functions to be called after a variable is pushed to the stack 2024-12-29 18:23:10 +01:00
6b90cc488e
Make parser send error upwards instead of panicing 2024-12-29 14:49:31 +01:00
402644d219
Treat source as runes to allow for unicode characters (e.g. greek, japanese) 2024-12-28 17:16:56 +01:00
74bf43d387
Create tokens from runes to allow unicode characters (e.g. greek, chinese) 2024-12-28 17:04:30 +01:00
e1f438edbe
Fix parser formatting missing newline 2024-12-28 17:03:59 +01:00
61686b8b43
Add cli go.sum 2024-12-13 11:34:57 +01:00
62656c6dff
separate core from cli into submodules, add support for boolean and and or operations, make more fields public, fix passing arguments to functions 2024-12-13 11:33:47 +01:00