Hi all,
I made a small a small demo app that shows how to use Nim to make standalone applications that use Libclang 10 . In addition to a full set of bindings it also pulls in a custom CMake recipe that can compile libclang as a static archive across platforms. But you don't have to know any of that because it is managed for you by the package manager so building the app is a 2 step process of nimble setup followed by nimble build.
The goal is to make Nim apps pinned to a version of libclang as easy as possible; they have very few runtime dependencies can can be easily deployed as a single binary without having to fiddle with bundling shared libraries and configure paths.
Hi deech.
I am posting here to avoid hijacking the hackaton thread.
I am not sure if I get it. If I understand this correctly, this provides is a way to introspect headers by means of libclang. So this could be used to create a nimterop like tool using libclang instead of using tree-sitter. Did I get it right?
I'd love to see wrapped OCCT, but it is HUGE (more than 7000 files). I dream with Cadquery using Nim templates! ;oP
Regards