Browse Source

Examples: A minor fix

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.12.0
Erez Sh 4 years ago
parent
commit
22f50e9490
2 changed files with 11 additions and 1 deletions
  1. +1
    -1
      examples/standalone/README.md
  2. +10
    -0
      examples/standalone/json_parser_main.py

+ 1
- 1
examples/standalone/README.md View File

@@ -3,7 +3,7 @@
To initialize, cd to this folder, and run:
````bash
```bash
./create_standalone.sh
```


+ 10
- 0
examples/standalone/json_parser_main.py View File

@@ -1,3 +1,13 @@
"""
Standalone Parser
===================================

This example demonstrates how to generate and use the standalone parser,
using the JSON example.

See README.md for more details.
"""

import sys

from json_parser import Lark_StandAlone, Transformer, inline_args


Loading…
Cancel
Save