haskell / haskell/alex

Builtin support for nested comments or a canonical way to handle them

Open
#133 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Haskell
Stars
323
Forks
87
PR merge metrics
No merged PRs in 30d

Description

Currently, I use an approach [here](https://github.com/input-output-hk/plutus/blob/master/language-plutus-core/src/Language/PlutusCore/Lexer.x#L152), which is as far as I can tell the correct way to implement nested comments.

I'd also like to keep annotations which are kept in nested comments, which I imagine is possible but isn't straightforward to me. Ether a canonical example or builtin support would be wonderful.

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.