From c2064e8bcfdd937ef05a5e1ff59b532b4a37181e Mon Sep 17 00:00:00 2001 From: Adam Tuck Date: Sat, 6 Feb 2021 14:40:23 -0800 Subject: Update architecture.md Typo --- docs/dev/architecture.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/dev') 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 **Architecture Invariant:** the parser is independent of the particular tree structure and particular representation of the tokens. It transforms one flat stream of events into another flat stream of events. -Token independence allows us to pares out both text-based source code and `tt`-based macro input. +Token independence allows us to parse out both text-based source code and `tt`-based macro input. Tree independence allows us to more easily vary the syntax tree implementation. It should also unlock efficient light-parsing approaches. For example, you can extract the set of names defined in a file (for typo correction) without building a syntax tree. -- cgit v1.2.3