Nick Sabalausky:

>Please do, I'm curious.<

It's a handy syntax to define a pattern (like a regular expression, with bit 
sizes and more) and to define, mix, merge, pack and unpack bytes and bits from 
binary data or from local variables, strings, etc. In the end it's nothing 
esoteric, that's why I have said it may be possible to implement part of that 
syntax with a D string mixin.

See:
http://www.erlang.org/documentation/doc-5.4.12/doc/programming_examples/bit_syntax.html

Such Erlang syntax is well known, I presume Erlang programs need to perform 
often those operations.

Bye,
bearophile

Reply via email to