maierfelix / maierfelix/mini-c
Correctly parse C's type syntax
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 263
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
The current parser only supports basic pointers and function pointers.
TODO:
- Arrays
- Type specifiers/qualifiers, storage specifiers, abstract declarators
- E.g. types like ``char * const (*(* const bar)[5])(int )``
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 by locating the parser code that handles basic pointers and function pointers. Review how the parser represents C types before expanding support for arrays, specifiers, qualifiers, storage specifiers, and abstract declarators. Done means the example type and the listed syntax categories parse correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, javascript
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100