From d4503374ff6171425c70a57899443cef10210553 Mon Sep 17 00:00:00 2001 From: Erez Sh Date: Thu, 13 Aug 2020 10:09:31 +0300 Subject: [PATCH] Small addition to docs --- README.md | 1 + docs/grammar.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 23ec565..69ccb2b 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,7 @@ Check out the [JSON tutorial](/docs/json_tutorial.md#conclusion) for more detail - [miniwdl](https://github.com/chanzuckerberg/miniwdl) - A static analysis toolkit for the Workflow Description Language - [pytreeview](https://gitlab.com/parmenti/pytreeview) - a lightweight tree-based grammar explorer - [harmalysis](https://github.com/napulen/harmalysis) - A language for harmonic analysis and music theory + - [gersemi](https://github.com/BlankSpruce/gersemi) - A CMake code formatter Using Lark? Send me a message and I'll add your project! diff --git a/docs/grammar.md b/docs/grammar.md index d4ecec5..ff6553f 100644 --- a/docs/grammar.md +++ b/docs/grammar.md @@ -112,6 +112,8 @@ Terminals can be assigned priority only when using a lexer (future versions may Priority can be either positive or negative. If not specified for a terminal, it defaults to 1. +Highest priority terminals are always matched first. + ### Regexp Flags You can use flags on regexps and strings. For example: