Add `CPC_TAKE_TILL_CHARS`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 64/100
Research direction
Start by reading the existing CPC_TAKE_TILL_ONE_OF macro and the internal ___cpc_find_first_of function in the project header. Adapt the macro to pass its variadic arguments as input to that function, then check existing tests for the combinator and add coverage showing that a variable list of characters is accepted.
Written by the indexing model from the issue text.
Description
Problem
The SIMD combinator we have CPC_TAKE_TILL_ONE_OF only accepts a string as parameter, in some cases it'd be useful to have a variable list of chars as arguments.
Solution
Add:
define CPC_TAKE_TILL_CHARS(name, ...)
It should use the __VA_ARGS__ as input to the internal ___cpc_find_first_of functin.
- 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
- 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.
More from PostgREST/CParseC
-
difficulty: easy
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
All issues in PostgREST/CParseC
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AOMediaCodec/SVT-AV1#3320 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
open-quantum-safe/liboqs#2647 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ImageMagick/ImageMagick#9064 · 4 comments ·
Maintainers usually reply within 1 day