[squeak-dev] BitSyntax for Squeak

Douglas Brebner kirtai+st at gmail.com
Wed Oct 7 14:13:50 UTC 2020


On 07/10/2020 09:30, Tony Garnock-Jones wrote:
> I started off hand-rolling them, but it quickly became too much, so
> borrowing from Erlang, I implemented BitSyntax for Smalltalk:
>
>    https://squeaksource.com/BitSyntax.html
>
> The BitSyntax package includes a `BitSyntaxCompiler` class which
> interprets `BitSyntaxSpecification` objects, producing reasonably
> efficient Smalltalk for decoding and encoding binary structures, mapping
> from bytes to instance variables and back again.


Weird, I was looking into binary parsing tools only yesterday.

Thanks for this :)



More information about the Squeak-dev mailing list