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_latex()

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.3.tar.gz (3.8 kB view hashes)

Uploaded source

Built Distribution

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

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page