1pt::peg::container::peg(n) Parser Tools pt::peg::container::peg(n)
2
3
4
5______________________________________________________________________________
6
8 pt::peg::container::peg - PEG Storage. Canned PEG grammar specification
9
11 package require Tcl 8.5
12
13 package require snit
14
15 package require pt::peg::container::peg ?1?
16
17 package require pt::peg::container
18
19______________________________________________________________________________
20
22 Are you lost ? Do you have trouble understanding this document ? In
23 that case please read the overview provided by the Introduction to
24 Parser Tools. This document is the entrypoint to the whole system the
25 current package is a part of.
26
27 This package provides a sub-type of pt::peg::container which is pre‐
28 loaded with a parsing expression grammar describing a textual format
29 for parsing expression grammars.
30
31 The sub-type provides the exact same API as pt::peg::container. Instead
32 of duplicating its contents the reader is asked to read the referenced
33 document.
34
36 This document, and the package it describes, will undoubtedly contain
37 bugs and other problems. Please report such in the category pt of the
38 Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist]. Please also
39 report any ideas for enhancements you may have for either package
40 and/or documentation.
41
42 When proposing code changes, please provide unified diffs, i.e the out‐
43 put of diff -u.
44
45 Note further that attachments are strongly preferred over inlined
46 patches. Attachments can be made by going to the Edit form of the
47 ticket immediately after its creation, and then using the left-most
48 button in the secondary navigation bar.
49
51 EBNF, LL(k), PEG, TDPL, context-free languages, expression, grammar,
52 matching, parser, parsing expression, parsing expression grammar, push
53 down automaton, recursive descent, state, top-down parsing languages,
54 transducer
55
57 Parsing and Grammars
58
60 Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
61
62
63
64
65tcllib 1 pt::peg::container::peg(n)