From fecfe87a4053e1d70c2a9ebf9735eaf5facd5353 Mon Sep 17 00:00:00 2001 From: ThatXliner Date: Mon, 16 Nov 2020 10:22:07 -0800 Subject: [PATCH] :memo: Updated docs Replaced the notice saying only `common.lark` is available into "`common.lark`, `python.lark`, and `unicode.lark`". --- docs/grammar.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/grammar.md b/docs/grammar.md index e396d39..f92b013 100644 --- a/docs/grammar.md +++ b/docs/grammar.md @@ -268,7 +268,7 @@ When importing rules, all their dependencies will be imported into a namespace, %import (, , , ) ``` -If the module path is absolute, Lark will attempt to load it from the built-in directory (currently, only `common.lark` is available). +If the module path is absolute, Lark will attempt to load it from the built-in directory (which currently contains `common.lark`, `python.lark`, and `unicode.lark`). If the module path is relative, such as `.path.to.file`, Lark will attempt to load it from the current working directory. Grammars must have the `.lark` extension.