lac-dcc / lac-dcc/BenchGen

Add error handling logic

Open
#37 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
TeX
Stars
47
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Add error handling logic that generates a message based on the specific error that occurred in the files:

  1. factory.cpp
  2. lexer.cpp
  3. parser.cpp

To make it easier to find the places where the logic should be introduced, in the source code they are marked with the comment: // TODO: Error handling

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 reading the TODO: Error handling locations in src/gen/generator/factory.cpp, src/gen/lexer/lexer.cpp, and src/gen/parser/parser.cpp, along with their surrounding error paths. Define the messages for the specific errors encountered in each file; the work is done when all three marked locations generate appropriate error messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.