package wax-lib

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

wax-0.1.0.tbz
sha256=41b580846af8d41bdf6c3f005f62e38feda3e60fe2e9e4aa440db34ce515a153
sha512=4b3a181fcc7d743194a8647260870fb5190770066a197bcc48104c2b77fd40c643228b795c2bcd6b29a120820e969eb42a37a9bcec98b3f608d13f152d9f6579

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 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.