Fork me on GitHub
#graalvm
<
2022-04-15
>
andy.fingerhut17:04:34

If anyone has tried compiling the Clojure instaparse library with graalvm and has any results to share on how that went, I'm curious to learn. Also if there are any Clojure parser library other than instaparse that is known to work with graalvm.

borkdude18:04:52

@andy.fingerhut I've tried doing that and got it working, but there's some dynamic requires in there that make the binary bloated. I think the code could be organized better for graalvm usage. Another parsing library that's very light weight and even works with babashka from source: https://github.com/rm-hull/jasentaa but also with native-image.

borkdude18:04:59

@andy.fingerhut Did you get stuck somewhere?

andy.fingerhut18:04:09

No, mainly asking before even trying to see if there are known dragons.