cbclang
CbCがGHCのtail call使えばもっと簡単になるかもしれない
small Cとはtail call強制方法が違う
Haskell Compilerを読むと良いが読むのむずい
LLVM の setjmp.h を include してるのを取り除く
p get_string(Result.get(),Actions.getASTContext())
(std::string) $5 = "(void **)(calloc(20000000, sizeof(void *)))"
p Tok
Tok が indentifier だったら p Tok.getIdentifierInfo()->getName()
cross compile
target を使う
-target arm64-apple-macosx13.0.0
-target x86_64-apple-macosx13.0.0
x86_64-unknown-linux-gnu
std::unique_ptr<ASTUnit> AST(tooling::buildASTFromCode("({auto x = 1 + 1;})"));
が使えるかも