Re:Parse, Don’t Validate
by breck on Thursday November 07, 2019 @06:41PM
(#21478611)
I currently use this in my language "Grammar" (https://jtree.treenotation.org/designer/#standard%20grammar). In Grammar you can currently define two things: cellTypes and nodeTypes. Grammar looks at the suffix to determine the type. So if you are building a language with the concept of a person node and an age cell, you'd write "personNode" and "ageCell". "ageCell" might extend "intCell". I've found it a pleasure to use.
[ Parent
| on HN ]
There are no comments on this comment yet.