package wax-lib

  1. Overview
  2. Docs
Libraries for Wax, a Rust-like syntax for WebAssembly

Install

dune-project
 Dependency

Authors

Maintainers

Sources

wax-v0.2.0.tbz
sha256=4361e1324b7754a4c08ab5b505df32061f3ce0cea60443fd0d3699e0fa796b32
sha512=fcc756d2f160ba90a9aa1131f2ab22ed7f45466ccd658c21cf9df6868a6aab0cee7f404719d698a379958802f9820398f2fe0685ecc4dda018ca4f653294e39b

doc/wax-lib.utils/Wax_utils/index.html

Module Wax_utilsSource

Sourcemodule Ast : sig ... end

Generic AST definitions.

Sourcemodule Colors : sig ... end
Sourcemodule Debug : sig ... end

Developer-facing debug output, enabled per category with --debug.

Sourcemodule Diagnostic : sig ... end
Sourcemodule Feature : sig ... end

Optional language features / WebAssembly proposals.

Sourcemodule Message : sig ... end

A structured diagnostic message: prose that reflows at the target width, plus styled/quoted atoms and escape-hatch fragments that render an AST fragment (a type, an instruction) through the shared pretty-printer.

Sourcemodule Number_parsing : sig ... end
Sourcemodule Pager : sig ... end
Sourcemodule Parser_error_runtime : sig ... end

Runtime resolution of the <N> / <^N> markers stele's generated messages carry.

Sourcemodule Parsing : sig ... end

Generic parsing utilities.

Sourcemodule Printer : sig ... end
Sourcemodule Source_map : sig ... end
Sourcemodule Spell_check : sig ... end

Sound-alike and spell-checking utilities.

Sourcemodule Styled_printer : sig ... end

A pretty-printing context pairing a layout Printer.t with a colour Colors.theme and the Trivia (comments, blank lines) to weave back into the output. The styling and trivia plumbing is shared by the Wax and the WebAssembly printers, which wrap this context with their own format-specific state.

Sourcemodule Trivia : sig ... end

Parsing context for collecting comments and annotations.

Sourcemodule Uint32 : sig ... end

32-bit unsigned integers.

Sourcemodule Uint64 : sig ... end

64-bit unsigned integers.

Sourcemodule Unicode : sig ... end
Sourcemodule Unicode_widths : sig ... end
Sourcemodule V128 : sig ... end
Sourcemodule Warning : sig ... end

Named, groupable warnings whose reporting level is configurable.

Sourcemodule Xid : sig ... end

Unicode identifier character properties, from a table generated from uucp (see xid.ml, regenerated with dune build @src/lib-utils/regenerate-xid). Used to validate identifiers lexed by a coarse rule, so the strict XID classes stay out of the lexer's DFA.