Commit graph

10 commits

Author SHA1 Message Date
01d4514a65 beginning of haku2: a reimplementation of haku in Zig
the goal is to rewrite haku completely, starting with the VM---because it was the most obvious point of improvement
the reason is because Rust is kinda too verbose for low level stuff like this. compare the line numbers between haku1 and haku2's VM and how verbose those lines are, and it's kind of an insane difference
it also feels like Zig's compilation model can work better for small wasm binary sizes

and of course, I also just wanted an excuse to try out Zig :3
2025-06-01 23:19:05 +02:00
65645f410f additional list functions (range, map, filter, reduce, flatten) (#74)
also make the VM cope with reentrancy
2025-05-27 22:25:29 +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
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