Re: [Vala] lexical analysis using libvala




If it doesn't distort the job of libvala too much, maybe it could be
extended to cover the (modest) additional requirements of a syntax
highlighter, but that means someone taking the time to do patches and
get them approved and integrated.


At this point i able to get all comments using some hacks with libvala
Scanner class. While doing it i've found some bugs, one of them i posted to
bugzilla.



I think that a flag that controls whether or not all comments are
stored in the AST would not create any significant overhead when
turned off for compiling.

Jim


I agree with you. It doesn't look very hard to add some flag, new lexer
types for comments and create a patch for it. I can try to do that work.


-- 
Sincerely,
Magomed


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]