Version 1.0
Copyright © 2022 Lowell D. Thomas
Python APG
 … an ABNF Parser Generator
Namespaces | Functions
use.py File Reference

Demonstrates how to use a saved a grammar object. More...

Go to the source code of this file.

Namespaces

 examples.grammar_object.use
 

Functions

def examples.grammar_object.use.use_grammar ()
 

Detailed Description

Demonstrates how to use a saved a grammar object.

For grammars that are used often, saving the grammar object prevents the repeated and redundant re-generation of the grammar object from the SABNF syntax over and over.

This example must be preceeded by examples/grammar_object/save.py. This example uses the saved object from that example.

Definition in file use.py.

Python APG, Version 1.0, is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.