This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Say I have a language that compiles to Clojure code or directly to a Clojure AST and the compiler keeps track of the position/line/column/file of nodes for error messaging. Is there a way to convey that info to Clojure as metadata (or even a source map) to Clojure to report that info in error messages? Also wondering for SCI (<- @borkdude).
Some errors leverage form metadata, but compiler stuff uses dynamic vars
is this stuff documented or explained anywhere?
The code :)
It is not really designed for extension tbh
Yeah, well of course. I wouldn't ask here if I'd read and could understand all the code 🙂 But I can play with things, and see what my needs are. Honestly I'm mainly targeting SCI which might be different altogether. I really don't know enough yet. I'll wait to see what @borkdude has to say tomorrow.
btw @U064X3EF3 I've read a bit about libjvm.so shared library. Is that a thing you know about? If so does it still get used and maintained? I can't find much info so far.
Also back to compiling to clojure I guess I could catch errors and rewrite them using my own generated source map files...
No, I don’t know about libjvm
ok, thanks