Parser Option "ParseAsCpp" problem when parsing as C
Open
Nobody has claimed this yet.
question
- Dominant language
- C#
- Stars
- 620
- Forks
- 79
- Avg merge
- 14h 27m
- Merged PRs (30d)
- 1
Description
Hello,
if the parser option ParseAsCpp is set to false, the compilation is always returned empty regardless of the input files or texts.
Is Parsing as C not supported?
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 reproducing the empty compilation with ParseAsCpp set to false and C input, then trace the CppAst parser's libclang integration described in the repository. The issue names no file or test, so identify the relevant parser entry point and determine whether C parsing should produce an AST or is unsupported; done means the behavior is fixed or clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp, csharp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100