The library documents itself · System programming
stzBuilder
42 own methods · 26 forms written with extensions, listed under their method
the source: base/system/stzBuilder.ring(opens in a new tab) · All classes · The area reference: System programming
Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean
No method of this class is run on this page: the class reaches files, the network, processes, the clock, chance or sound, and an example run here would only be an example of its effects. Each method carries the explanation the library gives of itself.
Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
AddSource
the declarative spec (fluent)QCSXTZZZIBWU
AddSources
(no comment in the source: the name reads as a sentence) add sourcesQCSXTZZZIBWU
SetLanguage
(no comment in the source: the name reads as a sentence) set languageQCSXTZZZIBWU
InC
(no comment in the source: the name reads as a sentence) in cQCSXTZZZIBWU
InCpp
(no comment in the source: the name reads as a sentence) in cppQCSXTZZZIBWU
InZig
(no comment in the source: the name reads as a sentence) in zigQCSXTZZZIBWU
InRing
(no comment in the source: the name reads as a sentence) in ringQCSXTZZZIBWU
EmitExe
(no comment in the source: the name reads as a sentence) emit exeQCSXTZZZIBWU
EmitLib
(no comment in the source: the name reads as a sentence) emit libQCSXTZZZIBWU
SetTarget
Set the build target -- a stzSystemProfile (a deployment system), a friendly name (:LinuxServer, :ESP32), or a raw Zig triple ("x86_64-linux-gnu").QCSXTZZZIBWU
TargetHost
(no comment in the source: the name reads as a sentence) target hostQCSXTZZZIBWU
TargetWeb
Build FOR the web: a freestanding wasm module that stz.js instantiates. JS owns the memory (imported); listed exports are callable from JS; small by default. Pair with stzWebBundle to assemble the page.QCSXTZZZIBWU
AddExport
(no comment in the source: the name reads as a sentence) add exportQCSXTZZZIBWU
AddExports
(no comment in the source: the name reads as a sentence) add exportsQCSXTZZZIBWU
IsWeb
(no comment in the source: the name reads as a sentence) is webno extension
Target
(no comment in the source: the name reads as a sentence) targetno extension
SetOptimization
(no comment in the source: the name reads as a sentence) set optimizationQCSXTZZZIBWU
OptimizeDebug
(no comment in the source: the name reads as a sentence) optimize debugQCSXTZZZIBWU
OptimizeFast
(no comment in the source: the name reads as a sentence) optimize fastQCSXTZZZIBWU
OptimizeSmall
(no comment in the source: the name reads as a sentence) optimize smallQCSXTZZZIBWU
OptimizeSafe
(no comment in the source: the name reads as a sentence) optimize safeQCSXTZZZIBWU
SetOutput
(no comment in the source: the name reads as a sentence) set outputQCSXTZZZIBWU
OutputPath
(no comment in the source: the name reads as a sentence) output pathno extension
AddDefine
(no comment in the source: the name reads as a sentence) add defineQCSXTZZZIBWU
AddInclude
(no comment in the source: the name reads as a sentence) add includeQCSXTZZZIBWU
AddLink
(no comment in the source: the name reads as a sentence) add linkQCSXTZZZIBWU
SetZig
(no comment in the source: the name reads as a sentence) set zigQCSXTZZZIBWU
ZigPath
(no comment in the source: the name reads as a sentence) zig pathno extension
SetRingRoot
Haro parts: lower to C, then compile through ZigQCSXTZZZIBWU
RingRoot
(no comment in the source: the name reads as a sentence) ring rootno extension
Args
the resolved build command ------------------------- The zig argument list (data -- display with @@). For a Haro part this resolves the -geo lowering first, so the args reflect the REAL compile: the generated C + the Haro VM source, cc-compiled by Zig.no extension
ToCommand
The full command line, as one string (rehearsable -- see it before you run it, the way the twin shows a plan before it commits).no extension
Build
the build (through the engine-backed managed child)QCSXTZZZIBWU
ExitCode
(no comment in the source: the name reads as a sentence) exit codeno extension
OutputExists
(no comment in the source: the name reads as a sentence) output existsno extension
Succeeded
(no comment in the source: the name reads as a sentence) succeededno extension
Failed
(no comment in the source: the name reads as a sentence) failedno extension
Stdout
(no comment in the source: the name reads as a sentence) stdoutno extension
Stderr
(no comment in the source: the name reads as a sentence) stderrno extension
BuildLog
Everything the compiler said (zig writes diagnostics to stderr).no extension
Show
(no comment in the source: the name reads as a sentence) showno extension

