Skip to content

WIP: Output to RST#50

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

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

Conversation

@Vertmo

@Vertmo Vertmo commented Jun 5, 2019

Copy link
Copy Markdown
Contributor

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

PeterSewell commented Jun 6, 2019 via email

Copy link
Copy Markdown
Contributor

@Vertmo

Vertmo commented Jun 6, 2019

Copy link
Copy Markdown
Contributor Author

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