SkillAgentSearch skills...

ParserClang

A small C parser to extract functions from C/Cpp source files

Install / Use

/learn @gaulthiergain/ParserClang
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

parserClang

A very basic C parser to extract functions from C/Cpp source files. This is a prototype (no solid error handling, modular code, etc).

Installation

Run the following commands:

python3 -m pip install clang

On Linux, execute the following commands:

cd /usr/lib/x86_64-linux-gnu/
sudo ln -s libclang-X.Y.so.1 libclang.so (X.Y the version number)

Run

python3 parserClang.py [-i includePaths] [-o outputfile] -[qvt] inputfile.c [otherinputfile.c ...]

where filepath can be a repository/folder or a file (c/cpp/h/hpp)

View on GitHub
GitHub Stars11
CategoryDevelopment
Updated1y ago
Forks3

Languages

Python

Security Score

60/100

Audited on Mar 15, 2025

No findings