lix/tests/functional/lang/parse-fail-utf8.err.exp
pennae 93dc1b1b13 rewrite the parser with pegtl instead of flex/bison
this gives about 20% performance improvements on pure parsing. obviously
it'll be less on full eval, but depending on how much parsing has to be
done (eg whether nixpkgs haskell modules are included or not) it ranges
anywhere from 4% to 10% in our tests.

this has been tested with thousands of core hours of fuzz testing to
ensure that the ASTs produced by the new parser are exactly the same as
the ones produced by the old parser. error messages will
change (sometimes a lot) and are currently not perfect, but we'd rather
leave that open for improvement than having this work rot forever.
2024-02-26 16:41:47 +01:00

6 lines
128 B
Plaintext

error: syntax error, expecting end of file
at «stdin»:1:5:
1| 123 é 4
| ^
2|