Skip to content

tokenise comments #130

@ciez

Description

@ciez

Currently comments are treated as whiteSpace. This leaves {-# LANGUAGE #-} and other Haskell pragmas out of parsed AST.

This proposal is to parse comments as a distinct token

whiteSpace could return [String] where each string is a separate comment line

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions