slice2rb(1)
π slice2rb β the Slice-to-Ruby compiler π
okay bestie, pull up a chair, because this is the manual page for slice2rb(1) from the General Commands Manual, and honestly? it's giving "tiny tool, huge main character energy." β¨
β¨ NAME β¨
slice2rb β the Slice to Ruby compiler. no cap, that's literally it. π¦
πΈ SYNOPSIS πΈ
slice2rb [options] [files]
π DESCRIPTION π
slice2rb compiles Slice files to Ruby. the macro __SLICE2RB__ gets defined while this compilation is happening, so like, your Slice code knows it's being fed to the Ruby compiler. periodt. π
full documentation for slice2rb is available online at:
(go read it, i'm not gatekeeping π)
π OPTIONS π
-h,--helpβ displays a help message. your "wait what does this do" bestie. π-v,--versionβ displays the compiler version. vibe check the compiler. β-DNAMEβ defines the preprocessor symbolNAME.-DNAME=DEFβ defines the preprocessor symbolNAMEwith the valueDEF. (yes, with the equals sign, exactly like that π )-UNAMEβ undefines the preprocessor symbolNAME. not me undefining things π-IDIRβ add the directoryDIRto the search path for#includedirectives. it's giving "where do i find my friends" energy π«Ά-Eβ print the preprocessor output onstdout. no compiling, just showing receipts. π--output-dir DIRβ place the generated files into directoryDIR. put your babies somewhere nice. π-d,--debugβ print debug information showing the operation of the Slice parser. it's the parser narrating its own life. iconic. π₯--dependβ print dependency information to standard output by default, or to the file specified by the--depend-fileoption. no code is generated when this option is specified. like, zero code. don't be surprised. π--depend-xmlβ print dependency information in XML format to standard output by default, or to the file specified by the--depend-fileoption. no code is generated when this option is specified. same deal, different format. β¨--depend-file FILEβ directs dependency information to the specified file. the output format depends on whether--dependor--depend-xmlis also specified. so like, this one's the chauffeur, not the destination. π--allβ generate code for all Slice definitions, including those from included files. everything. all of it. the whole buffet. π--checksum CLASSβ generate checksums for Slice definitions. slay, verified. β
π SEE ALSO π
slice2cpp(1), slice2cs(1), slice2java(1), slice2js(1), slice2matlab(1), slice2objc(1), slice2php(1), slice2py(1)
(the whole compiler family reunion, iykyk π§)
okay that's the whole page bestie, every single flag accounted for, nothing skipped, nothing invented. this one lives in the General Commands Manual as slice2rb(1) β that's the manual name and the source, right there at the bottom of the page with no date attached, so that's your sign-off. go compile something cute. πβ¨π¦
π¦ where this page comes from
- arch rolling: zeroc-ice 3.7.10-3 Β· GPL-2.0-only AND LicenseRef-ICE
- debian bookworm: zeroc-ice-compilers 3.7.8-2.1+b1 Β· GPL-2.0+exceptions
- debian trixie: zeroc-ice-compilers 3.7.10-3.1 Β· GPL-2.0+exceptions
- ubuntu jammy: zeroc-ice-compilers 3.7.6-4ubuntu1 Β· GPL-2.0+exceptions
- ubuntu noble: zeroc-ice-compilers 3.7.10-2.1build1 Β· GPL-2.0+exceptions
- ubuntu questing: zeroc-ice-compilers 3.7.10-3.1
- ubuntu resolute: zeroc-ice-compilers 3.7.10-4build2 Β· GPL-2.0+exceptions
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms