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

interface of the GetToken or PeakToken like function

Open
#7 11 comments 0 reactions 1 assignee View on GitHub

@bnoazx005 is already working on this.

Since Apr 21, 2025.

Assessment

This issue has not been assessed yet.

Description

enhancement

I see the interface of the preprocessor is to return the whole string by preprocessor.Process().

Is it possible to make some function like preprocessor.GetToken(), so the high level Parser can call it, and get the Token one by one or even peek the token.

Thanks.

Dominant language
C++
Stars
61
Forks
12
PR merge metrics
No merged PRs in 30d

Getting set up

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 bnoazx005/tcpp

All issues in bnoazx005/tcpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.