[Geany-Devel] Interested making a patch to add QML support

Tory Gaurnier torygaurnier at xxxxx
Wed Sep 18 17:48:55 UTC 2013


On 09/17/2013 06:45 PM, Matthew Brush wrote:
> On 13-09-17 03:59 PM, Tory Gaurnier wrote:
>> [...]
>> I didn't realize I'd have to create the lexer myself. Is it possible 
>> to use the C lexer that's already in Geany and then work it into the 
>> QML file type? The only thing I really want to get working is the 
>> symbol list (which would be the ctags thing you refered to if I'm not 
>> mistaken, right?).
>>
>
> You could look at the CTags tutorial about extending[1], it has an 
> example for writing a "regex-based" parser which will probably be 
> quite a bit easier for a language like QML, if maybe less powerful 
> than a character-based parser.
>
> Cheers,
> Matthew Brush
>
> [1] http://ctags.sourceforge.net/EXTENDING.html
>
> _______________________________________________
> Devel mailing list
> Devel at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel
Ok, well, I'm going to go ahead and attempt this, I'll be putting my 
current app on hold for a little while and I'm jumping straight into 
CTags for now, I'm not making an promises, but I'm going to see if I can 
get it done, I'll update you if I get something working.


More information about the Devel mailing list