Bulk Code Generation
As much fun as coding can be, I prefer to write code that generates code.
My most recent effort is gostd2joker, which collects information on Go’s standard library (the packages provided in its source tree) and generates the Go and Clojure code to provide access to some of those APIs within Joker, a Clojure interpreter that is written in Go. While there remain substantial limitations in terms of which APIs are eligible for transformation, the resulting list of converted packages is noticeably larger than that for “vanilla” Joker.
The result should be quite useful, not only in my own research and development, but potentially to others who might find a quick-starting, low-overhead scripting language, with full access to the Go runtime, to be a formidable tool in their scripting arsenal.
Can you envision using such an enhanced version of Joker? If so, how?
- Posted In:
craigAll stories by: craig
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Leave a Reply
You must belogged in to post a comment.