More docs

This commit is contained in:
Aleksey Kladov 2018-02-03 22:44:17 +03:00
parent a5a6973df6
commit b072e68ad5

View file

@ -17,14 +17,20 @@ cargo tool
```
# Tool: `gen`
## Tool: `gen`
This tool reads a "grammar" from [grammar.ron](../grammar.ron) and
generates the `syntax_kinds.rs` file. You should run this tool if you
add new keywords or syntax elements.
# Tool: 'parse'
## Tool: `parse`
This tool reads rust source code from the standard input, parses it,
and prints the result to stdout.
## Tool: `collect-tests`
This tools collect inline tests from comments in libsyntax2 source code
and places them into `tests/data/inline` directory.