From 037494350f1786d869921edc11930307342016af Mon Sep 17 00:00:00 2001 From: anon Date: Thu, 12 Sep 2024 22:41:42 +0200 Subject: [PATCH] on named field queries and error handing --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index c01e994..d2c0212 100644 --- a/README.md +++ b/README.md @@ -75,4 +75,16 @@ enter a b { <...> } enter leave a { <...> } // In node type blobbing should probably be allowed, however regex sounds like overkill + +/* A query language should also exist + * $0-> + * Where 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. + */ ```