File: README.rst

package info (click to toggle)
python-lark 1.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,788 kB
  • sloc: python: 13,305; javascript: 88; makefile: 34; sh: 8
file content (20 lines) | stat: -rw-r--r-- 306 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Standalone example
==================

To initialize, cd to this folder, and run:

.. code-block:: bash

   ./create_standalone.sh

Or:

.. code-block:: bash

   python -m lark.tools.standalone json.lark > json_parser.py

Then run using:

.. code-block:: bash

   python json_parser_main.py <path-to.json>