Functional Go Programming Language
github.com
Functional Go Programming Language
1–10 of 36 posts
Re: Functional Go Programming Language
#2Re: Functional Go Programming Language
#3This project in particular gives some of the benefits of Clojure (JVM, expressive language, immutability), but I don't see any easy way to add new constructs to the language like macros without modifying the compiler itself. Can you modify the grammar that is fed to Instaparse at runtime?
That being said, the current branding and name confused me initially. I was expecting a full Go to Clojure compiler, but it appears that this is mainly a language that has similar syntax to Go which compiles to Clojure, which is still very cool, just different.
Re: Functional Go Programming Language
#4I've toyed with this idea a bit (compiling a more familiar language down to Clojure). This project in particular gives some of the benefits of Clojure (JVM, expressive language, immutability), but I don't see any easy way to add new constructs to the language like macros without modifying the compiler itself. Can you modify the grammar that is fed to Instaparse at runtime? That being said, the current branding and na…
Re: Functional Go Programming Language
#5I've toyed with this idea a bit (compiling a more familiar language down to Clojure). This project in particular gives some of the benefits of Clojure (JVM, expressive language, immutability), but I don't see any easy way to add new constructs to the language like macros without modifying the compiler itself. Can you modify the grammar that is fed to Instaparse at runtime? That being said, the current branding and na…
What do macros have to do with being functional? It might be better for a functional language to have that, but it doesn't have to have such a facility.
Re: Functional Go Programming Language
#6Basically: 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.
Re: Functional Go Programming Language
#7Maybe it would be cool to improve upon flex/bison/jison and 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 (JVM, .Net, straight up compiled into a binary). I'm really mostly thinking about syntax of the language really, but you could go further and customize the typing…
But it sounds like you're implying another level of abstraction / interface that would be shared between the CLR and JVM etc.
Re: Functional Go Programming Language
#8Personally I find the name misleading. Something like 'Jo' makes more sense to me (not that I'm advocating it as a pretty name).
Re: Functional Go Programming Language
#9I'd love to see a scripting language with go's type system (and concise syntax for declaration, type inference and built in collections) but support for operator overloading and the ability to link in external shared libraries. Basically I want python+numpy (ie external C/fortran numerical code wrapped with pretty operator overloading and a repl) but with go style syntax and pointers.
Re: Functional Go Programming Language
#10 gofunc yourself