Skip to content

Streaming 4: compile reviewed machine-readable DWG grammar after handwritten parity #208

Open

Description

@DrunkOnJava

Audit: all format prescriptions are handwritten Rust; docs/spec-coverage.md is a human coverage matrix, not an executable grammar. The published source is a PDF (https://www.opendesign.com/files/guestdownloads/OpenDesign_Specification_for_.dwg_files.pdf), with unknowns and version-qualified prose.

Acceptance:

  • First ship and measure handwritten transitions; compiler depends on that working baseline.
  • Checked-in reviewed grammar names spec version, section, release guard, width/demand, bounds and ambiguity behavior.
  • Compiler validates unknown/contradictory constructs and emits deterministic Rust with source mappings.
  • Generated code is never hand-patched; regeneration drift fails CI.
  • Generated and handwritten implementations have identical outputs/errors on the measured corpus and all chunk schedules before replacement.
  • Unsupported prose becomes an explicit unresolved grammar item, never an inferred field.

Do not make automatic PDF extraction the trusted grammar.

Parent: #204

Activity

  1. added
    type:feature
    area:container
    priority:P1
    on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:containerpriority:P1type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions