1pt::tclparam::configuration::snit(Pna)rser Tooplts::tclparam::configuration::snit(n)
2
3
4
5______________________________________________________________________________
6
8 pt::tclparam::configuration::snit - Tcl/PARAM, Canned configuration,
9 Snit
10
12 package require Tcl 8.5
13
14 package require pt::tclparam::configuration::snit ?1.0.2?
15
16 ::pt::tclparam::configuration::snit def name pkg version cmdprefix
17
18______________________________________________________________________________
19
21 Are you lost ? Do you have trouble understanding this document ? In
22 that case please read the overview provided by the Introduction to
23 Parser Tools. This document is the entrypoint to the whole system the
24 current package is a part of.
25
26 This package is an adjunct to pt::peg::to::tclparam, to make the use of
27 this highly configurable package easier by providing a canned configu‐
28 ration. When applied this configuration causes the package
29 pt::peg::to::tclparam to generate snit-based parser packages.
30
31 It is a supporting package in the Core Layer of Parser Tools.
32
33 IMAGE: arch_core_support
34
36 ::pt::tclparam::configuration::snit def name pkg version cmdprefix
37 The command applies the configuration provided by this package
38 to the cmdprefix, causing the creation of snit-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::tclparam
43 (pt::peg::to::tclparam 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 1.0.2pt::tclparam::configuration::snit(n)