diff options
author | Aleksey Kladov <[email protected]> | 2018-02-03 19:44:17 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-02-03 19:44:17 +0000 |
commit | b072e68ad5bf1687aebd2ff1c7bf327d38a6a2f2 (patch) | |
tree | 6322bf271a4fd5e838098a0f523739fc9a0c9416 | |
parent | a5a6973df68a99a19176c717a337d5cdbf7c5629 (diff) |
More docs
-rw-r--r-- | docs/TOOLS.md | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/TOOLS.md b/docs/TOOLS.md index 1fcfa2dec..f8754c06f 100644 --- a/docs/TOOLS.md +++ b/docs/TOOLS.md | |||
@@ -17,14 +17,20 @@ cargo tool | |||
17 | ``` | 17 | ``` |
18 | 18 | ||
19 | 19 | ||
20 | # Tool: `gen` | 20 | ## Tool: `gen` |
21 | 21 | ||
22 | This tool reads a "grammar" from [grammar.ron](../grammar.ron) and | 22 | This tool reads a "grammar" from [grammar.ron](../grammar.ron) and |
23 | generates the `syntax_kinds.rs` file. You should run this tool if you | 23 | generates the `syntax_kinds.rs` file. You should run this tool if you |
24 | add new keywords or syntax elements. | 24 | add new keywords or syntax elements. |
25 | 25 | ||
26 | 26 | ||
27 | # Tool: 'parse' | 27 | ## Tool: `parse` |
28 | 28 | ||
29 | This tool reads rust source code from the standard input, parses it, | 29 | This tool reads rust source code from the standard input, parses it, |
30 | and prints the result to stdout. | 30 | and prints the result to stdout. |
31 | |||
32 | |||
33 | ## Tool: `collect-tests` | ||
34 | |||
35 | This tools collect inline tests from comments in libsyntax2 source code | ||
36 | and places them into `tests/data/inline` directory. | ||