[Geany-Devel] [FT-plugins] Proposed "Features"
Lex Trotman
elextr at xxxxx
Wed Aug 31 14:52:49 UTC 2016
On 1 September 2016 at 00:43, Thomas Martitz <kugel at rockbox.org> wrote:
> Am 31.08.2016 um 16:39 schrieb Matthew Brush:
>>
>>
>> I can't speak to all compiler libraries, but at least libclang, libpython
>> and libvala "compile" the source (well just the front-end of the compiler is
>> needed). They literally use the built-in compiler front ends to understand
>> the code. In the case of libclang, it additionally provides helpful methods
>> for performing IDE-related features on the AST, while say with libvala, the
>> ft-plugin would be required to perform it's own analysis of the AST to
>> implement those feaures, which is still a lot less work than in Geany/TM
>> since it has access to the full AST/context and the ft-plugin need not fear
>> encoding language specific semantics into its logic.
>
>
> How do you pass {C,CXX,CPP}FLAGS to libclang? And where do you get them
> from?
Libclang needs the full-fat build knowledge that "project" systems on
other IDEs provide. Another reason to keep it separate from Geany.
>
> Best regards
>
> _______________________________________________
> Devel mailing list
> Devel at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel
More information about the Devel
mailing list