1pt::tclparam::configuration::nx(n)Parser Toolspt::tclparam::configuration::nx(n)
2
3
4
5______________________________________________________________________________
6
8 pt::tclparam::configuration::nx - Tcl/PARAM, Canned configuration, NX
9
11 package require Tcl 8.5
12
13 package require pt::tclparam::configuration::nx ?1.0.1?
14
15 ::pt::tclparam::configuration::nx 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::tclparam, 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::tclparam to generate NX-based parser packages.
29
30 It is a supporting package in the Core Layer of Parser Tools.
31
32 IMAGE: arch_core_support
33
35 ::pt::tclparam::configuration::nx def name pkg version cmdprefix
36 The command applies the configuration provided by this package
37 to the cmdprefix, causing the creation of NX-based parsers whose
38 class is name, in package pkg with version.
39
40 The use of a command prefix as API allows application of the
41 configuration to not only pt::peg::to::tclparam
42 (pt::peg::to::tclparam configure), but also export manager in‐
43 stances and PEG containers ($export configuration set and [$con‐
44 tainer exporter] configuration set respectively).
45
46 Or anything other command prefix accepting two arguments, option
47 and value.
48
50 This document, and the package it describes, will undoubtedly contain
51 bugs and other problems. Please report such in the category pt of the
52 Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist]. Please also
53 report any ideas for enhancements you may have for either package
54 and/or documentation.
55
56 When proposing code changes, please provide unified diffs, i.e the out‐
57 put of diff -u.
58
59 Note further that attachments are strongly preferred over inlined
60 patches. Attachments can be made by going to the Edit form of the
61 ticket immediately after its creation, and then using the left-most
62 button in the secondary navigation bar.
63
65 EBNF, LL(k), PEG, TDPL, context-free languages, expression, grammar,
66 matching, parser, parsing expression, parsing expression grammar, push
67 down automaton, recursive descent, state, top-down parsing languages,
68 transducer
69
71 Parsing and Grammars
72
74 Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
75
76
77
78
79tcllib 1.0.1 pt::tclparam::configuration::nx(n)