Crates.io | tree-sitter-rst |
lib.rs | tree-sitter-rst |
version | 0.1.0 |
source | src |
created_at | 2022-08-26 22:15:20.996677 |
updated_at | 2022-08-26 22:15:20.996677 |
description | reStructuredText grammar for the tree-sitter parsing library |
homepage | https://stsewd.dev/tree-sitter-rst/ |
repository | https://github.com/stsewd/tree-sitter-rst |
max_upload_size | |
id | 653078 |
size | 456,131 |
reStructuredText grammar for tree-sitter. Based on the specification from https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html.
Check the playground at https://stsewd.dev/tree-sitter-rst/.
Note: this grammar is still under development, a lot of things may change!
body
.reference
nodes,
here they are standalone_hyperlink
nodes.
This is to avoid confusion with inline references nodes
(that are a reference
node).Implement tables?
Validate length of adornments in sections?
The spec doesn't mention this, but this paragraph does.
The underline/overline must be at least as long as the title text.
https://docutils.sourceforge.io/docs/user/rst/quickstart.html
Check the CONTRIBUTING.md file
TODO
, FIXME(user)
.