lua-users home
lua-l archive

Re: Generating a pretty AST with LPeg

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


> A complete description of the AST format is available here:
> http://git.eclipse.org/c/koneki/org.eclipse.koneki.metalua.git/tree/README-parser.md
One small comment about this format: is there a good reason why the rule
	block: { stat* }
is not
	block: `Block{ stat* }
?
These seem to be the only tables that appear in a tree without a proper
tag.
(Another small comment: The grammar uses something called "ident" that
is not defined.)
-- Roberto

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