Index
Modules:
wasm_minimal_protocol
,
wasm_minimal_protocol/cbor
,
wasm_minimal_protocol/export_typst
,
wasm_minimal_protocol/init
,
wasm_minimal_protocol/init_def
,
wasm_minimal_protocol/main
,
wasm_minimal_protocol/typst_gen
,
wasm_minimal_protocol/typst_gen_decl
,
wasm_minimal_protocol/utils
,
wasm_minimal_protocol/wasi
.
API symbols
Cbor_decode:
cbor: template Cbor_decode[T](dd; _: typedesc[T]): T
Cbor_encode:
cbor: template Cbor_encode[T](d: T): untyped
charp:
wasi: type charp
compile:
main: proc compile(nimSrcPath: string; outdir = ""; nim = ""; additionalFlags = "")
defineCborPair:
cbor: template defineCborPair(T; writeImpl, readImpl)
dispatchTypst:
export_typst: template dispatchTypst(typstCallback: string)
Errno:
wasi: type Errno
exportNimDocToTypst:
export_typst: const exportNimDocToTypst
export_typst:
export_typst: template export_typst(def)
export_typst: template export_typst(name; def)
export_typst_as:
export_typst: template export_typst_as(name: static[string]; def: typed)
export_typst_bytes:
export_typst: macro export_typst_bytes(name: static[string]; def: typed)
export_typst: macro export_typst_bytes(def: typed)
export_typst_bytes_as:
export_typst: template export_typst_bytes_as(name: static[string]; def: typed)
export_typst_conv:
export_typst: macro export_typst_conv(name: static[NameConvention]; def: typed)
export_typst_from:
export_typst: macro export_typst_from(def; export_name: static[NameConvention]; typ: typedesc)
export_typst: macro export_typst_from(def; export_name: static[string]; typ: typedesc)
export_typst: macro export_typst_from(def; typ: typedesc)
export_typst: macro export_typst_from(def: proc; export_name: static[NameConvention])
export_typst: macro export_typst_from(def: proc; export_name: static[string] = ExportNameAsIs)
export_typst_from_func:
export_typst: macro export_typst_from_func(def; export_name: static[NameConvention]; typ: typedesc)
export_typst: macro export_typst_from_func(def; export_name: static[string]; typ: typedesc)
export_typst: macro export_typst_from_func(def; typ: typedesc)
export_typst: macro export_typst_from_func(def: proc; export_name: static[NameConvention])
export_typst: macro export_typst_from_func(def: proc; export_name: static[string] = ExportNameAsIs)
export_wasm_decl:
wasi: proc export_wasm_decl(name: string): string
formatTypstResult:
export_typst: template formatTypstResult(f: string)
gen_t:
typst_gen_decl: const gen_t
gen_typst:
typst_gen_decl: const gen_typst
genTypstFile:
typst_gen: template genTypstFile()
gen_wasm_init:
init: template gen_wasm_init(prcBody)
NameConvention:
export_typst: enum NameConvention
ncAsIs:
export_typst: NameConvention.ncAsIs
ncKebab:
export_typst: NameConvention.ncKebab
ncTypst:
export_typst: const ncTypst
op2ident:
utils: proc op2ident(s: string): string
Pointer:
wasi: type Pointer
readValue:
cbor: proc readValue(s: var CborReader; val: var char)
Size:
wasi: type Size
toKebabCase:
utils: proc toKebabCase(s: string): string
typst_env_decl:
wasi: const typst_env_decl
wasm_decl:
wasi: proc wasm_decl(module: string): string
wasm_minimal_protocol_NimMain:
init_def: proc wasm_minimal_protocol_NimMain(): Size
writeValue:
cbor: proc writeValue(s: var CborWriter; val: char)