Along the way I solved several bugs and added some unit tests.
Support negative literals.
Allow (quoted) double-quote character in strings
Add testing for unary length (and clarify the operator's semantics)
Debugger: print sets correctly
Fix missing error check
Since this is a very large PR, I suggest to review it commit by commit.
Also, since it still doesn't implement all of the v4 format, please merge it into a separate branch for now.
Lastly, just like #142, this implementation does not minimize the version number when serializing. I need your help in understanding the relevant code.
This PR implements several v4 format features:
Along the way I solved several bugs and added some unit tests.
Since this is a very large PR, I suggest to review it commit by commit.
Also, since it still doesn't implement all of the v4 format, please merge it into a separate branch for now.
Lastly, just like #142, this implementation does not minimize the version number when serializing. I need your help in understanding the relevant code.