Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

lib/eigen.eigs: accepts an unterminated plain string and never checks dedent consistency

Open Beginner friendly
#1,378 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
86/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
c
Domain
compilers, testing

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

area:stdlib kind:silent-wrong

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 gives Syntax 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.eigs rejects both inputs the way the C lexer does.
  • Each has a case in tests/test_meta_parity.eigs showing both implementations reject it.
Dominant language
C
Stars
3
Forks
7
Avg merge
4h 5m
Merged PRs (30d)
116

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from InauguralSystems/EigenScript

All issues in InauguralSystems/EigenScript

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.