Expand description
Crate zerodds-lang-render. Safety classification: SAFE.
A language CST goes in, text comes out. Nothing is decided here.
The renderer must not consult the common AST, must not branch on anything but the CST node in hand, and must not insert a construct that is not in the tree. A renderer that decided anything would put that decision where no rule diff can see it.
§Spec
docs/specs/zerodds-lang-cst-1.0.md§5.
§Layer position
Layer 1 of the backend arc — over zerodds-lang-cst and nothing else.
Re-exports§
pub use writer::Writer;
Modules§
- ada
- Rendering the Ada CST. Spec §5.
- ada83
- Rendering the Ada 83 CST. Spec §5.
- c
- Rendering the C CST. Spec §5.
- cpp
- Rendering the C++ CST. Spec §5.
- csharp
- Rendering the C# CST. Spec §5.
- d
- Rendering the D CST. Spec §5.
- elixir
- Rendering the Elixir CST. Spec §5.
- fsharp
- Rendering the F# CST. Spec §5.
- go
- Rendering the Go CST. Spec §5.
- java
- Rendering the Java CST. Spec §5.
- julia
- Rendering the Julia CST. Spec §5.
- kotlin
- Rendering the Kotlin CST. Spec §5.
- lua
- Rendering the Lua CST. Spec §5.
- nim
- Rendering the Nim CST. Spec §5.
- node
- Rendering the Node CST. Spec §5.
- ocaml
- Rendering the OCaml CST. Spec §5.
- python
- Rendering the Python CST. Spec §5.
- rust
- Rendering the Rust CST. Spec §5.
- swift
- Rendering the Swift CST. Spec §5.
- typescript
- Rendering the TypeScript CST. Spec §5.
- writer
- Indentation and line breaking. Spec §5.
- zig
- Rendering the Zig CST. Spec §5.