[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    [Kde-bindings] smokegen on clang
From:       Chris Burel <chrisburel () gmail ! com>
Date:       2015-09-02 0:33:11
Message-ID: CAPOisTsffT8ikbDhanx-nmuh0Dvqo53ncKJX1=nyYrHJ2PiV_A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hey guys,
It seems that the smoke library isn't actively being maintained, and the
current smokegen tool doesn't successfully parse the Qt5 headers anymore.
I was wondering if anyone has considered using clang's libraries to parse
the Qt5 headers, and generate the smoke libraries that way.  IIRC,
smokegen's parser is based on kdevelop's parser that was written for syntax
highlighting, and was presumably forked from that project some time ago, so
as new language features are added, smokegen will lag behind.  Granted,
clang is a moving target too, as its API changes frequently, but it does
seem like smokegen could use the RecursiveASTVisitor and be a lot less code
to maintain.

Thoughts?
-Chris

[Attachment #5 (text/html)]

<div dir="ltr"><div><div>Hey guys,<br>It seems that the smoke library isn&#39;t \
actively being maintained, and the current smokegen tool doesn&#39;t successfully \
parse the Qt5 headers anymore.   I was wondering if anyone has considered using \
clang&#39;s libraries to parse the Qt5 headers, and generate the smoke libraries that \
way.   IIRC, smokegen&#39;s parser is based on kdevelop&#39;s parser that was written \
for syntax highlighting, and was presumably forked from that project some time ago, \
so as new language features are added, smokegen will lag behind.   Granted, clang is \
a moving target too, as its API changes frequently, but it does seem like smokegen \
could use the RecursiveASTVisitor and be a lot less code to \
maintain.<br><br></div>Thoughts?<br></div>-Chris<br></div>


[Attachment #6 (text/plain)]

_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic