ClangCompiler.jl

Clang compiler infrastructure for Julia
Author Gnimuc
Popularity
22 Stars
Updated Last
4 Months Ago
Started In
March 2021

ClangCompiler

CI TagBot codecov

Installation

pkg> add https://github.com/Gnimuc/ClangCompiler.jl.git

Examples

Decl Lookup

import ClangCompiler as CC

I = CC.create_interpreter(["-include", "vector"])

decl_lookup = CC.DeclFinder(I)

@assert decl_lookup(I, "std::vector")

decl = CC.get_decl(decl_lookup)
dump(decl)

CC.dispose(decl_lookup)
CC.dispose(I)