Annotated C-family Language -> Spir-V compiler
- C 84.2%
- C++ 14.7%
- CMake 1.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Changes to be committed: - modified: CMakeLists.txt - modified: lib/aclexpr/carve.c - new file: lib/aclexpr/carve/op1/rsqrtf_nr.c - new file: lib/aclexpr/carve/op1/rsqrtf_nr.h - new file: lib/aclexpr/visit/opn/nrmath.c - new file: lib/aclexpr/visit/opn/nrmath.h - new file: lib/aclexpr/visit/opn/nrmath/api.h - new file: lib/aclexpr/visit/opn/nrmath/op1/rsqrt.c - new file: lib/aclexpr/visit/opn/nrmath/op1/rsqrt.h |
||
| cfg | ||
| cmake | ||
| example | ||
| inc | ||
| lib | ||
| src | ||
| test | ||
| .gitignore | ||
| aclang.ko-kr.md | ||
| 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