Expand description
Parses adam-lang source into a live adam_lang::ParsedSheet, formatting any failure as a
diagnostic instead of a bare error.
Structs§
- Build
Outcome - The result of parsing and building a sheet from adam-lang source.
Functions§
- build_
sheet - Parses
sourceas adam-lang, builds aSheetandLabels, and propagates once so initial derived values are populated.file_nameis used only to build diagnostic headers (e.g.--> begin/examples/toy_example.adm2:8:11), not to locatesourceitself.renderercontrols how a diagnostic is formatted — passRenderer::styledfor a real terminal orRenderer::plainfor a context that can’t display ANSI colors (e.g. a browser<pre>element). - op_
lookup - Builds a
cel_parser::OpLookupwith the CEL standard and Euclid libraries installed, so every adam-lang sourcebuild_sheetparses has the same function set (min,max,clamp, etc.) available. - type_
registry - Builds the matching scalar and Euclid cell-type environment.