Skip to main content

Autogeneration of DSL documentation for TextX

Project description

# TextX DSL autodocumentation tool A non-official TextX poc-project aiming to autogenerate documentation of DSL.

For testing the TextX integration, you will be required to install [from repository]( since the CLI extending is not available in 1.8.

## Files

  • []( example of DSL definition directly taken [from another project](
  • [out.html](out.html): the HTML output file (take a look to get a feeling of the current project achievements)
  • []( first implementation, absolutely bad, but few functions are worth saving
  • []( use some functions of to implement the same thing, but in a clearer manner
  • []( rendering of arpeggio (textx backend) grammars

[Current results](out.html) are encouraging.

## F(unny )eatures

  • support of docstrings (those at user classes level)
  • auto-generation of examples for regexes, and complete linking to [](


  • integrate complete example (either randomly or author-provided)
  • get a complete example with advanced features like references and other textx/arpeggio constructs
  • fix detection and handling of terminal for the description of rules
  • generate few examples for each documented rule (randomly, probably)
  • make the generation deterministic
  • humanize the phrasing (ex: when choice only on raw strings, avoid the bullet list and list them inline directly with an or for the last join: Type either _a_, _b_ or _c_)
  • integration into textx with [textx subcommands]( (see [doc](

Project details

Download files

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

Files for textx-dsldoc, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size textx_dsldoc-0.0.1-py3-none-any.whl (12.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size textx-dsldoc-0.0.1.tar.gz (10.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page