aboutsummaryrefslogtreecommitdiff
path: root/docs/dev/architecture.md
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-02-06 22:52:42 +0000
committerGitHub <[email protected]>2021-02-06 22:52:42 +0000
commitdf7f5e9421534121002ab4510eefea3ed7aee295 (patch)
treeb2a58c2f8a4c98732ee6538bd9e50eb48a71f817 /docs/dev/architecture.md
parentd7c99931d05e3723d878bea5dc26766791fa4e69 (diff)
parentc2064e8bcfdd937ef05a5e1ff59b532b4a37181e (diff)
Merge #7583
7583: Update architecture.md r=bjorn3 a=aTuck Typo Co-authored-by: Adam Tuck <[email protected]>
Diffstat (limited to 'docs/dev/architecture.md')
-rw-r--r--docs/dev/architecture.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/architecture.md b/docs/dev/architecture.md
index 56ebaa3df..a6bb024a8 100644
--- a/docs/dev/architecture.md
+++ b/docs/dev/architecture.md
@@ -75,7 +75,7 @@ Original [libsyntax parser](https://github.com/rust-lang/rust/blob/6b99adeb11313
75 75
76**Architecture Invariant:** the parser is independent of the particular tree structure and particular representation of the tokens. 76**Architecture Invariant:** the parser is independent of the particular tree structure and particular representation of the tokens.
77It transforms one flat stream of events into another flat stream of events. 77It transforms one flat stream of events into another flat stream of events.
78Token independence allows us to pares out both text-based source code and `tt`-based macro input. 78Token independence allows us to parse out both text-based source code and `tt`-based macro input.
79Tree independence allows us to more easily vary the syntax tree implementation. 79Tree independence allows us to more easily vary the syntax tree implementation.
80It should also unlock efficient light-parsing approaches. 80It should also unlock efficient light-parsing approaches.
81For example, you can extract the set of names defined in a file (for typo correction) without building a syntax tree. 81For example, you can extract the set of names defined in a file (for typo correction) without building a syntax tree.