[Github-comments] [geany/geany] Upstream or alternative solution for ctags regex parsers (#2119)

Colomban Wendling notifications at xxxxx
Thu Apr 25 06:38:28 UTC 2019


> I'm very surprised that @b4n has rewritten two parsers of u-ctags.
> Improving Cobol and Flex parsers are welcome but... @b4n, what will you do if someone adds more regex basedd parsers to u-ctags. Replacing the regex engine of u-ctags is more effortless.

Adding support for u-ctags regex parser would be better and is the goal, but it's not easy, and certainly not effortless -- see @techee's work :slightly_smiling_face: 
The reason why I worked on the parsers is that we'd need something working in the next release for COBOL and ActionScript, relase which is supposed to happen next weekend, which is awful close, and I didn't expect getting the regex parsers to work would be a trivial task that would take a couple of hours and be robust.  So I figured that it was safer to work on 2 parsers, as if there really was a problem with them it would only affect users of those, not potentially everyone.  And well, while at it I figured I could probably improve parsing for the relevant languages given those regex parsers seemed quite basic.
Also to be fair you failed to take into account my tendency to write parsers for languages I don't know :grinning: 

---
I'll answer the rest later, hopefully today.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2119#issuecomment-486539036
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190424/cc7a005f/attachment.html>


More information about the Github-comments mailing list