Skip to main content

Pygments lexer and style for the AnyScript language

Project description

Pygments AnyScript plugin

https://img.shields.io/travis/AnyBody/pygments-anyscript.svg https://img.shields.io/pypi/v/pygments_anyscript.svg https://anaconda.org/conda-forge/pygments_anyscript/badges/version.svg https://anaconda.org/conda-forge/pygments_anyscript/badges/downloads.svg

Pygments lexer and style for the AnyScript language. AnyScript is the scripting langugage used for the AnyBody Modeling System; a system for multibody musculoskeletal analysis.

Installation

  • Pip: Run pip install pygments-anyscript
  • Conda: Run conda -c conda-forge pygments_anyscript
  • Source: Download source and execute python setup.py install

Requirements

  • pygments

Usage

The lexer and style can be used with the Pygments api like any other lexer or style.

$ pygmentize -l AnyScript MyAnyScriptFile.any
$ pygmentize -l AnyScript -O style=anyscript MyAnyScriptFile.any
$ pygmentize -l AnyScript -f html -O full,style=anyscript -o  MyAnyScriptFile.html MyAnyScriptFile.any

History

1.2.1 (2018-09-13)

  • Try to automatic deplay to pypi using travis

1.2.0 (2018-09-13)

  • Update class, function, and global names to support newest version of the AnyScript language

1.1.0 (2017-08-02)

  • Add support for Body Model parameters for AMMR 2.0.
  • Update AnyScriptDoc lexer to ignore syntax error etc. This makes it possible to use the lexer with sphinx even if the code is not sytactically correct.

1.0.0 (2017-08-02)

  • Update documentation and release as 1.0.0

0.2.0 (2017-08-02)

  • Split Lexer for AnyScript documentation into its own AnyScriptDocLexer.
  • Update the AnyScriptStyle to match the look in the AnyBody Modeling System.

0.1.0 (2017-08-01)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pygments_anyscript-1.2.1-py2.py3-none-any.whl (10.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Sep 13, 2018
pygments_anyscript-1.2.1.tar.gz (12.1 kB) Copy SHA256 hash SHA256 Source None Sep 13, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page