Skip to content

WIP: Output to RST#50

Open
Vertmo wants to merge 8 commits intoott-lang:masterfrom
Vertmo:rst
Open

WIP: Output to RST#50
Vertmo wants to merge 8 commits intoott-lang:masterfrom
Vertmo:rst

Conversation

@Vertmo
Copy link
Contributor

@Vertmo Vertmo commented Jun 5, 2019

I've started working on an output to ReStructuredText, a format mainly used for documentation.

Usage

  • ott [...] -o file.rst
  • secondary mode : split the output into multiple files (one per rule / production) with the option -rst_split_output true

TODO

  • Document the mode
  • Handle cases for other Struct in output-splitting mode
  • Test with more complete specs

@PeterSewell
Copy link
Contributor

PeterSewell commented Jun 6, 2019 via email

@Vertmo
Copy link
Contributor Author

Vertmo commented Jun 6, 2019

Well, to be honest I was working on this mainly to serve my specific purpose. However, it's interesting to note that rst is used in the ReadTheDocs tool, which powers (among other things) the documentation of dune (https://dune.readthedocs.io/en/latest/) and Coq itself (https://coq.inria.fr/distrib/current/refman/) so I'd say it's still relevant for users of ott.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants