pt::tclparam::configuration::snitParserpt::tclparam::configuration::snit(3tcl)
______________________________________________________________________________
NAME
pt::tclparam::configuration::snit - Tcl/PARAM, Canned configuration,
Snit
SYNOPSIS
package require Tcl 8.5
package require pt::tclparam::configuration::snit ?1.0.2?
::pt::tclparam::configuration::snit def name pkg version cmdprefix
______________________________________________________________________________
DESCRIPTION
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 is an adjunct to pt::peg::to::tclparam, to make the use of
this highly configurable package easier by providing a canned configu-
ration. When applied this configuration causes the package
pt::peg::to::tclparam to generate snit-based parser packages.
It is a supporting package in the Core Layer of Parser Tools.
IMAGE: arch_core_support
API
::pt::tclparam::configuration::snit def name pkg version cmdprefix
The command applies the configuration provided by this package
to the cmdprefix, causing the creation of snit-based parsers
whose class is name, in package pkg with version.
The use of a command prefix as API allows application of the
configuration to not only pt::peg::to::tclparam
(pt::peg::to::tclparam configure), but also export manager in-
stances and PEG containers ($export configuration set and [$con-
tainer exporter] configuration set respectively).
Or anything other command prefix accepting two arguments, option
and value.
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 [http://core.tcl.tk/tcllib/reportlist]. Please also
report any ideas for enhancements you may have for either package
and/or documentation.
When proposing code changes, please provide unified diffs, i.e the out-
put of diff -u.
Note further that attachments are strongly preferred over inlined
patches. Attachments can be made by going to the Edit form of the
ticket immediately after its creation, and then using the left-most
button in the secondary navigation bar.
KEYWORDS
EBNF, LL(k), PEG, TDPL, context-free languages, expression, grammar,
matching, parser, parsing expression, parsing expression grammar, push
down automaton, recursive descent, state, top-down parsing languages,
transducer
CATEGORY
Parsing and Grammars
COPYRIGHT
Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
tcllib 1.pt::tclparam::configuration::snit(3tcl)