[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ANN] Introducing Pygments Plug-in Parser
From: |
Leo Liu |
Subject: |
Re: [ANN] Introducing Pygments Plug-in Parser |
Date: |
Mon, 10 Mar 2014 15:40:59 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.9.2) |
On 2014-03-10 00:08 +0800, Yoshitaro Makise wrote:
> Let me introduce the first release of Pygments Plug-in Parser for GNU
> GLOBAL.
>
> https://github.com/yoshizow/global-pygments-plugin
>
> This is a plug-in parser for GNU GLOBAL.
> Uses Pygments to extract symbol tags. Pygments is a syntax highlighter
> written in Python.
> This plug-in supports wide variety of programming languages thanks to
> Pygments.
Very interesting approach and could make global usable for a lot more
languages.
> This software can also use Exuberant Ctags for collecting definition
> tags as well as symbol tags. By combining both tags information, this
> plug-in can generate both definition tags and reference tags.
>
> I have developed this software for the following purposes.
>
> - To support wide variety of programming languages
> - To generate reference tags (ctags doesn't do this)
>
> Using Pygments for source code indexing is a bit hacky, so there are
> some limitations.
>
> - Not work well with some programming languages (e.g. CoffeeScript)
> - Much slower than gtags built-in parser or ctags plug-in parser
> If you are interested in this software, please check and give me
> feedback.
Two trivial issues:
1. make install doesn't install pygments_parser.py
2. maybe change the first line of pygments_parser.py to #!/usr/bin/env python
I will use this plugin for php and will give more feedback later on.
Everything seems working well except the initial indexing time.
Leo