Skip to content

parse tree doesn't include comments #4

@jordanorelli

Description

@jordanorelli

although we collect comment tokens in the lex stage, when the lexer passes a comment lexeme to the parser, the parser simply discards it. This means that certain features are impossible to write; most notably, it's currently impossible to write an auto-formatter for moon documents, because we're discarding the comments too early.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions