Re: [ANN] Insn: Functional JVM bytecode generation for Clojure.

2017-09-07 Thread jgpc42
Thank you for your reply. Very insightful. Are you building it for a particular purpose like a compiler, or as a > curiosity? > I built it for a number of yet-unreleased projects I'm working on. One of which is a compiler of sorts. I will get around to open-sourcing them eventually. The CLR i

Re: [ANN] Insn: Functional JVM bytecode generation for Clojure.

2017-09-06 Thread Ramsey Nasser
Hello! MAGE author here. First off, insn looks super cool! I am excited to see where the project goes. Are you building it for a particular purpose like a compiler, or as a curiosity? With respect to MAGE, Mage provides fns for yielding the Clojure data that it consumes ... I ultimately deci

Re: [ANN] Insn: Functional JVM bytecode generation for Clojure.

2017-08-19 Thread jgpc42
That would be possible. If I understand your meaning, something like: (require '[insn.core :as insn]) (defn make-pojos [cname m] (let [[fields subs] (partition-by (comp map? second) m) const-type #(if (string? %) String :int)] (doseq [[sname sm] subs] (make-pojos (str cname \$

Re: [ANN] Insn: Functional JVM bytecode generation for Clojure.

2017-08-19 Thread Didier
This looks cool, would it be possible to use this to have a deep nested clojure map automatically create a Java nesting of pojos? Like each key becomes a field of an actual class? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group

Re: [ANN] Insn: Functional JVM bytecode generation for Clojure.

2017-08-19 Thread jgpc42
While I'm not as familiar with the CLR and its bytecode syntax, from what I can tell from the README, mage and insn seem to have similar goals and ideas. I'll attempt to summarize the differences that I could find, if the mage author *nasser* is available I would appreciate his or her input. M

Re: [ANN] Insn: Functional JVM bytecode generation for Clojure.

2017-08-18 Thread Colin Fleming
This looks very interesting. How would you compare this to Mage for the CLR? Are they essentially equivalent? On 19 August 2017 at 11:49, wrote: > Insn is a data-oriented API to the ASM JVM bytecode > generation library. It also provides additional utilities like generating

[ANN] Insn: Functional JVM bytecode generation for Clojure.

2017-08-18 Thread jgpc42
Insn is a data-oriented API to the ASM JVM bytecode generation library. It also provides additional utilities like generating Clojure fns built from bytecode. Much more information is available at the github page: https://github.com/jgpc42/insn -- You received this messa