Northeastern-Electric-Racing / Northeastern-Electric-Racing/Calypso
[Validate] - Validate all rules related to CGEN
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2
- Forks
- 2
- Avg merge
- 6d 20h
- Merged PRs (30d)
- 3
Description
Description
Only if the cgen properties are all present (name, c_type):
- Ensure name is a valid variable name in gcc
- Ensure c_type is a valid C type in gcc.
Acceptance Criteria
Do it. Test it works.
Proposed Solution
Edit validate.rs to add a batch of rules
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start in validate.rs and inspect the existing validation flow for CGEN properties and any nearby tests. Determine how gcc-valid variable names and C types are represented, then add the conditional rules for name and c_type and tests demonstrating that valid and invalid values are handled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, rust
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100