Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Syntax domain model generation - Examples

Platform spec article

Syntax domain model generation - Examples

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

This article collects examples for Syntax domain model generation (informative sketches aligned with contracts).

A compile-time module reads a syntax attribute using the query API, then emits a diagnostic without mutating syntax.

A contributor constructs a new method declaration through Beskid.Compiler.Emit, attaches trivia, and registers it with the incremental graph.

Executable snippets will track the reference implementation as mod host execution lands in the compiler; until then, treat these as specification fixtures.