Re:Functional Go Programming Language
by stcredzero on Thursday July 10, 2014 @09:00PM
(#8018348)
make it easier for everyone to create or modify the programming language of their choice with platform plugins that let people connect their own programming language to the platform of their choice
Clojure is specifically designed to be "hosted" on another programming language. Also, it has facilities that let you create your own control structures and otherwise make it easy to create a DSL. (Domain Specific Language)
This basically gives you: Custom language -> some intermediary form which would probably end up having some restrictions on language design -> to the thing you want it to run on.
I cannot say enough good things about Instaparse, which is a flex/bison/jison for Clojure. It's amazingly feature-full and very fast. I could not have built Funcgo without it. Big kudos to Mark Engelberg.
So, javascript?
Scala has been ported to javascript so I think that basically implies most of the languages targeting the JVM could also be.
Re:Functional Go Programming Language
by gnarbarian on Thursday July 10, 2014 @07:47PM
(#8018064)
well, the JVM is used in that way. So is the CLR in .Net.
But it sounds like you're implying another level of abstraction / interface that would be shared between the CLR and JVM etc.
Basically: Custom language -> some intermediary form which would probably end up having some restrictions on language design -> to the thing you want it to run on.