Hi, we want to implement a C++ interpreter using LLVM and clang, to replace our existing one <http://root.cern.ch/drupal/content/cint> that is used as part of a data handling and analysis environment <http://root.cern.ch>. We plan to keep the set of features that our current interpreter offers, e.g. calls into and out of libraries, dynamic scoping, unloading of code, and a prompt. I will (hopefully :-) present the plans at the upcoming developers' meeting in October. I am aware of at least one other effort pushing into the same direction; maybe there are more people interested in getting this done? If you are, please contact me until Wednesday, Sept 2nd. My colleagues and I would like to meet you informally in the morning of Saturday, Oct 3, right after the dev meeting, if possible somewhere close to the Apple campus. We'd like to hear what your goals are, whether we can combine our work, and discuss experiences, problems and possible solutions. Axel.
2009/8/31 Axel Naumann <Axel.Naumann at cern.ch>:> we want to implement a C++ interpreter using LLVM and clangIsn't clang going on that direction anyway? cheers, --renato Reclaim your digital rights, eliminate DRM, learn more at http://www.defectivebydesign.org/what_is_drm
On Aug 31, 2009, at 1:19 PM, Renato Golin wrote:> 2009/8/31 Axel Naumann <Axel.Naumann at cern.ch>: >> we want to implement a C++ interpreter using LLVM and clang > > Isn't clang going on that direction anyway? > > cheers, > --renatoBuilding a C++ interpreter involves a substantial amount of work beyond building a working C++ frontend and code generator (translation to LLVM IR). I think Axel was referring to the work on the interpreter itself, which would build on top of the work-in-progress C+ + support in Clang. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090831/5baeb507/attachment.html>
On Aug 31, 2009, at 1:19 PM, Renato Golin wrote:> 2009/8/31 Axel Naumann <Axel.Naumann at cern.ch>: >> we want to implement a C++ interpreter using LLVM and clang > > Isn't clang going on that direction anyway?Clang is meant to be flexible enough to be used as the basis for a C++ interpreter. However, there will probably be a bit of work to do in Clang to make this happen, e.g., by providing clean APIs for an interpreter to call into Clang's parser to parse a new expression/ statement/function. - Doug
On Mon, Aug 31, 2009 at 1:19 PM, Renato Golin<rengolin at systemcall.org> wrote:> 2009/8/31 Axel Naumann <Axel.Naumann at cern.ch>: >> we want to implement a C++ interpreter using LLVM and clang > > Isn't clang going on that direction anyway?clang is implementing C++ support, but nothing has been done in the direction of building an interpreter. -Eli