Alex@programming.devtoRust Programming@lemmy.ml•Untwine - the pattern-matching parsing library capable of a 12 line JSON parser with pretty errors
0·
5 months agoLooking to example code in the README I have to say that it is neat! ❤️🔥
But know what? Could be awesome to support char-literals in the parser!
macro. Currently in that example str-literals used as single-char strings.
I mean this for example:
num: num=<"-"? '0'-'9'+ …
Why there dash is str but not a char? Also what about escapes, unicode sequences and binary literals?
this