Would it be possible to capture the comments in the AST? #195
alexaandru
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Hi @alexaandru, thanks for pointing this out. It does sound like something we should do. I'll create a linked issue for this. I'm definitely open to volunteers to help with the implementation :-) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At a quick glance I could not find them in there, which makes sense, the VM doesn't need them.
However, the AST would also be very valuable for writing a tool for auto formatting, and currently, such a tool would lose the comments information, which obviously would be unacceptable.
Beta Was this translation helpful? Give feedback.
All reactions