y2racc(1)

✨ y2racc β€” the glow-up your yacc grammar deserves ✨

ok so bestie, quick intro: this is y2racc, a General Commands Manual page, and it lives in section 1 of the manual. iykyk πŸ’…


πŸŽ€ NAME πŸŽ€

y2racc β€” Yacc grammar to racc grammar

like. it takes your yacc grammar and turns it into a racc grammar. a total transformation arc. main character energy fr fr πŸ¦‹


🌸 SYNOPSIS 🌸

y2racc [options] raccfile

πŸ’– DESCRIPTION πŸ’–

okay so here's the whole vibe: Y2racc converts yacc grammar to racc grammar. that's it. that's the job. it ate and left no crumbs πŸ“


✨ OPTIONS ✨

  • -o, --output-file <outfile> β€” the name of the output file. defaults to r.<inputfile> if you don't say otherwise πŸ’«
  • -c <name> β€” the name of the parser class. default is MyParser 🫢
  • -u β€” output also user code (%%....) β€” yes bestie, it keeps the user code too ✨
  • -H β€” cut off the header (%{....%}) βœ‚οΈ
  • -A β€” cut off actions. gone. bye πŸ‘‹
  • -U β€” cut off user code (%%....). this one is the default, so it's already doing this unless you tell it not to πŸ™ˆ
  • -h, --help β€” print this message and quit. the classic "help me bestie" move πŸ’…
  • --version β€” print version and quit πŸ“Œ
  • --copyright β€” print copyright and quit βš–οΈ
ngl, -U being the default means if you want that user code you're gonna have to ask for it with -u. no cap.

🌈 SEE ALSO 🌈

  • /usr/share/doc/racc/html.en/index.html (English) πŸ‡¬πŸ‡§
  • /usr/share/doc/racc/html.ja/index.html (Japanese) πŸ‡―πŸ‡΅

go read up, it's giving research era πŸ“šβœ¨


and that's a wrap, bestie πŸŽ€ this page is from April 2005 and it's the y2racc(1) page, periodt πŸ’…βœ¨