Commit graph

5 commits

Author SHA1 Message Date
b52c1b26c9 overhaul operator precedence
arithmetic operators now have the same precedence.
if you want them to bind tighter, you remove the spaces around them:

- 2 + 2 * 2 = 8
- 2 + 2*2 = 6
2025-09-01 22:43:41 +02:00
b9a161d474 make it possible to use the characters ' and ? anywhere in identifiers
closes #129
2025-09-01 17:18:29 +02:00
9de4a8aecd replace def = value with def: value, and let a = b with a = b
in the name of terseness

i'm also slipping in a new brush preset that i made

closes #125
2025-07-01 00:56:27 +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