Steps for running clojure as a .NET app and instantiating .NET types. - I converted the clojure.jar to clojure.dll: ikvmc -target:library c: \path\to\clojure.jar (this creates clojure.dll) - Convert mscorlib.dll to mscorlib.jar: ikvmstub mscorlib.dll - Create a .net c# console app, and add reference to clojure.dll - Change Main to this: static void Main(string[] args) { clojure.lang.Repl.main(new string[] {}); } - Run console app (Repl) and add mscorlib.jar to classpath via clojure: (add-classpath file://c:.....)
Now you can instantiate .net types (def i (new cli.System.Int32)) (def s (new cli.System.String nil)) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---