-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi. I was just studying the Metalua AST format and one thing that struck me as a little odd is the relative inconvenience of accessing comments. Is there a rationale for not representing them as nodes directly in the tree? The lack of comments in the specification seems to have been adopted by other projects (e.g. lua-parser) but most of the use cases I can think of very much require comments (e.g. doc generators, type annotation checkers, code formatters etc.)
Would you be against adding comments to the AST specification or is it likely to cause compatibility issues?
Metadata
Metadata
Assignees
Labels
No labels