top | item 26606221

(no title)

yudlejoza | 5 years ago

Wait, wait, wait. I was going to point out llvm/clang, but they disabled that too?

It's a BSD/MIT-license tool. Any idea why they did that?

second big-picture question: how hard is it to code up ast (as long as the source language is not C++)? we have lexers, parsers, PEGs, what not.

discuss

order

detaro|5 years ago

AFAIK the xml-ast was always just intended as a debugging tool for llvm developers, not an API for externals (and thus came with no stability promise). You always were supposed to just link against clang/llvm and use the APIs it specifically provides to access the AST.