lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

very interesting.

hmmmmm, seeing the code does make me smile.

the use of the colon is just right.

于 2011-8-22 17:30, Axel Kittenberger 写道:
Inspired by MoonScript I too made a compiles-to-lua-language to
sweeten your Monday. Decades over debates about syntax(1) of languages
and the rise and fall of languages was actually pendulum between the
two antagonists expressivity vs. error-prevention. Smileua  on the
other hand opens a neglected new dimension! While it might be worse
than Lua on both of this old two dimensions it has this warm cozy
feeling of being smiled at and being appreciated when looking at the
code. The compiler(2) is of course(!) written in Smileua itself and
added to this email, so you can see how to code smiles at you. It
might look gibberish to the untrained eye, but isn't the smiley worth
it!? Since email tends to mangle source, you can get it here along
with the language definitions and an already self-compiled Lua-script
for boot strapping:

(1) but not semantics.
(2) compiler is an overstatement, actually preprocessor as it works on
token basis only