News for hackers. Stuff that matters.
Re:Terra: A low-level counterpart to Lua by jnbiche on Saturday August 24, 2013 @03:48PM (#6269586)
Moonscript could be easily modified to accomodate Terra:

http://moonscript.org/

Personally, through, Lua is sugary enough for me, particularly if I use Penlight.

Re:Terra: A low-level counterpart to Lua by atrilumen on Sunday August 25, 2013 @10:34AM (#6272122)
Sure, I considered using Moonscript as a starting point. It looks pretty neat.

But what I have in mind is just a little different. I want explicit type declaration, and I don't want to type "->".

So, something more of this character:

    void chant( string thing, int times ):
        for int i in range( times ):
            print( "$thing $i" )

Also, I'd like to write the compiler in Terra.

I'm pretty fond of Lua just the way it is as well, but I'm picky and stubborn and idealistic. I keep telling myself not to think about it, but I can't help but daydream about writing a language. I think Terra presents a fair opportunity to get it out of my system.