Clojure-skummet translator

46 views
Skip to first unread message

Camilo Roca

unread,
Aug 14, 2015, 3:39:41 PM8/14/15
to clojure-android
Hey guys,

I was thinking of doing a little experiment and I would like to get some input from you. To be honest I am quite new to Clojure but I am very interested in its capabilities thus I would like to try this:

I would like to develop a Clojure translator based on the jar files created by the Skummet plugin.

The idea behind it is to use GWT and j2obC (both from Google) to translate Java source code to Objective-C and Javascript.
Of course for that a decompilation of the bytecode to Java would be necessary.

As I said I really like clojure but after much research I haven't found a solution for creating cross-platform UI that satisfies both performance and Native look. This led me to the two tools that I mentioned above which have the rationale of making all the business logic in Java but leaving the UI as Native. I would like to try this but using Clojure instead of Java :)

Any thoughts? suggestions? problems in foresight?

As I said, I am new to Clojure so any comment is much welcome

Herwig Hochleitner

unread,
Aug 15, 2015, 12:06:21 PM8/15/15
to clojure...@googlegroups.com
In my experience, java decompilers cannot fully decompile clojure-generated byte code, so that's probably a roadblock for your idea. Maybe gcj can compile clojure output to native code?

To me, the most exciting prospect in the department native ui; scriptable is react native. It's already available for iOS and will be available for android soon. You can use it with clojurescript.

Adam Clements

unread,
Aug 15, 2015, 12:52:46 PM8/15/15
to clojure-android

My comments would be, try using clojurescript for the Javascript part (as that is independent of skummet's improvements and would almost certainly have better performance that a gwt from decompiled bytecode)  and then look at RoboVM for the objective c part- it translates bytecode directly to obj c


--
You received this message because you are subscribed to the Google Groups "clojure-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-andro...@googlegroups.com.
To post to this group, send email to clojure...@googlegroups.com.
Visit this group at http://groups.google.com/group/clojure-android.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages