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 tor.<inputfile>if you don't say otherwise π«-c <name>β the name of the parser class. default isMyParserπ«Ά-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,-Ubeing 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 π
β¨
π¦ where this page comes from
- debian bookworm: racc 1.6.2-1 Β· LGPL-2.0-only
- debian trixie: racc 1.8.1-1 Β· LGPL-2.0-only
- ubuntu jammy: racc 1.4.14-2 Β· LGPL-2.0-only
- ubuntu noble: racc 1.6.2-1 Β· LGPL-2.0-only
- ubuntu questing: racc 1.8.1-1
- ubuntu resolute: racc 1.8.1-2 Β· LGPL-2.0-only
- ubuntu stonking: racc 1.8.1-2 Β· LGPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms