[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Complete Syntax of Lua
- From: Coda Highland <chighland@...>
- Date: Wed, 13 Aug 2014 11:14:43 -0700
On Wed, Aug 13, 2014 at 11:12 AM, Mason Mackaman <masondeanm@aol.com> wrote:
> I think just for completeness the complete syntax of Lua in §9, the reference manual should include:
>
> Name::=(‘_’ | lowercaseletter | upercaseletter){‘_’ | lowercaseletter | upercaseletter | decimaldigit}
>
> To be honest I wouldn’t mind specifying lowercaseletter, upercaseletter, and decimaldigit, but I think some people would see that as a bit much.
Or just [A-Za-z_][A-Za-z0-9_]* since it's an informal grammar anyway.
/s/ Adam