1page_util_norm_lemon(n) Parser generator tools page_util_norm_lemon(n)
2
3
4
5______________________________________________________________________________
6
8 page_util_norm_lemon - page AST normalization, LEMON
9
11 package require page::util::norm_lemon ?0.1?
12
13 package require snit
14
15 ::page::util::norm::lemon tree
16
17______________________________________________________________________________
18
20 This package provides a single utility command which takes an AST for a
21 lemon grammar and normalizes it in various ways. The result is called
22 a Normalized Lemon Grammar Tree.
23
24 Note that this package can only be used from within a plugin managed by
25 the package page::pluginmgr.
26
28 ::page::util::norm::lemon tree
29 This command assumes the tree object contains for a lemon gram‐
30 mar. It normalizes this tree in place. The result is called a
31 Normalized Lemon Grammar Tree.
32
33 The exact operations performed are left undocumented for the mo‐
34 ment.
35
37 This document, and the package it describes, will undoubtedly contain
38 bugs and other problems. Please report such in the category page of
39 the Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist]. Please
40 also report any ideas for enhancements you may have for either package
41 and/or documentation.
42
43 When proposing code changes, please provide unified diffs, i.e the out‐
44 put of diff -u.
45
46 Note further that attachments are strongly preferred over inlined
47 patches. Attachments can be made by going to the Edit form of the
48 ticket immediately after its creation, and then using the left-most
49 button in the secondary navigation bar.
50
52 graph walking, lemon, normalization, page, parser generator, text pro‐
53 cessing, tree walking
54
56 Page Parser Generator
57
59 Copyright (c) 2007 Andreas Kupries <andreas_kupries@users.sourceforge.net>
60
61
62
63
64tcllib 1.0 page_util_norm_lemon(n)