pt::peg::container::peg(n)

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

✨ pt::peg::container::peg ✨

okay so bestie, welcome to the manual page for pt::peg::container::peg(n) β€” yes that's a whole lot of colons, it's giving very "I have a long and prestigious name" energy and honestly? deserved πŸ’…


πŸ’– NAME πŸ’–

pt::peg::container::peg β€” PEG Storage. Canned PEG grammar specification πŸ₯«βœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

package require Tcl 8.5 9

package require snit

package require pt::peg::container::peg ?1?

package require pt::peg::container

like, that's the whole vibe check right there, no cap.


🌸 DESCRIPTION 🌸

Are you lost ? Do you have trouble understanding this document ? 😭 fr fr, if that's you, please go read the overview that the Introduction to Parser Tools hands you. That document is literally the entrypoint to the whole system this package is part of β€” it's the main character of the docs, this one is a supporting role 🫢

So. This package provides a sub-type of pt::peg::container β€” and it comes preloaded with a parsing expression grammar that describes a textual format for parsing expression grammars. Yes bestie, it's grammars all the way down, iconic behaviour honestly πŸ‘‘

The sub-type gives you the exact same API as pt::peg::container. And instead of duplicating all those contents here (copy-paste is not the moment πŸ™ˆ), the reader is asked to go read the referenced document. periodt.


πŸ’€ BUGS, IDEAS, FEEDBACK πŸ’€

This document, and the package it describes, will undoubtedly contain bugs and other problems. 😭 It's not a maybe, it's a when.

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 β€” we want the glow-up ideas too ✨

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. it's literally right there, two clicks, you got this πŸŽ€

πŸ”₯ 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

(that's a lot of words but every single one of them is doing its job, iykyk 🌈)


πŸŽ€ CATEGORY πŸŽ€

Parsing and Grammars


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


and that's the whole page bestie!! πŸ’– this one shipped out with tcllib version 1.1 β€” mwah, no notes, go forth and parse 🧚🌸

πŸ“¦ where this page comes from