I try to use Rascal to compute metrics out of an AST that is created with Clang out of Objective C code. Since the structure of the Clang AST differs from the one that is used in Rascal, i think it needs some refactoring or workarounds to work with it.
One way could be to write a parser that translate the AST. An other way could be to use regular expressions with recursion. But there are a lot of elements in the Clang AST and it would take some time to write a parser or a function.
Is there a less time consuming way to traverse a Clang AST in Rascal?