Hacker News new | past | comments | ask | show | jobs | submit login

Over half of those lines are a hand written lexer. The grammar is basically useless without the lexer, which is very complex, full of weird corner cases, and changes version by version.

And much of it, in both the lexer and the grammar rules, is very heavily tied into MRI internals.




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

Search: