Skip to content

tokenise comments #130

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

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions