Browse Source

Docs: Added instructions on how to run the examples

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.6.6
Erez Shinan 6 years ago
parent
commit
01c25dd0c8
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      examples/README.md

+ 12
- 0
examples/README.md View File

@@ -1,5 +1,17 @@
# Examples for Lark

#### How to run the examples

After cloning the repo, open the terminal into the root directory of the project, and run the following:

```bash
[lark]$ python -m examples.<name_of_example}

For example, the following will parse all the Python files in the standard library of your local installation:

$ python -m examples.python_parser
```

### Beginners

- [calc.py](calc.py) - A simple example of a REPL calculator


Loading…
Cancel
Save