Block a user
Improve parser errors on extra exprs/tokens on line
Comment on last line of file causes scanner to die
String patterns
Implemented in 5deab18356. Not closing yet for to do more testing. At current, the following works as expected:
match "You are the eggman" with {
"I {verb} the {noun}" -> (verb, noun)
…
5deab18356
string patterns should now be working
014da297d0
more cleanup still
88aaf864ab
more cleanup
WASM: wire it up!
Okay. I figured out how to do this, more or less.
Zig is great, but its build system is very powerful, very complicated and seriously under-documented.
(See, e.g., https://ziggit.dev/t/buildi…
95054ef234
add match exprs
41cd39df2e
check + compile string patterns; some cleanup, some messes still
32cf7d6cc4
add expr to match to matchh
b5d23b26ec
ensure :errors is always a tuple or array, never nil; allows (empty? (scanner :errors)) to work as a test for errors
5fbafbac94
make progress: many things
ec43aa3c67
accept newlines after arrows in fn clauses; make some asts mutable for validation
3225ea2472
improve pkg
67cd9d479b
keywords must start with lower case