Tcl Library Source Code

Documentation
Login
EuroTcl/OpenACS 11 - 12 JULY 2024, VIENNA


[ Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]

NAME

page_util_peg - page PEG transformation utilities

Table Of Contents

SYNOPSIS

package require page::util::peg ?0.2?
package require snit

::page::util::peg::symbolNodeOf tree node
::page::util::peg::symbolOf tree node
::page::util::peg::updateUndefinedDueRemoval tree
::page::util::peg::flatten treequery tree
::page::util::peg::getWarnings tree
::page::util::peg::printWarnings msg
::page::util::peg::peOf tree eroot
::page::util::peg::printTclExpr pe

DESCRIPTION

This package provides a few common operations to PEG transformations. They assume a Normalized PE Grammar Tree as input, see the package page::util::norm::peg, possibly augmented with attributes coming from transformations not in conflict with the base definition.

API

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.

When proposing code changes, please provide unified diffs, i.e the output of diff -u.

Note further that attachments are strongly preferred over inlined patches. Attachments can be made by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar.

KEYWORDS

PEG, page, parser generator, parsing expression grammar, text processing, transformation

CATEGORY

Page Parser Generator

COPYRIGHT

Copyright © 2007 Andreas Kupries