liquidex
b059ef4c35
fix broken with_dotter_identity test
...
probably broke after evaluation style changes
2024-10-23 21:52:36 +02:00
liquidex
5b7d9586ea
introduce tags, structs, and reticles
...
this was meant to be split into smaller changes, but I realised I edited my existing revision too late.
2024-10-22 21:39:04 +02:00
liquidex
39989e555a
fix SetLocal not taking into account the stack bottom
...
y'know, when you look for locals relative to the call frame's bottom, but then set locals relative to index 0...
boom.
closes #78
2024-09-02 21:39:04 +02:00
liquidex
084012d65f
parser debugging utilities + fixed paren sometimes producing unbalanced events
...
parser events now have a `from` field which has the source location of where the event was emitted.
this location is pretty-printed when using `Debug`
2024-09-01 10:03:21 +02:00
liquidex
2595bf0d82
syntax v2
...
introduce a new, more ergonomic syntax for haku
not all features are implemented just yet. still missing:
- custom tags (non-True/False)
- color literals
- lists
2024-09-01 09:29:11 +02:00
liquidex
6c88a041ea
add SourceCode wrapping str for enforcing source code length limits at parsing boundaries
...
I'm actually quite happy with this API design. a little zero-cost wrapper that makes you _think_ when you need to think.
2024-08-22 20:49:16 +02:00
liquidex
3913254215
fix updated defs not being applied properly to VM in frontend and backend
...
this fixes the case where
(def botsbuildbots (fn () (botsbuildbots))) (botsbuildbots)
would not run properly (return with a "set def index out of bounds" error)
also make exceptions store String instead of &'static str for better error reporting
closes #33
2024-08-22 20:27:18 +02:00
liquidex
50094c3872
add lists & VM memory limits
2024-08-21 21:11:22 +02:00
liquidex
caec0b8ac9
initial commit
2024-08-10 23:10:22 +02:00