package wax-lib

All checked builds pass
  1. Overview
  2. Docs
Libraries for Wax, a Rust-like syntax for WebAssembly

Install

dune-project
 Dependency

Authors

Maintainers

Sources

wax-v0.3.0.tbz
sha256=cc19989d0db930d9300d7356c8f127309424a82767dd3c91ffd19a0bfd20e3a6
sha512=14ff9219dc6c4e8855c3cb895bd1af6fd81d1c521afefe1e7f69208a2e37abc7ec0946f188198a26780aa405fd43a526b938158334a019f7a5d991d8efc437c3

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 Identifier : sig ... end
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.