on named field queries and error handing
This commit is contained in:
12
README.md
12
README.md
@ -75,4 +75,16 @@ enter a b { <...> }
|
|||||||
enter leave a { <...> }
|
enter leave a { <...> }
|
||||||
|
|
||||||
// In node type blobbing should probably be allowed, however regex sounds like overkill
|
// In node type blobbing should probably be allowed, however regex sounds like overkill
|
||||||
|
|
||||||
|
/* A query language should also exist
|
||||||
|
* $0-><name>
|
||||||
|
* Where <name> is the named field of the rules node.
|
||||||
|
* The reason something like this could be useful is because
|
||||||
|
* if such queries are performed by hand, they can easily segv if not checked,
|
||||||
|
* however, because of the required checking they are very non-ergonomic.
|
||||||
|
* For error handinding say something this could be employed:
|
||||||
|
* enter a { ; } catch { ; }
|
||||||
|
* Where 'catch' could be implemented as a goto.
|
||||||
|
* I am unsure whether this would be too generic to be useful or not.
|
||||||
|
*/
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user