From c642eeeab7839d9116300077bf8f74898dc434aa Mon Sep 17 00:00:00 2001 From: Jeroen van der Heijden Date: Mon, 15 Oct 2018 16:23:16 +0200 Subject: [PATCH] Upd readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7c5a9e6..6cf708b 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,7 @@ my_grammar = MyGrammar() # Use the compiled grammar to parse 'strings' print(my_grammar.parse('hi "Iris"').is_valid) # => True print(my_grammar.parse('bye "Iris"').is_valid) # => False +print(my_grammar.parse('bye "Iris"').as_str()) # => error at position 0, expecting: hi ``` ## Grammar