json parser in ragel

Arne Goedeke la... at laramies.com
Thu Feb 8 10:43:11 UTC 2007


On Feb 8, 12:23 am, Adrian Thurston <thurs... at cs.queensu.ca> wrote:
> Question for you: If you had a dynamically-sized stack for fcall/fret
> would you have used that mechanism? Or would you still have prefered to
> separate the parser out into different functions?

Well, I probably would in case I do not need to create recursive data
structures along the way to store all things I already parsed. Not
sure, maybe the dynamically sized stack could keep arbitrary data too.

arne



More information about the ragel-users mailing list