lua-users home
lua-l archive

Re: Re: Re: Lightweight syntax: a dissident view

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


> AFAICT, the only unambiguous syntax is the following:
> 
> `initial_token` [arglist] `separator` [chunk] `final_token´
> or
> `initial_token` [arglist] `separator` [explist] `final_token´
> 
> with `final_token` ~= `initial_token`, and various restrictions on the
> individual tokens to avoid ambiguities.
For instance:
initial_token = '\'
separator = '. ('
final_token = ')'
e.g.: \x.(x+1) \x,y.(x+y)	\.(3)
-- Roberto

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