Skip to main content

Sphinx domain and autodoc for Antlr4 grammars

Project description

Sphinx plugin for Antlr4

A4Doc is a sphinx plugin for documenting Antlr4 grammars.

It’s primary target is to provide some overview for DSL users (generated documentation may not include some nuances essential for compiler developers).

A4Doc's features are:

  • a new domain with grammar and rule directives called a4;
  • directives for rendering railroad diagrams;
  • directive for extracting documentation comments and rendering docs and diagrams from .g4 source files.

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

sphinx-a4doc-1.0.0.tar.gz (74.7 kB view hashes)

Uploaded Source

Built Distribution

sphinx_a4doc-1.0.0-py3-none-any.whl (83.6 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