Comment on A quick intro to writing a parser with TreetopparentComments−febeling15yIn 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.−aarongoughOP15yI 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!
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!