Skip to content

Implement comments #5

@Yag000

Description

@Yag000

Comments should have a place in the monkey lang. Two implementations are possible: ignore them at lexing, or create a Token for the comments that will be later ignored at parsing. The issue is that doing this will lose track of comments in the AST, which seems reasonable but implies that the formatter will need to parse the file in a different way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeature requestFeature requestmonkey langIssues about the monkey language as a whole

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions