Skip to main content

A parsetab.py parser that generates .tex file

Project description

parsetabtolatex parses an output file of ply and extracts the grammar into a .tex file using the grammar environment provided by the syntax LaTeX package.

Author License Homepage
Maria Climent-Pommeret MIT Licence https://gitlab.climent-pommeret.red/Chopopope/parsetabtolatex

Installation

Please run the following command in a virtual environment using Python3.5

pip install parsetabtolatex

Usage example

In[1]: from parsetabtolatex import parsetabtolatex as pl

In[2]: pl.ParseTabToLatatex("/tmp/partetab.py", "/tmp/grammar.tex").generate()

Project details


Download files

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

Source Distribution

parsetabtolatex-0.0.2.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

parsetabtolatex-0.0.2-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page