page_util_norm_lemon(n)

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

✨ page_util_norm_lemon(n) β€” page AST normalization, LEMON ✨

okay bestie, gather round, because this is the page_util_norm_lemon page from the Parser generator tools corner of the tcllib universe πŸ’–


🌸 NAME 🌸

page_util_norm_lemon β€” page AST normalization, LEMON πŸ‹


πŸ¦‹ SYNOPSIS πŸ¦‹

package require page::util::norm_lemon ?0.2?

package require snit

::page::util::norm::lemon tree

πŸ’… DESCRIPTION πŸ’…

So this package gives you one single utility command, and what it does is take an AST for a lemon grammar and normalize it in a bunch of ways. The glow-up result has a whole name, and that name is the Normalized Lemon Grammar Tree. 🌈✨

heads up bestie 🫢 this package can only be used from inside a plugin that's managed by the package page::pluginmgr. no solo missions, it needs its chaperone, fr fr.

πŸ‘‘ API πŸ‘‘

::page::util::norm::lemon tree

This command assumes the tree object contains for a lemon grammar. It normalizes this tree in place β€” like, it does not hand you a cute new tree, it edits the one you gave it, no cap. The result of all that is called a Normalized Lemon Grammar Tree.

As for the exact operations performed? left undocumented for the moment πŸ™ˆ so don't come for me, that's literally what the page says.


😭 BUGS, IDEAS, FEEDBACK 😭

ngl, this document, and the package it describes, will undoubtedly contain bugs and other problems. it's giving "we know". Please report such in the category page of the Tcllib Trackers at http://core.tcl.tk/tcllib/reportlist. Also pls pls pls report any ideas for enhancements you may have for either the package and/or the documentation, we love that for us πŸ’–

When proposing code changes, please provide unified diffs, i.e the output of diff -u.

Also note β€” and this is the important part β€” attachments are strongly preferred over inlined patches. You can make an attachment 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. πŸŽ€ that's the whole vibe, iykyk.


🧚 KEYWORDS 🧚

  • graph walking
  • lemon
  • normalization
  • page
  • parser generator
  • text processing
  • tree walking

πŸ“ CATEGORY πŸ“

Page Parser Generator


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


tcllib, version 1.0, and yeah this whole page is page_util_norm_lemon(n) β€” mwah, that's a wrap, go normalize something iconic πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from