Hacker News new | ask | show | jobs
by vortico 3764 days ago
Luna looked great a year ago, since its syntax it ever-so-close to ideal. If it has momentum now, I'd invest a lot of time writing bindings to popular C libraries, an event loop, and a web framework. But it's not functional yet, or probably ever unless someone adopts it. I'm a fan of tj's other work though. I don't see how he can pump out so many quality npm packages and the like.
4 comments

http://crystal-lang.org/ might be a good fit for you then. Or http://nim-lang.org/ if you're flexible on syntax.
Those languages are too big, so I might as well use Ruby or the Node environment when I need a full-featured language with lots of libraries. I'd like something dead simple that I can statically link into my C programs, with a syntax I can completely explain to someone in 15 minutes. I currently use duktape/Coffeescript or Lua/Moonscript for that, since hosting it in C is about ~5 lines of boilerplate code.

Edit: Does anyone know of any other languages similar to the syntax of Coffeescript and Moonscript?

http://elixir-lang.org/ looks quite similar, although it is functional (and backed by the Erlang VM BEAM).
I am working on a language with goals similar to this which is much farther along though still not quite ready for practical use. For example, there it does not currently have a C API. It is written in Rust so it shouldn't be to difficult to provide once I feel it is usable.

https://github.com/Marwes/embed_lang

Wow this is the first I'm seeing of Nim. Goodbye, Sunday! Where did this come from...
Nim is really underrated.
I wouldn't get my hopes up :D. I just moved it from luna/luna so the other guys can have the org. Other than the one guy hacking on it a little bit there isn't any work going into it. Primarily because I'm really enjoying Go, so I don't have much of a reason to work on an alt.
Hi tj, you have the power to inspire people with your ideas.

I can't believe your last submission on HN, which is about mocha, got only one point.

It gives me hope that some things arrive later in the wave, so I need just to wait for my own ideas to become popular.

Thanks! Appreciate it :)
This is exactly what I was looking for!
What is the problem with Lua? Just syntax?