Tcl Library Source Code
pt::peg::container::peg - Parser Tools
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2018 Conference, Houston/TX, US, Oct 15-19
Send your abstracts to
or submit via the online form by Aug 20.

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

pt::peg::container::peg(n) 1 tcllib "Parser Tools"


pt::peg::container::peg - PEG Storage. Canned PEG grammar specification


  • package require Tcl 8.5
  • package require snit
  • package require pt::peg::container::peg ?1?
  • package require pt::peg::container


Are you lost ? Do you have trouble understanding this document ? In that case please read the overview provided by the Introduction to Parser Tools. This document is the entrypoint to the whole system the current package is a part of.

This package provides a sub-type of pt::peg::container which is preloaded with a parsing expression grammar describing a textual format for parsing expression grammars.

The sub-type provides the exact same API as pt::peg::container. Instead of duplicating its contents the reader is asked to read the referenced document.

Bugs, Ideas, Feedback

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


Parsing and Grammars