Expand description
WebAssembly Text Format (.wat) to Document Character (.WASM Dc stream) converter
and staged Dc implementation loader (stage_0_impls/, stage_1_impls/, impls/).
Structs§
- Staged
DcImpl - One compiled Dc, Format, or standalone converter Routine implementation loaded from
stage_0_impls/,stage_1_impls/,stage_2_impls/, orimpls/.
Enums§
- Impl
Stage - Stage classification for implementation files under
src/formats/dcdata/data-src/.
Functions§
- encode_
i64_ dc_ shorthands - Encodes a signed 64-bit integer into canonical
Dc 6 f199 (11)? ... Dc 7shorthands. - encode_
u128_ dc_ shorthands - Encodes an unsigned 128-bit integer into canonical
Dc 6 f199 ... Dc 7shorthands. - load_
staged_ dc_ impls - Loads and compiles all staged implementation files under
data_dir(stage_0_impls/,stage_1_impls/,stage_2_impls/,impls/). - load_
staged_ dc_ impls_ with_ compiler - Loads and compiles all staged implementation files under
data_dir, invokingsource_compilerwhen higher-stage.sl3(stage_1_impls/+) or.sr3(stage_2_impls/,impls/) files are present. - parse_
dcsh_ impl_ tokens - Parses a
.dcshimplementation file (supporting#and;;line comments and"..."UTF-8 strings) into a sequence ofDcShorthands. - wat_
to_ dc_ shorthand_ string - Converts WebAssembly Text Format (
.wat) source into a space-separated Dc shorthand string. - wat_
to_ dc_ shorthands - Converts WebAssembly Text Format (
.wat) source into a canonical.WASMDocument Character shorthand sequence (Dc 1927 "Begin WASM program"..Dc 1928 "End WASM program"). - wat_
to_ staged_ dc_ entries - Compiles a staged
.watimplementation file into one or more(context_tokens, wasm_tokens)pairs, splitting;; @context(...)-annotated(func ...)definitions into self-contained.WASMprograms (Dc 1927 "Begin WASM program"..Dc 1928 "End WASM program").
Type Aliases§
- Staged
Source Compiler - Callback type used to compile higher-stage
.sl3/.sr3implementation files using previously loaded lower-stage bootstrap compilers.