-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offline parser generation? #193
Comments
Sorry it's mostly the require that takes a long time
But the reasoning still applies I believe |
|
Thanks @Engelberg for pointing me to the GraalVM and Instaparse work. I've just tested it and it seems not to be true anymore (alexei-matveev/instaparse-demo#2). Maybe this is due to GraalVm changes or Clojure changes (from 1.9 and above compilation get's more difficult with clojure.spec). I'll look at the Thank you! |
Maybe this is a completely ignorant question, apologies upfront. I'm really thankful for what Instaparse is already.
Having said that, would it be possible to generate the parser offline and safe it as Clojure code? And would this be a good fit for this project?
The benefits would be:
(When I precompile the parser as a jar and def it, this doesn't make a difference.)
The text was updated successfully, but these errors were encountered: