gren-lang / gren-lang/compiler-common

Long lines fail to parse

Open
#10 0 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

One suggestion on how to trigger this is to embed a docs.json in a multiline string. I guess we could easily test this with String.repeat with a high number as well.

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 reproducing the failure with a multiline string containing docs.json or with String.repeat using a high count. Trace where the long line fails to parse and identify the existing parser tests or entry point involved. Done means the input parses correctly and a regression test covers the long-line case.

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
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.