[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: A Review of MoonScript 0.2.0
- From: Alex Bradbury <asb@...>
- Date: Thu, 15 Dec 2011 11:45:36 +0000
On 15 December 2011 10:46, steve donovan <firstname.lastname@example.org> wrote:
> Hi all,
> The modest leaf corcoran has been working on his MoonScript (which is
> a CoffieScript-like language that translates to Lua):
> Since he is so modest I wrote a review of MoonScript
Thanks, that was a great introduction. Leaf: I for one would love to
see new releases like this announced on the mailing list.
The main unpleasant point that seems to remain is the ambiguity caused
by the combination of supporting method calls without parentheses and
As the documentation states, this means `b = x-10` is converted to
`local b = x(-10)`.
One aspect of Lua which Moonscript doesn't help with is the lack of a
Am I right in thinking that there's no way in Moonscript to express
local var = 100
for i=1,10 do
local var = i*i
> Still immature, of course; languages take time and getting good error
> messages out of LPeg grammars is a bit of an art.
When playing with lpeg grammars that's always been the part I've found
less easy (and of course the part which is easiest to just ignore).
Does anyone know of any lpeg examples which do a particularly good job