lua-users home
lua-l archive

Re: lpeg documentation

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


On 4 nov 2010, at 20:58, Drake Wilson wrote:
> Quoth Hans van der Meer <H.vanderMeer@uva.nl>, on 2010年11月04日 20:48:50 +0100:
>> lpeg.Cc ({value})
> 
> The {} are being used for repeated arguments, much as the [] are used
> elsewhere for optional ones. They do not refer to Lua table syntax.
I see. Something like BNF's use of {a}*. But then in the documentation there is still the discrepancy between (values) as mentioned in the table and ({value}) in the corresponding description. I am inclined to find this somewhat confusing.
Hans van der Meer

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