Metadata-Version: 2.1
Name: pygments-lexer-pseudocode2
Version: 3.0
Summary: Pygments Lexer for Pseudocode
Author-email: Franz Glasner <fzglas.hg@dom66.de>, Simon Wachter <simon@wachter.me>
License: MIT License
        
        Copyright (c) <year> <copyright holders>
        
        Permission is hereby granted, free of charge, to any person obtaining a copy of this software and 
        associated documentation files (the "Software"), to deal in the Software without restriction, including 
        without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
        copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the 
        following conditions:
        
        The above copyright notice and this permission notice shall be included in all copies or substantial 
        portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT 
        LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO 
        EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 
        IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 
        USE OR OTHER DEALINGS IN THE SOFTWARE.
        
Project-URL: homepage, https://github.com/svvac/pseudocode-pygments-lexer
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: French
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Documentation
Classifier: Topic :: Software Development :: Documentation
Classifier: Topic :: Text Processing
Classifier: Topic :: Utilities
Description-Content-Type: text/x-rst
Requires-Dist: Pygments >=2.2
Requires-Dist: docutils >=0.17

.. -*- coding: utf-8 -*-

*****************************************
 README -- Pseudocode Lexer for Pygments
*****************************************

:Version: 3.0
:Date: 2026-05-23
:Copyright:
   - © 2026 Franz Glasner
   - © 2015 Simon Wachter
:License: MIT License
:Revision: cd22c2e8390d


This package contains `Pygments`_ lexers for some variants of pseudocode.

Initially a fork of `pygments-lexer-pseudocode` it has been considerably
changed and expanded.

It now contains the following lexers:

.. include:: lexerlist.rst

It additionally contains the following filters:

.. include:: filterlist.rst

.. content-pdf


Installation
============

The lexers and filters are available as a `Python`_ wheel package:

  .. code-block:: shell

     pip install pygments-lexer-pseudocode2

Alternatively, to build from the source code repository:

  .. code-block:: shell

     python -m build


Usage
=====

After installation all the Pseudocode lexers and filters automatically
register itself with the plugin system of Pygments.
Their respective aliases and filename extensions are made known to Pygments.

Usage is easy:

  Pygmentizing a file with a known file extension:

    .. code-block:: shell

       pygmentize document.algpseudocode

  Or you can manually select the Pseudocode lexer you want to use by
  using a command line flag:

    .. code-block:: shell

       pygmentize -l algpseudocode somefile

  Within `Sphinx`_ use a lexer like this:

    .. code-block:: none

       .. code-block:: algpseudocode


Licenses
========

The package is licensed under the terms of the MIT Licence.

Some code snippets are licensed under the terms of the
BSD 2-Clause "Simplified" License as they are taken from the Python
lexer that is included in `Pygments`_.
