XM.Compiler (XM v0.2.0)

Copy Markdown View Source

Compiles XM DSL blocks into quoted Saxy simple-form XML nodes.

This module is intentionally separate from the runtime encoder API. Macro transformation stays here; XML node construction and encoding stay in XM.

Summary

Functions

Compile a DSL block into quoted node-list construction.

Functions

block(ast)

@spec block(Macro.t()) :: Macro.t()

Compile a DSL block into quoted node-list construction.