maierfelix / maierfelix/mini-c

Correctly parse C's type syntax

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

Nobody has claimed this yet.

help wanted
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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.