[ragel-users] is this possible?

Adrian Thurston thurs... at cs.queensu.ca
Thu Aug 30 20:41:33 UTC 2007


Yes you can do this kind of thing with Ragel. Patterns can be specified
using hexadecimal or decimal numbers. Also, you could choose to chain
machines together, or depending on what it is you need to parse you
could do all the parsing with one machine.


iceman wrote:
> hi all,
> i came to know about ragel recently.i would like to know whether it is
> possible to do the following using ragel..
> i would like to parse packets[bit patterns] and get out token which
> represent the function..this should be passed to the state machine..
> in the state machine depending upon the state and  the token a
> particular action should take place depending on the token..
> i would like to know whether this particular action can be done by the
> parser in ragel..
> thanks inadvance
> jag
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups "ragel-users" group.
> To post to this group, send email to ragel-users at googlegroups.com
> To unsubscribe from this group, send email to ragel-users-unsubscribe at googlegroups.com
> For more options, visit this group at http://groups.google.com/group/ragel-users?hl=en
> -~----------~----~----~----~------~----~------~--~---

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20070830/e6e62c67/attachment-0001.sig>

More information about the ragel-users mailing list