You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes ANTLR is shaded with Truffle builds. The version of ANTLR they provide conflicts with the fork Pkl prefers; in particular, the fork uses ANTLR's gencode v3, and GVM ships a version using v4. In particular, Sulong (GraalVM's LLVM interpreter) depends on the shaded copy.
Additionally, this is one non-modular dependency eliminated on the way toward true JPMS support, which would enable shipping a Pkl jmod and usage in jpackage and jlink targets
The current parser is quite slow. On my machine (macOS on M1 Max), it takes almost half a second to parse
pkl:base
in Java.In some large projects, about 40% of the wall clock time is taken by ANTLR parsing.
It's time to replace it with a hand-rolled parser.
The text was updated successfully, but these errors were encountered: