crypto
crypto copied to clipboard
Including comments in the AST
Is there any interest in including comments in the AST? I have added a lot of support for comments in my sort-of fork of this project nested inside of BrighterScript, and would gladly submit a PR to add those parts back into brs if that's something you're interested in.
They obviously don't have any use in terms of the runtime, but I think there are probably other projects that depend on brs for parsing support, so having the availability of comments in the AST would enable tools to inspect comments above functions for things like type checking, doc generating, etc.