Today I decided to set about writing some standard library functions for Heresy. My goal is to write as much as I can in Heresy proper, only falling back to the Racket core when I need to provide a missing feature.
The trouble I'm having though, is in making any of this code available to other Heresy code or providing it as part of the standard language. I just run into circular dependency issues; my lang depends on the core, and if the core depends on the library ... round and round we go. I'm baffled as to how I can extend my language in my own language if I can't actually provide the functions I create for it. How do I write in my lang and the provide the results such that future programs can use them, or especially, so that the files in my library can safely reference each other? As always, the code is here: https://github.com/jarcane/heresy Thank you, John Berry
____________________ Racket Users list: http://lists.racket-lang.org/users