Re: producing Blub code and vv.

2011-10-03 Thread Hank
Thanks for writing, I think this here sums it up nicely: > Maybe all of this is possible. After all an human can do it manually. I have a background in machine learning/artificial intelligence ... and yes I can see those things come in handy here. > But I see it as more a research topic than eng

Re: producing Blub code and vv.

2011-10-03 Thread Nicolas
Hi, Well many will agree that if you can find a good solution to this problem this is going to be usefull. I tend to agree too. The question is maybe can you find a good solution? My response would be no. Let me explain: From a theoretical point of view you can always translate one turring compl

Re: producing Blub code and vv.

2011-09-30 Thread Dennis Crenshaw
Nice article in the wiki link, the logic rings pretty true for me. Clojure is a truly powerful language and I don't want for any higher-level facilities with it yet. :) That said, it would probably mean great strides in the "industry" if elegant Clojure code could be translated to comprehensible J

Re: producing Blub code and vv.

2011-09-29 Thread Hank
On Sep 30, 2:58 pm, Sean Corfield wrote: > On Thu, Sep 29, 2011 at 11:24 PM, Hank wrote: > >> Would it even be idiomatic Java to always have classes full of only > >> static methods? > > ... the Java-ists have an idiom ("design pattern") called singleton. > > They're not static methods but once-i

Re: producing Blub code and vv.

2011-09-29 Thread Sean Corfield
On Thu, Sep 29, 2011 at 11:24 PM, Hank wrote: >> Would it even be idiomatic Java to always have classes full of only >> static methods? > ... the Java-ists have an idiom ("design pattern") called singleton. > They're not static methods but once-instance classes. Doesn't that kind of prove my poin

Re: producing Blub code and vv.

2011-09-29 Thread Hank
Addendum: Just as an example, for this here ... > Would it even be idiomatic Java to always have classes full of only > static methods? ... the Java-ists have an idiom ("design pattern") called singleton. They're not static methods but once-instance classes. -- You received this message because

Re: producing Blub code and vv.

2011-09-29 Thread Sean Corfield
On Thu, Sep 29, 2011 at 10:48 PM, Hank wrote: > A good source for this is the O'Reilly book "Functional Programming in > Java". There you can see how idioms from one language can be applied > to another. Oh yes, I know about that book but the question is: how idiomatic is that code in Java? You c

Re: producing Blub code and vv.

2011-09-29 Thread Hank
> I think the major obstacle is likely to be the difference in idioms. > Any substantial idiomatic piece of Clojure is going to be almost > impossible to automatically translate to _idiomatic_ code in another > high-level language that uses different idioms. That could very well turn out to be the

Re: producing Blub code and vv.

2011-09-29 Thread Sean Corfield
On Thu, Sep 29, 2011 at 3:39 AM, Hank wrote: > I'd like to check the interest in the community for a comprehensive > Clojure library/framework/whathaveyou that helps produce Java/Python/ > Ruby/... a.k.a. "Blub" (http://www.paulgraham.com/avg.html) code, i.e. > instead of writing a Clojure program

Re: producing Blub code and vv.

2011-09-29 Thread Hank
Thanks, but from what I can see, they enable machine interop, not people interop. Instead of cross-platform, can you do cross-community? On Sep 30, 10:00 am, Raoul Duke wrote: > Hank, > > it ain't Clojure so this might be irrelevant to you, but some > interesting cross-platform languages are: (a)

Re: producing Blub code and vv.

2011-09-29 Thread Hank
Just replying to my own post here: Something like Linj (https://github.com/xach/linj / http://www.doiserbia.nb.rs/img/doi/1820-0214/2008/1820-02140802019L.pdf) and the corresponding Jnil go into the right direction. -- You received this message because you are subscribed to the Google Groups "Cl

Re: producing Blub code and vv.

2011-09-29 Thread Hank
No. Maintanable and idiomatic code weren't its goals, efficient maybe. If it did in fact produce maintainable and idiomatic code that would be an accidental byproduct. Does it? The ClojureScript compiler was also, from what I understand, designed to produce small programs, i.e. "one web page's wor

Re: producing Blub code and vv.

2011-09-29 Thread David Nolen
On Thu, Sep 29, 2011 at 7:54 PM, Hank wrote: > On Sep 30, 8:35 am, Nicolas wrote: > > Clojure has native interoperability with JVM & CLR. > > Right, this is machine interop. What about people interop? How can a > Clojure programmer "interoperate" with a Ruby programmer? Can I chuck > some Clojur

Re: producing Blub code and vv.

2011-09-29 Thread Raoul Duke
Hank, it ain't Clojure so this might be irrelevant to you, but some interesting cross-platform languages are: (a) www.haxe.org which is mature, and (b) Shen http://preview.tinyurl.com/6hnjpb2 which is still young. sincerely. -- You received this message because you are subscribed to the Google

Re: producing Blub code and vv.

2011-09-29 Thread Hank
On Sep 30, 8:35 am, Nicolas wrote: > Clojure has native interoperability with JVM & CLR. Right, this is machine interop. What about people interop? How can a Clojure programmer "interoperate" with a Ruby programmer? Can I chuck some Clojure code into Google translate (http://google.com/translate)

Re: producing Blub code and vv.

2011-09-29 Thread David Nolen
Have you actually looked at the ClojureScript compiler? In what way is its design unsuitable for what you're proposing? David On Sep 29, 9:11 am, Hank wrote: > Mauve has more RAM? :) > > On Sep 29, 9:46 pm, David Nolen wrote: > > > > > > > > > ClojureScript? > > > David -- You received this m

Re: producing Blub code and vv.

2011-09-29 Thread Nicolas
Clojure has native interoperability with JVM & CLR. This mean that you can have part of your code written in Clojure, part in Java/Jython/ JRuby if your target the JVM or C# if you target CLR. Of course you'll not be able to mess everything like first half of a method in Clojure, second half in jav

Re: producing Blub code and vv.

2011-09-29 Thread Hank
Mauve has more RAM? :) On Sep 29, 9:46 pm, David Nolen wrote: > ClojureScript? > > David > -- 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 Note that posts from new members are moderated -

Re: producing Blub code and vv.

2011-09-29 Thread David Nolen
ClojureScript? David On Thu, Sep 29, 2011 at 6:39 AM, Hank wrote: > Hi, > > I'd like to check the interest in the community for a comprehensive > Clojure library/framework/whathaveyou that helps produce Java/Python/ > Ruby/... a.k.a. "Blub" (http://www.paulgraham.com/avg.html) code, i.e. > inst

producing Blub code and vv.

2011-09-29 Thread Hank
Hi, I'd like to check the interest in the community for a comprehensive Clojure library/framework/whathaveyou that helps produce Java/Python/ Ruby/... a.k.a. "Blub" (http://www.paulgraham.com/avg.html) code, i.e. instead of writing a Clojure program that e.g. produces web pages, writing a Clojure