zksecurity / noname

Noname: a programming language to write zkapps
https://zksecurity.github.io/noname/
161 stars 35 forks source link

Hex literals don't work #121

Closed MartinOndejka closed 1 month ago

MartinOndejka commented 1 month ago

Lexer creates the Hex literal token (instead of creating BigInt token) and parser doesn't handle it at all.

Solution

Get rid of the hex token and return the BigInt token right away