lurk-lab/lurk-beta

Parse Error when input is larger than field

Closed this issue · 1 comments

Lurk appears to produce a parse error when presented with input that needs to be reduced. For example, the following should return 0:

commit: 2024-02-13 1d4d308e2bc12f5ab431ea210c0b722f9eb31825
Lurk REPL welcomes you.
user> -1
[1 iteration] => 0x30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000000
user> 0x30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000000
[1 iteration] => 0x30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000000
user> 0x30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001
Read error: Syntax error: Parsing Error: ParseError { input: LocatedSpan { offset: 66, line: 1, fragment: "", extra: () }, expected: None, errors: [Nom(Tag)] }
user>

Closed by #1171