pygments-q

A pygments lexer for the Q programming language

Overview

This package provides a Q programming language lexer for pygments.

The lexer is published as an entry point and, once installed, pygments will pick it up automatically.

You can then use the q language with pygments::

$ pygmentize test.q

Installation

Use your favorite installer to install pygments-q into the same Python you have installed pygments. For example:

$ pip install pygments-q

To verify the installation run:

$ pygmentize -L lexer | grep -w q
* q:
    Q (filenames *.q)