| ActiveTcl User Guide |

[ Main table Of Contents | Tcllib Table Of Contents | Tcllib Index ]

# page_util_norm_lemon(n) 1.0 "Parser generator tools"

## Name

page_util_norm_lemon - page AST normalization, LEMON

## Table Of Contents

## Synopsis

- package require page::util::norm_lemon ?0.1?
- package require snit

- ::page::util::norm::lemon tree

## Description

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.

## API

::page::util::norm::lemon tree

  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.

## Bugs, Ideas, Feedback

This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category page of the Tcllib Trackers. Please also report any ideas for enhancements you may have for either package and/or documentation.

## Keywords

graph walking, lemon, normalization, page, parser generator, text processing, tree walking

## Category

Page Parser Generator

## Copyright

Copyright © 2007 Andreas Kupries <andreas_kupries@users.sourceforge.net>

#### Copyright © 2015 for compilation: ActiveState