Live data from Hacker News

The Lux Programming Language

github.com

21–30 of 52 posts

Re: The Lux Programming Language

#21
post #9

What are the goals of the language?

Simplicity My ideal of simplicity is more like Haskell's than Clojure's. Clojure strives to be easy-to-use, but in the process, both the language and standard library have evolved a lot of convoluted and often redundant code (you can take a look at the definition of map to get an idea: https://github.com/clojure/clojure/blob/028af0e0b271aa558ea4... ) Haskell, on the other hand, is a very simple language that seeks si…

It sounds like you want Frege, no?

https://github.com/Frege/frege

Re: The Lux Programming Language

#23

So if I were to learn a Lisp language for the first time, would Lux be worth my time? Also why not setup an IRC channel? edit: Typo

Lux is still in diapers, but everything should be completed in the next few months.

>> So if I were to learn a Lisp language for the first time, would Lux be worth my time?

That depends. Do you like sophisticated types ala Haskell? Are you interested in functional programming? Do you want a language that runs on established platforms such as the JVM or Node.js/IO.js?

If you answered yes to all of those, Lux welcomes you.

>> Also why not setup an IRC channel?

I'm not much of an IRC guy myself, but a channel can definitely be made. I won't be present most of the time, since I've got work & college to worry about, but an IRC channel can be made.

Re: The Lux Programming Language

#24

Earlier quoted context omitted.

Simplicity My ideal of simplicity is more like Haskell's than Clojure's. Clojure strives to be easy-to-use, but in the process, both the language and standard library have evolved a lot of convoluted and often redundant code (you can take a look at the definition of map to get an idea: https://github.com/clojure/clojure/blob/028af0e0b271aa558ea4... ) Haskell, on the other hand, is a very simple language that seeks si…

It sounds like you want Frege, no? https://github.com/Frege/frege

I wanted a Lisp, not just a functional language.

I also wanted to push things forward in some aspects, like having the module system, first-class types & having higher interaction with the compiler.

Also, Haskell & macros don't seem to mix so well, and meta-programming is a big deal for me.

Re: The Lux Programming Language

#25

So if I were to learn a Lisp language for the first time, would Lux be worth my time? Also why not setup an IRC channel? edit: Typo

If you are learning a Lisp for the first time, you should stick with something established that has good resources for learning available. Scheme is a good choice to start with, and eventually you will want to learn either Common Lisp or Clojure.

Re: The Lux Programming Language

#26

So if I were to learn a Lisp language for the first time, would Lux be worth my time? Also why not setup an IRC channel? edit: Typo

Definitely not. It is still "in Diapers" as eduardoejp says in this thread. If you want to learn a lisp that has been around for a while, is proven, and is a fully featured language? Try SBCL (Steel Bank Common Lisp): http://sbcl.org/

Since SBCL is an ANSI compliant lisp, anything that should work for common lisp that isn't SBCL specific (This mostly applies to threading related functions/types if memory serves).

If this doesn't appeal to you after some research, check out one of the popular schemes.

Re: The Lux Programming Language

#27
post #5

How does it compare to Shen? http://www.shenlanguage.org/

"runs under CLisp, SBCL, Clojure, Scheme, Ruby, Python, the JVM, Haskell and Javascript" Wow, someone really likes writing compilers...

Interesting to see how many of these overlap.

For example:

Lux->Clojure->JVM

Lux->Ruby->JVM

Lux->Haskell->Javascript

Any more that I missed?

Re: The Lux Programming Language

#28
I feel like there should be a way to re-use algorithms and data structures across programming languages and platforms automatically. Sort of like a CLR/JVM etc. but really a common exchange format that could work across different VMs or systems. A little bit like how math can formally describe diverse systems, except you could automatically process/translate this format.
Post reply on HN