racc2y(1)

πŸ’– racc2y β€” the manual page, but make it make sense πŸ’–

okay bestie, welcome to the racc2y(1) page, straight outta the General Commands Manual section of the Unix library. this little icon translates racc grammar into yacc grammar, and honestly? it ate. let's get into it πŸŽ€


✨ NAME ✨

racc2y β€” Racc grammar to yacc grammar

like. the name literally tells you the whole plot. racc ➑️ yacc. it's giving translator arc πŸ‘‘


🌸 SYNOPSIS 🌸

racc2y [options] raccfile

that's it. that's the whole vibe. you hand it a raccfile, you sprinkle some options on top, and it does its thing πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Racc2y converts racc grammar to yacc grammar.

no cap, that's the entire job description. it takes your racc grammar, and it gives you back yacc grammar. main character energy, zero side quests ✨


πŸŽ€ OPTIONS πŸŽ€

okay this is the part where you actually pay attention, because every single one of these matters:

  • -o, --output-file <outfile> β€” names the output file, bestie. the default is y.<inputfile>, so if you don't say anything it'll just make its own little filename for you 🫢
  • -A β€” did not output actions. (yes, fr fr, that's exactly what it says β€” no actions in the output.)
  • -H β€” output 'header'.
  • -I β€” output 'inner'.
  • -F β€” output 'footer'.
  • -h, --help β€” prints this message and quits. your classic cry-for-help flag 😭
  • --version β€” prints the version and quits. flex check πŸ“Œ
  • --copyright β€” prints the copyright and quits. legal girlies rise πŸ‘‘
heads up: -H, -I and -F are three separate little pieces of the output β€” 'header', 'inner' and 'footer' β€” and each one is its own flag. don't go merging them in your head, the manpage keeps them separate for a reason πŸ’€

πŸ’œ SEE ALSO πŸ’œ

want more? the docs are literally right there:

  • /usr/share/doc/racc/html.en/index.html β€” for the English speakers πŸ‡¬πŸ‡§βœ¨
  • /usr/share/doc/racc/html.ja/index.html β€” ζ—₯本θͺžη‰ˆγ―こけら 🎌🌸

go read them, iykyk πŸ“š


and that's the whole page!! this was the racc2y(1) manual, from the General Commands Manual collection, and the version we're looking at is dated April 2005 🌈

okay ily, go convert some grammars, slay responsibly, periodt πŸ’–πŸ¦‹πŸŽ€