Optimize size of `Expected<>` in parsers
Opened this issue · 0 comments
chocolacula commented
Create an array with error strings and enum with understandable error constants. Operate enum constants as return value during parsing. On upper level convert enum constant into index, then return understandable error.