Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: