No description or website provided.
Dylan C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
README.rst
clang-dylan.lid
clang.jam
cursor-helper.c
cursor-wrapper.dylan
index-wrapper.dylan
library.dylan
main.dylan
translation-unit-wrapper.dylan

README.rst

clang-dylan

This is a binding around the C API exported by libclang.

Build Directions

To build this, you need to:

  • Get and build llvm and clang locally. I'm using the current master rather than any particular released version.
  • Add the bin dir from your llvm / clang build to your PATH so that the build system can find llvm-config.
  • For now, you then need to delete the libclang.dylib so that the libclang.a is used. This is discussed in the TODO.

After that, you can just:

dylan-compiler -build clang-dylan.lid

TODO

  • Switch to using libclang.dylib rather that a static link of everything. This involves starting to correctly use rpath stuff on OS X.
  • When walking AST, it is not visiting the right stuff now.
  • When walking the AST, need to be able to return the right value.
  • Need to wrap a bunch of stuff for the cursor to get back data about what is being walked.
  • Support the rest of the API as needed.