[Rock-dev] clang vs. typelib

Martin Zenzes martin.zenzes at dfki.de
Wed Jul 16 11:00:43 CEST 2014


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 <bir.sylvain at gmail.com> 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: martin.zenzes at dfki.de

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
-----------------------------------------------------------------------



More information about the Rock-dev mailing list