[ragel] Binary data and bits

Adrian Thurston thurston at colm.net
Fri Sep 29 20:08:48 UTC 2017


Hi Sothy, you need to specify the grammar at the byte level. You can
union bit patterns together, however. 

On 2017-09-27 15:35, sothy shan wrote: 

> Hi, I need to parse 4 bytes of data and some bits of data has valid information. How can I go with Ragel? I am going to use Ragel with C++.
> Best regards Sothy
> _______________________________________________
> ragel mailing list
> ragel at colm.net
> http://www.colm.net/cgi-bin/mailman/listinfo/ragel [1]

[1] http://www.colm.net/cgi-bin/mailman/listinfo/ragel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20170929/05572b1f/attachment-0002.html>

More information about the ragel-users mailing list