All Projects → go-clang → bootstrap

go-clang / bootstrap

Licence: BSD-3-Clause license
Bootstrap Go bindings for Clang's C API

Programming Languages

go
31211 projects - #10 most used programming language
c
50402 projects - #5 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to bootstrap

Cppast.net
CppAst is a .NET library providing a C/C++ parser for header files powered by Clang/libclang with access to the full AST, comments and macros
Stars: ✭ 228 (+1166.67%)
Mutual labels:  libclang, clang
Cmake Ide
Use Emacs as a C/C++ IDE
Stars: ✭ 661 (+3572.22%)
Mutual labels:  libclang, clang
Easyclangcomplete
💥 Robust C/C++ code completion for Sublime Text 3
Stars: ✭ 537 (+2883.33%)
Mutual labels:  libclang, clang
Irony Mode
A C/C++ minor mode for Emacs powered by libclang
Stars: ✭ 851 (+4627.78%)
Mutual labels:  libclang, clang
Deoplete Clang
deoplete.nvim source for C/C++/Obj-C/Obj-C++ with clang-python3
Stars: ✭ 186 (+933.33%)
Mutual labels:  libclang, clang
Dstep
A tool for converting C and Objective-C headers to D modules
Stars: ✭ 177 (+883.33%)
Mutual labels:  libclang, clang
Color coded
A vim plugin for libclang-based highlighting of C, C++, ObjC
Stars: ✭ 841 (+4572.22%)
Mutual labels:  libclang, clang
Dpp
Directly include C headers in D source code
Stars: ✭ 189 (+950%)
Mutual labels:  libclang, clang
cxxd
C/C++ language server implemented on top of Clang frontend.
Stars: ✭ 145 (+705.56%)
Mutual labels:  libclang, clang
adorad
Fast, Expressive, & High-Performance Programming Language for those who dare
Stars: ✭ 54 (+200%)
Mutual labels:  clang
CMLFS
Clang-Built Musl Linux From Scratch
Stars: ✭ 51 (+183.33%)
Mutual labels:  clang
portablebpf
You came here so you could have a base code to serve you as an example on how to develop a BPF application, compatible to BCC and/or LIBBPF, specially LIBBPF, having the userland part made in C or PYTHON.
Stars: ✭ 32 (+77.78%)
Mutual labels:  clang
ndslvim
专用于C-family和web前端开发的vim配置(其实通用性也还不错啦)
Stars: ✭ 14 (-22.22%)
Mutual labels:  clang
OS-CFI
Origin-sensitive Control Flow Integrity (OS-CFI) - USENIX Security 2019
Stars: ✭ 27 (+50%)
Mutual labels:  clang
FPChecker
A dynamic analysis tool to detect floating-point errors in HPC applications.
Stars: ✭ 26 (+44.44%)
Mutual labels:  clang
pranaOS
A unix operating system written from scratch in c that gives support for arm, x86
Stars: ✭ 138 (+666.67%)
Mutual labels:  clang
autoprogrammer
C++ to C++ code generation tool (enum2string conversion, serialization, reflection etc.)
Stars: ✭ 77 (+327.78%)
Mutual labels:  clang
sycl
SYCL for Vitis: Experimental fusion of triSYCL with Intel SYCL oneAPI DPC++ up-streaming effort into Clang/LLVM
Stars: ✭ 80 (+344.44%)
Mutual labels:  clang
ccrawl
clang-based search engine for C/C++ data structures, classes, prototypes & macros
Stars: ✭ 82 (+355.56%)
Mutual labels:  clang
c-compiler-security
Security-related flags and options for C compilers
Stars: ✭ 125 (+594.44%)
Mutual labels:  clang

go-clang/bootstrap

PkgGoDev GitHub Workflow

Native Go bindings for Clang's C API.

Install/Update

CGO_LDFLAGS="-L`llvm-config --libdir`" \
  go get -u github.com/go-clang/bootstrap/...

Usage

An example on how to use the AST visitor of the Clang API can be found in /cmd/go-clang-dump/main.go

I need bindings for a different Clang version

The Go bindings are placed in their own repositories to provide the correct bindings for the corresponding Clang version. A list of supported versions can be found in go-clang/gen's README.

I found a bug/missing a feature in go-clang

We are using the issue tracker of the go-clang/gen repository. Please go through the open issues in the tracker first. If you cannot find your request just open up a new issue.

How is this binding generated?

The go-clang/gen repository is used to automatically generate this binding.

License

This project, like all go-clang projects, is licensed under a BSD-3 license which can be found in the LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].