CoffeeTableEspresso
CoffeeTableEspresso
We'd need a way for the object to be serialized and deserialized. This would only be supported via the C API, not from YASL.
For many types, these could defer to `type.tostr`, for example booleans and ints.
Stuff like the following should be allowed: ``` match dir { "forward #{let v}" { pos += v->toint() } ... } ``` As well as glob like syntax: - `*`...
The best way to do this is probably to use `"..."` for the patterns described here, and `'...'` for the literal strings that exist already.
Also consider using alternate syntax here: `_` vs `?`, `%` vs `*`, and `!` vs `^`.
Before merging, decide: Is this even needed? Or this such a niche thing that it doesn't need dedicated syntax?
Done except for tests
This creates problems with the related syntax `obj[a, b] = val`. We need to be able to pass a variable number of arguments to `[]=` as the key, but we...
Technically a breaking change.