NOP0 / rustmatic

PLC programming in Rust!
Apache License 2.0
35 stars 2 forks source link

IEC Hex and binary literals #20

Closed NOP0 closed 4 years ago

NOP0 commented 4 years ago

IEC hex is 16#AA. IEC binary is 2#1111_1111.

Not the usual 0x, 0b.

No worries, I'll fix this. Just tracking it.

Michael-F-Bryan commented 4 years ago

Thanks for picking that up. I may or may not have copied number parsing straight from huia 😅

NOP0 commented 4 years ago

Lol, it's suspiciously similar :wink: