page AST normalization, LEMON
package require page::util::norm_lemon ? 0.1 ?
package require snit
This package provides a single utility command which takes an AST for a
lemon grammar and normalizes it in various ways. The result
is called a Normalized Lemon Grammar Tree.
Note that this package can only be used from within a plugin
managed by the package page::pluginmgr.
This command assumes the tree object contains for a lemon
grammar. It normalizes this tree in place. The result is called a
Normalized Lemon Grammar Tree.
The exact operations performed are left undocumented for the moment.
This document, will undoubtedly contain bugs and other problems.
Please report such in the category page
Please also report any ideas for enhancements you may have.
page, lemon, normalization, tree walking, graph walking, parser generator, text processing