[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: MoonScript, a language that compiles to Lua
- From: Axel Kittenberger <axkibe@...>
- Date: Fri, 12 Aug 2011 08:36:12 +0200
> Except it forces indentation and structure in cases where it's not
> entirely necessary. I like being able to write:
> if x then doThings(x) else doThings(y) end
> instead of:
> if x then
> doThings(x)
> else
> doThings(y)
Did you actually work with any significant whitespace language? E.g.
in python both work very well. You can always write all things in one
line if you want to.
What you just cannot do is:
if x then
doThings(x)
else
doThings(y)
- References:
- MoonScript, a language that compiles to Lua, leaf corcoran
- Re: MoonScript, a language that compiles to Lua, steve donovan
- Re: MoonScript, a language that compiles to Lua, Miles Bader
- Re: MoonScript, a language that compiles to Lua, Steve Litt
- Re: MoonScript, a language that compiles to Lua, Miles Bader
- Re: MoonScript, a language that compiles to Lua, oliver
- Re: MoonScript, a language that compiles to Lua, HyperHacker