Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add `CPC_CHAR` combinator

Open Beginner friendly
#15 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
c
Domain
backend

Research direction

Read the existing CPC_STRING combinator and its mismatch handling, then inspect how CPC_LABEL composes with combinators. Add coverage in test/basic.h for CPC_CHAR, its default mismatch error, and its behavior with CPC_LABEL; done when those tests pass.

Written by the indexing model from the issue text.

Description

difficulty: easy

Problem

We have support for the string combinator CPC_STRING, but we lack support for char.

Solution

Add it, it should include a simple mismatch default error like CPC_STRING.

Ensure it works with CPC_LABEL and add tests on test/basic.h.

Dominant language
C
Stars
92
Forks
3
Avg merge
55m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from PostgREST/CParseC

All issues in PostgREST/CParseC

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.