WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Add support for multi-line and other comments #31

@bramvdbogaerde

Description

@bramvdbogaerde

Currently the S-expression lexer and parser only support comments that start with ";". However Racket and other Scheme variants also support more types of comments, a notable one is the multi-line comment that starts with #|.

Other types of comments supported in Racket:
https://docs.racket-lang.org/reference/reader.html#%28part._parse-comment%29 (1.3.9 Reading Comments).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions