[ragel-users] One question.
Adrian Thurston
thurston at complang.org
Thu Apr 7 21:39:10 UTC 2011
I will normally go for my own, Kelbt :) But if I need something that is
typically installed almost everywhere and known to other devs, I will
use bison.
On 04/07/2011 02:19 PM, Vladimir VG wrote:
> On 04/07/2011 11:22 PM, Adrian Thurston wrote:
>
> Yes, I understand. I do it exactly with fret/fcall. Here some working
> sample:
> https://github.com/vladimir-vg/alonzo_prototype/blob/master/parser/parser.rl
>
>
> > ragel might not be the right tool for the job.
>
> Can you list some right tools for programming languages parsing?
>
>> To expand on this a bit ... it is entirely up to the user to manage
>> the stack allocation. Ragel's support for recursive structures
>> (fcall/fret) is an extension to the basic model, which is pure state
>> machine (not a PDA). If you find you have a lot recursion in what you
>> need to parse, you should consider that ragel might not be the right
>> tool for the job.
>>
>> Regards
>>
>
>
> _______________________________________________
> ragel-users mailing list
> ragel-users at complang.org
> http://www.complang.org/mailman/listinfo/ragel-users
--
Adrian D. Thurston
http://www.complang.org/thurston/
_______________________________________________
ragel-users mailing list
ragel-users at complang.org
http://www.complang.org/mailman/listinfo/ragel-users
More information about the ragel-users
mailing list