# `PtcRunner.Lisp.Formatter`
[🔗](https://github.com/andreasronge/ptc_runner/blob/main/lib/ptc_runner/lisp/formatter.ex#L1)

Serialize PTC-Lisp AST to source code string.

Used for:
- Property-based testing (roundtrip: AST -> source -> parse -> AST)
- Debugging (pretty-print generated ASTs)

# `format`

```elixir
@spec format(term()) :: String.t()
```

Format an AST node as PTC-Lisp source code

---

*Consult [api-reference.md](api-reference.md) for complete listing*
