Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit e9e1f01

Browse files
author
Patrick Thomson
authored
Merge pull request #657 from ahelwer/patch-1
External scanners: used for CSGs, not CFGs
2 parents b162132 + 7d84329 commit e9e1f01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/why-tree-sitter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To serve these goals, the following options were considered alongside `tree-sitt
2929
8. **Open source.** By using tree-sitter we can lean on open source contributors to do grammar development work.
3030
9. **Low learning curve.** Writing grammars in JavaScript (as opposed to some custom notation/language) is quite powerful.
3131
10. **Multiple algorithms for handling ambiguity.** Precedence annotations at compile time, GLR at runtime.
32-
11. **External scanner support.** In case you need to parse a context free grammar. An example of an external scanner is in [Ruby's language support](https://github.com/tree-sitter/tree-sitter-ruby/blob/master/src/scanner.cc).
32+
11. **External scanner support.** In case you need to parse a context-sensitive grammar. An example of an external scanner is in [Ruby's language support](https://github.com/tree-sitter/tree-sitter-ruby/blob/master/src/scanner.cc).
3333
12. **Solid tooling for development and debugging.** Tree-sitter makes it easy to get up and running fairly quickly. It also provides detailed error messages to guide grammar development.
3434
13. **Built in performance tooling.**
3535
14. **Parsing is very fast.**

0 commit comments

Comments
 (0)