e2f9538156
haku: add len
and index
functions for reading lists
2024-10-25 23:22:06 +02:00
37c575748b
add support for vectors as operands to math operations
2024-10-22 21:58:32 +02:00
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
4430d6d125
add documentation for new math functions
2024-09-07 15:39:54 +02:00
4bf3d685b8
add libm math functions to haku
2024-09-07 14:33:20 +02:00
ef1e35fcf0
remove redundant arity checking code from system functions, update error messages
...
the arity of unary and binary ops is guaranteed by the fact they're, well, unary and binary ops.
right now there's no way to call them with less or more arguments, so we may as well.
2024-09-01 19:15:58 +02:00
d1a6fb364e
fix more syntax v2 bugs, update docs
2024-09-01 18:55:16 +02:00
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
ccab723298
fill scribble
2024-08-22 17:50:39 +02:00
7933057062
add rectangle and circle shapes
2024-08-21 22:07:59 +02:00
50094c3872
add lists & VM memory limits
2024-08-21 21:11:22 +02:00
26ba098183
a whole load of work in progress
2024-08-15 20:01:10 +02:00
caec0b8ac9
initial commit
2024-08-10 23:10:22 +02:00