Help needed: binarylang issue

2024-04-06 Thread soarowl
Thanks your respond, I turn to Elixir to write my parsers.

Help needed: binarylang issue

2024-04-05 Thread soarowl
Thanks a lot! I choose -128..127 range to test how compiler and library process those conditions.

Help needed: binarylang issue

2024-04-05 Thread soarowl
Thanks your advice.

Help needed: binarylang issue

2024-04-04 Thread soarowl
Thanks your code. But I need a binary parser/writer which can read/write bit-oriented fields and have big endian or little endian. for ex: those projects. BinaryLang is powerful, just declare a struct, the parser and writer will be auto generated. But i

Help needed: binarylang issue

2024-04-04 Thread soarowl
I have following's code: import binarylang import strformat struct(i7, endian = l, bitEndian = r): u1: flag = 0 7: value block: var sbs = newStringBitStream() for v in -127 .. 127: sbs.seek(0) let data = I7(