lib/eigen.eigs: accepts an unterminated plain string and never checks dedent consistency
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 86/100
Research direction
Start with the affected parsing behavior in lib/eigen.eigs and review the related cases from #1338. Add parity cases for the unterminated string and inconsistent dedent in tests/test_meta_parity.eigs, then verify both implementations reject the inputs as the C lexer does.
Written by the indexing model from the issue text.
Description
Found by the builder on #1377. These are siblings of #1338, verified at 337af28:
eigen_run of "\"abc"returns["ok", "abc"], where the C runtime givesSyntax error line 1: unterminated string.eigen_run of "if 1:\n x is 1\n y is 2\ny"returns["ok", 2], where C rejects it with "indentation does not match any outer level".
Done when
-
lib/eigen.eigsrejects both inputs the way the C lexer does. - Each has a case in
tests/test_meta_parity.eigsshowing both implementations reject it.
- Dominant language
- C
- Stars
- 3
- Forks
- 7
- Avg merge
- 4h 5m
- Merged PRs (30d)
- 116
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from InauguralSystems/EigenScript
-
area:docs good first issue kind:docs-drift
Difficulty 1/5 Under an hour Newbie friendliness 92/100
InauguralSystems/EigenScript#1400 ·
Maintainers usually reply within 1 day
-
area:docs good first issue kind:docs-drift
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
InauguralSystems/EigenScript#1396 ·
Maintainers usually reply within 1 day
-
docs/BUILTINS.md: task_spawn row says task_yield/task_join 'land in a later increment'; both existOpenarea:docs good first issue kind:docs-drift
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
InauguralSystems/EigenScript#1392 ·
Maintainers usually reply within 1 day
-
area:embed kind:silent-wrong
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
InauguralSystems/EigenScript#1387 ·
Maintainers usually reply within 1 day
-
area:gates kind:gate-defect
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
InauguralSystems/EigenScript#1374 ·
Maintainers usually reply within 1 day
All issues in InauguralSystems/EigenScript
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
trezor/trezor-firmware#7997 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
area/ysql kind/bug priority/medium status/awaiting-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yugabyte/yugabyte-db#34415 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
KhronosGroup/OpenCL-Headers#318 ·
-
0.kind: build failure
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day