lua-users home
lua-l archive

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

On Thu, Apr 3, 2008 at 5:03 PM, Duck <> wrote:
>  I suppose I mean "a grammar for the language specified in
>  ECMA-262 ECMAScript Language Specification 3rd edition" :-)
>  A big ask, I know, but...does LPEG code for this exist? If not, does
>  anyone have a PEG grammar in some textual form which might be converted
>  fairly simply into an LPEG-based equivalent?

Not really what you asked for, but for those who enjoy reading
JavaScript take a look at the jsdefs and jsparse files of Narcissus