Closed japanoise closed 5 years ago
Sure; this isn't too difficult. Just add an SexpUint64 to match the SexpInt everywhere; see https://github.com/glycerine/zygomys/blob/master/zygo/expressions.go#L72 for the definition of SexpInt.
You'll need to add this yourself. But I'm happy to review and merge a PR. You'll need a testfile under tests/uint.zy.
@japanoise The latest releases, v5.0.9 and v5.1.0, have uint64 support. See the tests/uint64.zy file for examples. ( https://github.com/glycerine/zygomys/blob/master/tests/uint64.zy )
Try this out and let me know if there's anything significant missing to make it usable.
Closing this as now implemented. Feel free to open a new issue for any refinements.
Thank you for the quick turnaround!
I'd like to use Zygomys for my assembler project. I notice that it's documented to only use signed
int64
s; it'd be useful if I could use unsigned integers in some way, preferably asuint64
s.