pt_cparam_config_critcl (n) - Linux Manuals

pt_cparam_config_critcl: C/PARAM, Canned configuration, Critcl

NAME

pt::cparam::configuration::critcl - C/PARAM, Canned configuration, Critcl

SYNOPSIS

package require Tcl 8.5

package require pt::cparam::configuration::critcl ?1.0.1?

::pt::cparam::configuration::critcl def name 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::cparam, to make the use of this highly configurable package easier by providing a canned configuration. When applied this configuration causes the package pt::peg::to::cparam to generate critcl-based parser packages.

It is a supporting package in the Core Layer of Parser Tools.

IMAGE: arch_core_support

API

::pt::cparam::configuration::critcl def name cmdprefix
The command applies the configuration provided by this package to the cmdprefix, causing the creation of critcl-based parsers whose class is name.

The use of a command prefix as API allows application of the configuration to not only pt::peg::to::cparam (pt::peg::to::cparam configure), but also export manager instances and PEG containers ($export configuration set and [$container 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 SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation.

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 [at] users.sourceforge.net>