Re: [cfe-users] using Clang for runtime compilation of a class

2015-10-05 Thread Lang Hames via cfe-users
Hi Georg, Joel, Georg - Your question got me curious, so I wrote up a very basic implementation based on the clang-interpreter demo from clang/examples. I've tested it on Darwin with LLVM/Clang r249281 and it works, in its very limited way. I thought I would share it, in case it helps. It sounds

Re: [cfe-users] using Clang for runtime compilation of a class

2015-10-04 Thread Joel Andersson via cfe-users
Hi Georg (and others interested in Clang+JIT), We just implemented this (Clang+JIT) in our open-source project CasADi ( http://casadi.org). Feel free to have a look and/or reuse components. We used a plugin-design for using Clang, which is a bit different from the examples we could find for using

Re: [cfe-users] using Clang for runtime compilation of a class

2015-10-03 Thread David Blaikie via cfe-users
On Sat, Oct 3, 2015 at 12:30 AM, Georg Bartels via cfe-users < cfe-users@lists.llvm.org> wrote: > Dear Clang Users, > > I have a particular programming problem, and several discussion forums > suggested Clang as a possible solution. Being totally new to Clang and its > community, is this the right