Skip to content

File rep error classification issues - #317

Merged
StoneyJackson merged 2 commits into
mainfrom
file-rep-error-classification-issues
Aug 15, 2026
Merged

File rep error classification issues#317
StoneyJackson merged 2 commits into
mainfrom
file-rep-error-classification-issues

Conversation

@StoneyJackson

Copy link
Copy Markdown
Member

The authors of this PR...

  • Sign off on the DCO.
  • License their changes under the project's license.

StoneyJackson and others added 2 commits August 15, 2026 13:22
Every exception a semantic action raises that is not a LanguageError is
reported as a specification_error, which exits the interpreter and then
plcc-rep. One bad input ends the session, and the user is told to fix a
specification that is not at fault.

Reported from downstream, where it was found porting a course language
suite. The reproduction is a self-contained 14-line spec built against
plcc-ng alone, verified on 2.0.2 across the Python, Java, and JavaScript
targets.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
… error

Exhausting the target runtime's call stack reaches the same
non-LanguageError branch as issue 190 and is labeled a specification
error, advising the user to edit a grammar that is not at fault. Filed
separately because the remedy may differ: continuing the session after a
stack overflow is a real question, where for 190 it is clearly correct.

Includes the downstream port's measured ceilings across the three
targets, which differ about eightfold between Python and the other two.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@StoneyJackson
StoneyJackson marked this pull request as ready for review August 15, 2026 13:33
Copilot AI lite review requested due to automatic review settings August 15, 2026 13:33
@StoneyJackson
StoneyJackson merged commit d6b1cf5 into main Aug 15, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this to Done in plcc-ng Aug 15, 2026
@StoneyJackson
StoneyJackson deleted the file-rep-error-classification-issues branch August 15, 2026 13:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s internal issue tracker (in dev-docs/) to record and surface two newly filed plcc-rep error-classification problems, ensuring they appear in the Roadmap and that the issue ID counter advances correctly.

Changes:

  • Added issue #190 documenting that non-LanguageError exceptions terminate plcc-rep sessions and are misclassified as specification_error.
  • Added issue #191 documenting that interpreter resource exhaustion (e.g., recursion/stack overflow) is also misclassified as specification_error.
  • Updated dev-docs/roadmap.md and bumped dev-docs/issues/.next-id.txt to reflect the new issues.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
dev-docs/roadmap.md Adds roadmap entries for issues #190 and #191 under the Fix section.
dev-docs/issues/190-rep-kills-session-on-program-errors.md New issue documenting session termination + misclassification for program errors.
dev-docs/issues/191-rep-reports-resource-exhaustion-as-specification-error.md New issue documenting misclassification for interpreter resource exhaustion.
dev-docs/issues/.next-id.txt Advances next issue ID to 192 after adding #190 and #191.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants