This is the source code repo of reStructuredText grammar file for ANTLR 4. Visual Studio 2017/Rider is required to compile it. It should run cross platform.
It is licensed under MIT license.
This piece of work was started by Bart Kiers in 2011 as a Stack Overflow answer and Lex Li picked it up in 2017 to continue the momentum.
- Compatibility to existing parsers, like Sphinx and the JavaScript one.
- Linter and Language Server for Sphinx to empower Visual Studio Code reStructuredText extension.
- (Probably) DocFX fork to replace Sphinx completely.
Issues and questions can be created directly at GitHub.