gren-lang / gren-lang/compiler-common

The new gren-based parser cannot handle block comments in some places

Open
#23 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
No language data
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

As part of "gren format" testing, I created code with comments all over the place.
Some placements of block comments cannot be parsed by the new parser.

I have placed the comprehensive source file in this repo:
https://github.com/gilramir/gren-bug-reports
under 2026-05-21-comment-placement

You can view the file here: https://github.com/gilramir/gren-bug-reports/blob/main/2026-05-21-comment-placement/src/Broken.gren

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting 2026-05-21-comment-placement/src/Broken.gren in the gren-bug-reports repository and run it through the new gren format parser to reproduce the block-comment failures. Identify which comment placements are rejected; done means the comprehensive source file parses successfully in all of the reported placements.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.