1pt::cparam::configuration::tea(n)Parser Toolspt::cparam::configuration::tea(n)
2
3
4
5______________________________________________________________________________
6
8 pt::cparam::configuration::tea - C/PARAM, Canned configuration, TEA
9
11 package require Tcl 8.5
12
13 package require pt::cparam::configuration::tea ?0.1?
14
15 ::pt::cparam::configuration::tea def name pkg version cmdprefix
16
17______________________________________________________________________________
18
20 Are you lost ? Do you have trouble understanding this document ? In
21 that case please read the overview provided by the Introduction to
22 Parser Tools. This document is the entrypoint to the whole system the
23 current package is a part of.
24
25 This package is an adjunct to pt::peg::to::cparam, to make the use of
26 this highly configurable package easier by providing a canned configu‐
27 ration. When applied this configuration causes the package
28 pt::peg::to::cparam to generate plain parser code ready for inclusion
29 into a TEA-based C extension.
30
31 It is a supporting package in the Core Layer of Parser Tools.
32
33 IMAGE: arch_core_support
34
36 ::pt::cparam::configuration::tea def name pkg version cmdprefix
37 The command applies the configuration provided by this package
38 to the cmdprefix, causing the creation of tea-based parsers
39 whose class is name, in package pkg with version.
40
41 The use of a command prefix as API allows application of the
42 configuration to not only pt::peg::to::cparam
43 (pt::peg::to::cparam configure), but also export manager in‐
44 stances and PEG containers ($export configuration set and [$con‐
45 tainer exporter] configuration set respectively).
46
47 Or anything other command prefix accepting two arguments, option
48 and value.
49
51 This document, and the package it describes, will undoubtedly contain
52 bugs and other problems. Please report such in the category pt of the
53 Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist]. Please also
54 report any ideas for enhancements you may have for either package
55 and/or documentation.
56
57 When proposing code changes, please provide unified diffs, i.e the out‐
58 put of diff -u.
59
60 Note further that attachments are strongly preferred over inlined
61 patches. Attachments can be made by going to the Edit form of the
62 ticket immediately after its creation, and then using the left-most
63 button in the secondary navigation bar.
64
66 EBNF, LL(k), PEG, TDPL, context-free languages, expression, grammar,
67 matching, parser, parsing expression, parsing expression grammar, push
68 down automaton, recursive descent, state, top-down parsing languages,
69 transducer
70
72 Parsing and Grammars
73
75 Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
76
77
78
79
80tcllib 0.1 pt::cparam::configuration::tea(n)