Skip to content

Comment on A quick intro to writing a parser with Treetopparent

Comments

In fact, you're right, it doesn't necessarily write a source file. I missed that last time when I looked. But Treetop will still create ruby code, write it into a string and then eval that. I didn't find that approach really elegant.

I do agree to an extent. I'd be interested to see if Citrus is faster... I'll write up a test in a week or two and we shall see!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.