On Tue, Nov 17, 2015 at 8:35 PM, Andy Jost
Is there interest in an LLVM library? My motivation is to simplify the dynamic creation of functions, modules, and programs by defining an EDSL modeled after the C language. LLVM provides an API based exclusively on function calls that is verbose and difficult to use. The EDSL is more expressive and easier to use. (This may remind some people of Boost.Python and indeed these libraries are similar in motivation.)
The scope of this proposal is limited. The proposed library does not compile, link, optimize, save, or load anything, for example, since the LLVM API is suitable for that. Also, it may not support obscure features, even if they seem to be within its purview, since one can always make direct calls to the LLVM API.
I'm not sure I understand the purpose of this library. It seems to build an AST but then it doesn't seem offer to do anything with it? Is it just a wrapper for LLVM AST API?