racc(1)
π racc β like, the manual, but make it make sense π
ok so bestie, you're looking at the racc(1) page from the General Commands Manual, and I'm gonna walk you through it like we're texting at 2am. it's giving β¨parser generatorβ¨ energy and honestly? she's iconic.
πΈ NAME πΈ
racc β the Ruby LALR parser generator. that's it, that's the whole vibe. π
β¨ SYNOPSIS β¨
racc [options] file
like, you give her some options, you give her a file, she does her thing. periodt.
π¦ DESCRIPTION π¦
so Racc is a LALR(1) parser generator. and the cute part? she's written in Ruby itself. no cap. she eats Ruby and she generates Ruby programs. it's giving self-made, self-sustaining, main character energy fr fr. π
π OPTIONS π
okay this is the part everyone skips and DON'T. every single flag matters, i don't make the rules.
-g,--debugβ outputs a parser so you can debug at the user level. little peek-behind-the-curtain moment, we love that. π-o,--output-file <outfile>β names the output file. default is[<fname>.tab.rb].-e,--executable <rubypath>β inserts a#!line into the output. pass'ruby'to get the default. she's executable now, she's employed, she's thriving. πΌ-E,--embeddedβ spits out a file that doesn't need a runtime. self-sufficient queen. no dependencies, no drama. β¨-l,--no-line-convertβ never converts line numbers. (this one's forruby<=1.4.3, so like, a historical artifact, but we respect her.) ποΈ-c,--line-convert-allβ converts line numbers also in the header and footer. thorough. detail-oriented. obsessed with her. π-a,--no-omit-actionsβ never omits actions. nothing gets left out on her watch.-v,--verboseβ creates a<filename>.outputfile. she's a talker, she's telling you EVERYTHING. π-O,--log-file <fname>β sets the file name for the verbose output. default is[<fname>.output].-C,--check-onlyβ syntax check only. no output, just vibes. she's just looking. π-S,--output-statusβ outputs status time to time. little progress updates, like a group chat read receipt. π«Ά--no-extentionsβ runs without any ruby extentions. (yes that's spelled exactly like that in the original, i am NOT fixing it, i am preserving the artifact, it's part of her charm now π)-h,--helpβ prints this message and quits. the classic. the beloved.--versionβ prints the version and quits. π·οΈ--runtime-versionβ prints the runtime version and quits. two different versions, two different flags, don't @ me.--copyrightβ prints the copyright and quits. legal girlie moment. βοΈ
lowkey important reminder: these flags do exactly what they say and nothing more. i'm not out here inventing behaviour, bestie, i'm just making it fun to read. π§
π SEE ALSO π
/usr/share/doc/racc/html.en/index.html(English)/usr/share/doc/racc/html.ja/index.html(Japanese)
go read the docs, they're right there on your machine, slay. π
and that's the whole page, bestie. this manual page is dated April 2005 and it's from racc(1) β the racc(1) manual, general commands section. she's been iconic since 2005 and she's not stopping. π
you ate this. go build a parser. π
π¦ 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