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

The readability is something you can get with a simple builder over regexes. Emacs has rx, as an example.

Getting back a parse tree, though, is a huge step. I've always been surprised that there isn't a bnf language that lets you write the grammar and get back an instance of it from a string. Yacc, I suppose, is what I'm asking for. Feels off, though.



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

Search: