Browse Source

Fixes for examples

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.10.0
Erez Sh 4 years ago
parent
commit
c9bd6d491f
4 changed files with 5 additions and 5 deletions
  1. +1
    -1
      examples/advanced/error_puppet.py
  2. +1
    -1
      examples/advanced/error_reporting_lalr.py
  3. +2
    -2
      examples/advanced/python_parser.py
  4. +1
    -1
      examples/advanced/templates.py

+ 1
- 1
examples/advanced/error_puppet.py View File

@@ -1,5 +1,5 @@
"""
Error handling with parsing puppet
Error handling with a puppet
==================================

This example demonstrates error handling using a parsing puppet in LALR


+ 1
- 1
examples/advanced/error_reporting_lalr.py View File

@@ -1,5 +1,5 @@
"""
Example Driver Error Reporting
Example-Driven Error Reporting
==============================

A demonstration of example-driven error reporting with the LALR parser


+ 2
- 2
examples/advanced/python_parser.py View File

@@ -1,6 +1,6 @@
"""
Real Python Parser
==================
Grammar-complete Python Parser
==============================

A fully-working Python 2 & 3 parser (but not production ready yet!)



+ 1
- 1
examples/advanced/templates.py View File

@@ -4,7 +4,7 @@ Templates

This example shows how to use Lark's templates to achieve cleaner grammars

""""
"""
from lark import Lark

grammar = r"""


Loading…
Cancel
Save