On 07/16/2014 11:27 AM, Sylvain Joyeux wrote: > Well.. They are wrapping complete libraries, so they need a lot more. > > I was giving it out as an example of: > - how to get the binary layout / set up the parser to get it (around line > 586) ahjo, janosch? > - how to set up the stuff without a compilation database (they give > arguments directly) yes, this is possible of course. there is no need to set up stuff manually -- as far is I got reading the documentation the "ParseCommandLineOptions" can handle this. > > Now, if you feel that you don't need it, feel free to ignore ;-) okok... I just saw 2000 lines of code... ;-) > > Sylvain > > On Wed, Jul 16, 2014 at 11:00 AM, Martin Zenzes <[email protected]> wrote: >> On 07/16/2014 10:56 AM, Sylvain Joyeux wrote: >>> Something else that can be of interest: >>> >>> https://github.com/tritao/CppSharp/blob/master/src/Parser/Parser.cpp >>> >>> it is C#, but does really what we need (and is really really close to >>> C++ anyways). >> uhaa, 2200 lines? i have the hope that a single (complicated) line of >> AST-matcher plus some if-filter in the callback (for the list of types >> in a header file) and a call to the compiler-backend (for the memory >> layout) is sufficient...? >>> Sylvain >>> >>> On Wed, Jul 16, 2014 at 10:44 AM, Sylvain Joyeux <[email protected]> >>> wrote: >>>>> well building inside the clang source tree is the easiest way, while in >>>>> the proof-of-concept phase. >>>> Oh ... definitely >>>> >>>>> ubuntu 12.04 comes with libclang-3.0 (hmm...) >>>>> ubuntu 14.04 comes with libclang-3.4 >>>>> debian comes with 3.4 and 3.3... >>>> I would make people stick with gccxml on 12.04 and support clang only >>>> from 14.04 onwards. By the time we get it to work properly, we will be >>>> close to stop the 12.04 support anyways. >>>> >>>> Sylvain >> -- >> M.Sc. Martin Zenzes >> Space Robotics >> >> Hauptgeschäftsstelle Standort Bremen: >> DFKI GmbH >> Robotics Innovation Center >> Robert-Hooke-Straße 5 >> 28359 Bremen, Germany >> >> Phone: +49 (0) 421 178 45 - 6658 >> Fax: +49 (0) 421 178 45 - 4150 >> E-Mail: [email protected] >> >> Weitere Informationen: http://www.dfki.de/robotik >> ----------------------------------------------------------------------- >> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH >> Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern >> Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster >> (Vorsitzender) Dr. Walter Olthoff >> Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes >> Amtsgericht Kaiserslautern, HRB 2313 >> Sitz der Gesellschaft: Kaiserslautern (HRB 2313) >> USt-Id.Nr.: DE 148646973 >> Steuernummer: 19/673/0060/3 >> ----------------------------------------------------------------------- >> >> _______________________________________________ >> Rock-dev mailing list >> [email protected] >> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
-- M.Sc. Martin Zenzes Space Robotics Hauptgeschäftsstelle Standort Bremen: DFKI GmbH Robotics Innovation Center Robert-Hooke-Straße 5 28359 Bremen, Germany Phone: +49 (0) 421 178 45 - 6658 Fax: +49 (0) 421 178 45 - 4150 E-Mail: [email protected] Weitere Informationen: http://www.dfki.de/robotik ----------------------------------------------------------------------- Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter Olthoff Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes Amtsgericht Kaiserslautern, HRB 2313 Sitz der Gesellschaft: Kaiserslautern (HRB 2313) USt-Id.Nr.: DE 148646973 Steuernummer: 19/673/0060/3 ----------------------------------------------------------------------- _______________________________________________ Rock-dev mailing list [email protected] http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
