Expand description
undercoat: a native Rust compiler from less / scss → CSS.
Parsing is delegated to oxc-css-parser (which produces a span-carrying AST); this
crate handles @import / @use assembly, evaluation, selector expansion, and printing,
with no Node runtime required.
Both dialects share one output intermediate representation and printer; all output-shape
differences live in doc::Style. The evaluation cores are independent (the value models
differ; see docs/architecture.md).
Conformance baseline: less 4.1.3; scss capabilities match dart-sass 1.93.2 and output shape matches 1.35.2.
Structs§
- Compile
Error - Compile error:
path/line/columnare present only when a location was matched. - Less
Options - Options specific to the less pipeline (the scss pipeline does not read them).
- Options
- Compilation options.
- Output
- Compilation output.
Functions§
- compile_
file - Compilation entry point: dispatches on the file extension.