From ae9bc65338f0d4bac4c7a9787e226f10afcc7c5d Mon Sep 17 00:00:00 2001 From: Nikos M Date: Thu, 6 Aug 2015 14:13:12 +0300 Subject: [PATCH] readme --- README.md | 3 +-- grammar-reference.md | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 670742a..1531afe 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,7 @@ See also: [codemirror-grammar](https://github.com/foo123/codemirror-grammar) , * `Grammar` **specification can be minimal** (defaults will be used) (see example grammars) * [`Grammar Syntax Model`](/grammar-reference.md) can enable highlight in a more context-specific way, plus detect possible *syntax errors* * [`Grammar Syntax Model`](/grammar-reference.md) can contain *recursive references* -* [`Grammar Syntax Model`](/grammar-reference.md) can be specificed using [`BNF`](https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_Form)-like notation (**NEW feature**) -* Generated highlight modes can support **toggle comments** and **keyword autocompletion** functionality if defined in the grammar +* [`Grammar Syntax Model`](/grammar-reference.md) can be specificed using [`PEG`](https://en.wikipedia.org/wiki/Parsing_expression_grammar)-like notation or [`BNF`](https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_Form)-like notation (**NEW feature**) * Generated parsers are **optimized for speed and size** diff --git a/grammar-reference.md b/grammar-reference.md index b915b15..6adc38f 100644 --- a/grammar-reference.md +++ b/grammar-reference.md @@ -1,5 +1,7 @@ ##Grammar configuration options +`Grammar.Lex` and `Grammar.Syntax` parts are similar in notation and functionality to [Parsing Expression Grammars (`PEGs`)](https://en.wikipedia.org/wiki/Parsing_expression_grammar), [(extended) BNF](https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_Form)-like notation can also be used (see below) + ###Extra Settings