Skip to content

[P7] OpenSCENARIO DSL Frontend - tracking #8

Description

@JArmandoAnaya

[P7] OpenSCENARIO DSL Frontend — tracking

Tracking issue for pillar P7. See docs/roadmap/roadmap.md.

Objective

A grammar-based parser (ANTLR4 C++ runtime, BSD), AST, symbol resolution and type system for ASAM OpenSCENARIO DSL 2.x, able to load and check the finalized standard library and concrete scenario files with actionable diagnostics — shipping scena-check for DSL files (DSL §7; coverage: docs/roadmap/coverage/osc-dsl-coverage.md). Constraint (keep) and coverage constructs are parsed and checked but not solved. Out of scope: external-method binding to host code (diagnosed as unsupported when invoked), constraint solving (F4), any execution (P8).

Sprints

Pillar exit criteria

  • The DSL standard library type-checks with zero errors
  • Spec-annex-derived example files parse and check with precise diagnostics (section-number citations — the DSL spec defines no rule IDs)
  • scena-check exits nonzero with actionable messages on seeded error corpora

Status (2026-08-02 continuous-improvement audit): all P7 sprints merged; the standard library type-checks clean; scena-check corpus green. Residual: #110 (overloaded enum literals not resolved by expected type, §7.3.3) means a scenario copied verbatim from the spec (at: start) fails to check — the "spec-annex-derived examples check" exit criterion is not honestly met until it lands.

Activity

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions