THEME_D_COMPILE(1)
π THEME_D_COMPILE(1) β the Theme-D Compiler, but make it a group chat π
okay bestie, sit down, hydrate, and let me tell you about theme-d-compile, the actual main character of the Theme-D Compiler manual. she lives in section 1 of the manual, she compiles your Theme-D code, and honestly? she ate. π
β¨ NAME β¨
theme-d-compile β the Theme-D compiler. that's it, that's her whole job description, and she's obsessed with it. π
π SYNOPSIS π
theme-d-compile [ OPTION ] ... FILE
you give her some options, you give her a file, she does the thing. no cap. β¨
π¦ DESCRIPTION π¦
so like, what she does is compile your Theme-D source file FILE into Theme-D pseudocode. literally that's the vibe. πΈ
now, the default output file name? it's not random, bestie, there's a whole system. you get it by replacing the suffix of the source file like this:
thp => tcp
ths => tcs
thi => tci
thb => tcb
iconic mapping, no notes. π«Ά
and where does that output file go by default? into the directory where you invoked the command theme-d-compile. not somewhere mysterious, not in the shadow realm β right there where you were standing. π
π OPTIONS π
bestie, this is the part where she really shows out. one bullet per flag, every single one, let's go:
-o,--output=OUTPUTFILEβ you wanna pick the compilation output file yourself? say less. this is how. π-m,--module-path=PATHβ sets the search path for Theme-D modules. the path is a list of directories, and you separate them with:'s. cute extra: you can prefix the list with a colon so the default Theme-D library path gets folded into the search path too. π§-u,--unit-type=TYPEβ tells her what kind of unit you're compiling. the unit type has to be one ofproper-program,script,interface, orbody. pick one, those are the only ones, don't get creative. π-l,--message-level=LEVELβ the compiler's message level. it has to be an integer number from0to3. value0means no output at all (silence, mysterious, lowkey elegant), and value3is the most verbose output (she tells you EVERYTHING). π£οΈ--expand-onlyβ do only macro expansion on the source. just the expansion, nothing else. π--no-expansionβ compile the source without macro expansion. π«--backtraceβ print a backtrace when there's a compilation error. for when you need to know exactly where it went wrong, fr fr. π--pretty-printβ pretty print the pseudocode output. yes, your pseudocode can serve looks. β¨--no-verbose-errorsβ less information in the error messages. short and sweet, we love a minimal queen. π--show-modulesβ show information about loading modules. π--macro-error-traceβ display error trace for macro errors. macro drama gets its own receipts. π§Ύ--versionβ display Theme-D version and exit. she introduces herself and dips. π
πΈ ENVIRONMENT πΈ
THEME_D_CONFIG_FILEβ if this variable is defined, its value gets used as the Theme-D configuration file instead of the default configuration file. you're overriding the default, bestie, own it. π
β FILES β
/etc/theme-d-configβ the Theme-D configuration file. the system-wide one, the classic. ποΈ~/.theme-d-configβ the Theme-D configuration file. heads up though: this file should normally only be present if you use Theme-D in local mode. so if you see it and you're not in local mode... side eye. π
π₯ SEE ALSO π₯
go read these next, bestie, the lore is deep:
theme-d-link(1)run-theme-d-program(1)setup-theme-d-test-env(1)/usr/share/doc/theme-d-doc/theme-d-user-guide.pdf.gz
and that's the whole page, you're fully caught up. π«Ά
this beauty is a GNU production, dated 2018-10-03, and it's the THEME_D_COMPILE(1) page. thanks for coming to my TED talk, go compile something iconic. πβ¨π
π¦ where this page comes from
- ubuntu resolute: theme-d-translator 7.2.4-1 Β· GFDL-1.3-or-later
- ubuntu stonking: theme-d-translator 7.3.3-2 Β· GFDL-1.3-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms