lua-users home
lua-l archive

Re: Scripting language takes a silicon turn

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


Alen Ladavac wrote:
From: "Chris Marrin" <chris@marrin.com>
- the required 'then' keyword
Yes indeed. That's a pain too. Did anyone ever succeed replacing then-end
and do-end constructs to use curly braced blocks like C, i.e. "{" and "}" ?
Adding support for braces in place of the current block structuring would be difficult because of the clash with the use of brace for defining a table. Javascript, for instance, has a nasty ambiguity because of this.
And personally I find the Lua block syntax to be tolerable.
--
chris marrin ,"",ドル
chris@marrin.com b` $ ,,.
 mP b' , 1$'
 ,.` ,b` ,` :$$'
 ,|` mP ,` ,mm
 ,b" b" ,` ,mm m$$ ,m ,`P$$
 m$` ,b` .` ,mm ,'|$P ,|"1$` ,b$P ,` :1ドル
 b$` ,$: :,`` |$$ ,` $$` ,|` ,$,,ドル`"$$ .` :$|
b$| _m$`,:` :1ドル ,` ,$Pm|` ` :$,ドル..;"' |$:
P$b, _;b$$b1ドル" |$$ ,` ,$$" ``' $$
 ```"```'" `"` `""` ""` ,P`
"As a general rule,don't solve puzzles that open portals to Hell"'

AltStyle によって変換されたページ (->オリジナル) /