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

I feel like I'm taking crazy pills. It's not a parser, but a fused parser AND interpreter. This changes the game considerably! It doesn't have to produce an intermediate AST, and therefore can avoid the majority of the allocation that most parsers will perform.

However, avoiding creating the AST is not very realistic for most uses. It's usually needed to perform optimizations, or even just for more complicated languages that have interesting control-flow.



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

Search: