Dirk Loss
Dirk Loss
The [JSON Lines](https://jsonlines.org) text format (aka JSONL or newline-delimited JSON) has one JSON object per line. It's often used for structured log files or as a well-specified alternative to CSV....
Setting the bitorder globally for the module apparently has no effect: ``` # cat mini.spicy module Mini; %bitorder=Spicy::BitOrder::MSB0; export type Test = unit { bits : bitfield(8) { b0: 0;...
``` # cat mini.spicy module Mini; export type Test = unit { b : uint8; }; # printf "\xFE" | spicy-dump mini.spicy < b=-2 > ``` Correct would be b=254...
``` module Mini; export type AItem = unit { a : uint16; a_list : list &count=self.a; }; type BItem = unit(f: AItem) { b : uint16; b_list : list &count=self.b;...
``` # btest -d spicy/unit/wrong-id.spicy [ 66%] spicy.unit.wrong-id-3 ... failed % 'btest-diff output' failed unexpectedly (exit code 1) % cat .diag == File =============================== : internal error, $$ not bound...
``` # btest -d spicy/double/parse.spicy [ 0%] spicy.double.parse ... failed % 'btest-diff output' failed unexpectedly (exit code 1) % cat .diag == File =============================== == Diff =============================== --- /tmp/test-diff.2422.output.baseline.tmp 2017-01-13...
The hilti/tuple/wrong-index unit test fails because of a segmentation fault: ``` # btest -d hilti/tuple/wrong-index.hlt [ 33%] hilti.tuple.wrong-index-2 ... failed % 'btest-diff output' failed unexpectedly (exit code 1) % cat...
Declaring a function after the unit that it's used in results in a compilation error: ``` # cat mini.spicy module Mini; export type MyUnit = unit { field : bytes...
``` module Mini; export type MyUnit = unit { interfaces : list; }; ``` ``` # spicyc mini.spicy Segmentation fault ``` ``` # spicy-config --version Spicy 0.5 ``` ``` #...