Pygments lexer for SQL PL (SQL Procedural Language), the DB2 implementation of ANSI SQL/PSM
Project description
# Pygments lexer for SQL PL
SQL PL (SQL Procedural Language) is the DB2 implementation of ANSI SQL/PSM. This module extends the `SqlLexer` lexer of [Pygments](http://pygments.org/) to support more keywords of SQL PL.
## Installation
$ cd pygments-sql-pl-lexer
$ [sudo] python setup.py install
## Check if the lexer is present
Simply grep the output of the following command for `sqlpl`
$ pygmentize -L lexers | grep sqlpl
## Use the lexer in LaTeX
Replace <language> with **sqlpl**:
\begin{minted}{<language>}
<code>
\end{minted}
For example:
\begin{minted}[linenos=true,frame=single]{sqlpl}
--#SET TERMINATOR @
CREATE OR REPLACE MODULE project @
\end{minted}
produces
![](https://github.com/mitakas/pygments-sql-pl-lexer/blob/master/docs/example.png)
SQL PL (SQL Procedural Language) is the DB2 implementation of ANSI SQL/PSM. This module extends the `SqlLexer` lexer of [Pygments](http://pygments.org/) to support more keywords of SQL PL.
## Installation
$ cd pygments-sql-pl-lexer
$ [sudo] python setup.py install
## Check if the lexer is present
Simply grep the output of the following command for `sqlpl`
$ pygmentize -L lexers | grep sqlpl
## Use the lexer in LaTeX
Replace <language> with **sqlpl**:
\begin{minted}{<language>}
<code>
\end{minted}
For example:
\begin{minted}[linenos=true,frame=single]{sqlpl}
--#SET TERMINATOR @
CREATE OR REPLACE MODULE project @
\end{minted}
produces
![](https://github.com/mitakas/pygments-sql-pl-lexer/blob/master/docs/example.png)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pygments-sql-pl-lexer-0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d72a7c2cd03704c51fcbbb4d29a514432e54a83931639d9efb28cc303743b3d0 |
|
MD5 | 441047e44eba93045b2d862c4981a8c4 |
|
BLAKE2b-256 | aff516878235f7b66afcae8cdd886c1cd72da02c24a59f378dfbd5cf0a834add |
Close
Hashes for pygments_sql_pl_lexer-0.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa6d6e9ee928ddb04897d6f3bbd393ff502385a5503b4a2c6eec9e485a7b7397 |
|
MD5 | 29592cae0c34c004d077adb1b12e8ddb |
|
BLAKE2b-256 | 1094c0178e9f036629a9b8eb8dcc1574fdc36d0ca828d2b815eabf02063a9a2a |