[ragel-users] Using Ragel to parse a binary message (WebSocket)

Bob Paddock graceindustries at gmail.com
Mon Aug 15 08:54:28 PDT 2011


On Mon, Aug 15, 2011 at 11:32 AM, Iñaki Baz Castillo <ibc at aliax.net> wrote:
> Hi, I do know that Ragel cannot parse bits but just bytes.

The language Erlang will do pattern matching at the bit level.
That certainly would be a nice addition to Ragel for using it in
Embedded Systems work.

> maybe is it possible to use it for a binary packet format as WebSocket
> frames as defined in:

This of any help?:

http://www.zedshaw.com/essays/ragel_state_charts.html



More information about the ragel-users mailing list