PT_CPARAM_CONFIG_TEA(n)

πŸ“¦
version 2.0 Β· 2 versions
, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

πŸ’– pt::cparam::configuration::tea(n) πŸ’–

okay bestie, so this is the manual page for pt::cparam::configuration::tea β€” it lives in the tcllib collection, it's from the Parser Tools fam, and this is the pt::cparam::configuration::tea(n) page, version 0.2. buckle up πŸŽ€


✨ NAME ✨

pt::cparam::configuration::tea β€” C/PARAM, Canned configuration, TEA

so basically: a lil pre-made config for C/PARAM that makes TEA-ready stuff. slay.


🌸 SYNOPSIS 🌸

package require Tcl 8.5 9

package require pt::cparam::configuration::tea ?0.2?

::pt::cparam::configuration::tea def name pkg version cmdprefix

yes queen, Tcl 8.5 9 and the package version is optionally ?0.2? πŸ¦‹


πŸ’… DESCRIPTION πŸ’…

Are you lost ? Do you have trouble understanding this document ? 😭 if that's you, pls go read the overview provided by the Introduction to Parser Tools β€” it's literally the entrypoint to the whole system that this package is a part of. no cap.

So this package is an adjunct to pt::peg::to::cparam, and its whole job is to make using that highly configurable package easier by handing you a canned configuration. πŸ₯«βœ¨ When you apply it, this configuration causes pt::peg::to::cparam to generate plain parser code that's ready for inclusion into a TEA-based C extension. iconic behaviour, honestly.

It's a supporting package in the Core Layer of Parser Tools. 🫢

IMAGE: arch_core_support


πŸ‘‘ API πŸ‘‘

::pt::cparam::configuration::tea def name pkg version cmdprefix

The command applies the configuration provided by this package to the cmdprefix, causing the creation of tea-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::cparam (pt::peg::to::cparam configure), but also export manager instances and PEG containers ($export configuration set and [$container exporter] configuration set respectively). versatility!! we love to see it πŸ’…

Or anything other command prefix accepting two arguments, option and value. fr fr, it's giving flexible.


πŸ› BUGS, IDEAS, FEEDBACK πŸ›

This document, and the package it describes, will undoubtedly contain bugs and other problems. πŸ’€ not me being honest but yeah.

Please report such in the category pt of the Tcllib Trackers at [http://core.tcl.tk/tcllib/reportlist]. Please also report any ideas for enhancements you may have for either package and/or documentation. 🫢 we wanna hear it!!

When proposing code changes, please provide unified diffs, i.e the output 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

(vibe check: passed βœ…)


⭐ CATEGORY ⭐

Parsing and Grammars


Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>


okay that's the whole page bestie, you're officially educated πŸ’– this was pt::cparam::configuration::tea(n) from tcllib, version 0.2 β€” go forth and configure ur parsers, mwah πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from