forked from ae3f/aclspv
Annotated C-family Language -> Spir-V compiler
- C 93.6%
- C++ 5.1%
- CMake 1.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Changes to be committed: - modified: lib/aclexpr/carve/op1/subscript.c - modified: lib/aclexpr/carve/ptr.h - modified: src/source.cl |
||
| cfg | ||
| cmake | ||
| example | ||
| inc | ||
| lib | ||
| src | ||
| test | ||
| .gitignore | ||
| aclang.md | ||
| CMakeLists.txt | ||
| LICENSE | ||
| LICENSE-llvm | ||
| README.md | ||
Warning
it is incomplete project. please keep your expectation of this application low.
aclspv
summary
- this project is written in strict iso c90 to make this project as portable and stable as possible in my knowledge.
- this project could be compiled in higher version or dialect of c to increase its performance.
- this project compiles c-family language with annotation attributes to SPIR-V compiler library. -
- this project is can generate flexible form of entry points.
- uses clang-c as frontend to generate ast.
- list of attribute specs is written here
tree
libfor library source to be compiledincfor library headersrcis for dsl of generated headers.
how to build
cmake -S. -Bbuild
cmake --build build
dependency
- cmake >= 3.10
- c compiler which compiles iso c90 or later which supports compile definition (-D)
- libclang >= 17