xoofx / xoofx/CppAst.NET

Parser Option "ParseAsCpp" problem when parsing as C

Open
#47 2 comments 0 reactions 0 assignees View on GitHub

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.