https://github.com/ousttrue/clangcaster
clang parse then generate dll import
https://github.com/ousttrue/clangcaster
Last synced: 11 months ago
JSON representation
clang parse then generate dll import
- Host: GitHub
- URL: https://github.com/ousttrue/clangcaster
- Owner: ousttrue
- License: mit
- Created: 2020-06-12T09:46:19.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-21T04:08:12.000Z (almost 6 years ago)
- Last Synced: 2025-01-21T00:20:10.045Z (over 1 year ago)
- Language: C#
- Size: 340 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# ClangCaster
* Parse c++ header
* Generate enum, struct and DLLImport of CSharp
## folder
### CIndex
* require environment variable `PATH` contains path to `libclang.dll` (LLVM-10.0)
* netstandard2.0
* Parse clang-c/Index.h and is generated by ClangCaster
### ClangAggregator
* Parse c++ header by CIndex and aggregator type info.
### ClangCaster
* Aggregate type info by ClangAggregator and Generate C# code.
* using DotLiquid.
## first version
Generated https://github.com/ousttrue/regenerator .
## implementation
### libclang
* [x] done
### windows.h
* [x] rename struct tagXXX