clangml icon indicating copy to clipboard operation
clangml copied to clipboard

OCaml bindings for clang

Results 27 clangml issues
Sort by recently updated
recently updated
newest added

I can't have access to the inria so I'm open the issue here. On ppc64 with the default stack size (8192) or on x86_64 with half the default stack size...

Not sure why such an exotic license is used/required here.

Here is a pull request enabling compilation of Clangml with a 4.06 compiler. I haven't been able to test the 4.07 beta because a compatible camlp4 version hasn't been released...

File "tools/bridgen/codegen.ml", line 359, characters 18-40: Error: Unbound value String.uppercase_ascii environment: clangml 3.7, clang-3.7, ubuntu 16, ocaml 4.02.3

Looks like some clang/llvm header files are not the same than on Linux

portability bug

- ast.ml and most c++ files are one part and could be BSD, as clang - all the rest is a different part and can be under INRIA's preferred license

enhancement

Change https://github.com/Antique-team/clangml/blob/master/tools/bridgen/c%2B%2B/ocaml%2B%2B.h#L486 to use `std::make_index_sequence` http://en.cppreference.com/w/cpp/utility/integer_sequence

enhancement

It may be useful to have textual queries written in an xpath-like language to extract parts of the AST. It would probably return a list of `XP_Decl of decl |...

feature