From 87090fe819ccea78d873a0fac46469f0fecacbbd Mon Sep 17 00:00:00 2001 From: Erez Shinan Date: Sat, 4 Nov 2017 21:10:46 +0200 Subject: [PATCH] Updated Philosophy (markdown) --- Philosophy.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Philosophy.md b/Philosophy.md index d469f36..8f5c6c0 100644 --- a/Philosophy.md +++ b/Philosophy.md @@ -42,6 +42,8 @@ You can skip the creation of the tree for LALR(1), by providing a callback (see Although Earley is the slower alternative, it has the huge benefit of accepting any context-free grammar (i.e. any grammar you can write in EBNF, it can parse). +That means you can use Lark to toy around with your language, and worry about performance later. Don't forget: "Premature optimization is the root of all evil!" + Notes: - Some approaches and grammar structures are faster than others. If you care about speed, you can learn them gradually while your code is already working. - Nondeterminstic grammars and ambiguous grammars will run a little slower