Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gnimuc/clangcompiler.jl
Clang compiler infrastructure for Julia
https://github.com/gnimuc/clangcompiler.jl
Last synced: 18 days ago
JSON representation
Clang compiler infrastructure for Julia
- Host: GitHub
- URL: https://github.com/gnimuc/clangcompiler.jl
- Owner: Gnimuc
- License: mit
- Created: 2021-03-14T07:40:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-29T16:02:32.000Z (about 1 month ago)
- Last Synced: 2024-10-12T10:24:23.338Z (27 days ago)
- Language: Julia
- Homepage:
- Size: 2.34 MB
- Stars: 22
- Watchers: 4
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# ClangCompiler
[![CI](https://github.com/Gnimuc/ClangCompiler.jl/actions/workflows/CI.yml/badge.svg)](https://github.com/Gnimuc/ClangCompiler.jl/actions/workflows/CI.yml)
[![TagBot](https://github.com/Gnimuc/ClangCompiler.jl/actions/workflows/TagBot.yml/badge.svg)](https://github.com/Gnimuc/ClangCompiler.jl/actions/workflows/TagBot.yml)
[![codecov](https://codecov.io/gh/Gnimuc/ClangCompiler.jl/graph/badge.svg?token=uJ7HWrZcmd)](https://codecov.io/gh/Gnimuc/ClangCompiler.jl)## Installation
```
pkg> add https://github.com/Gnimuc/ClangCompiler.jl.git
```## Examples
### Decl Lookup
```julia-repl
import ClangCompiler as CCI = CC.create_interpreter(["-include", "vector"])
decl_lookup = CC.DeclFinder(I)
@assert decl_lookup(I, "std::vector")
decl = CC.get_decl(decl_lookup)
CC.dump(decl)CC.dispose(decl_lookup)
CC.dispose(I)
```