Skip to content

sysmlpy TODO

See STATUS.md for the full completed / in-progress / not-started breakdown.

Immediate / High Priority

  • [ ] Sync version: pyproject.toml still says 0.10.0, bump to 0.11.0
  • [ ] Improve grammar round-trip (get_definition()) coverage from 61% toward 100%
  • [ ] Implement Import / AliasMember so package imports round-trip
  • [ ] Fix typed-by preservation in load_from_grammar (usage.py:459)
  • [ ] Update CHANGELOG for v0.11.0

Known Bugs

  • [ ] Duplicate elif inner_class == "ActionUsage" dead-code block in definition.py
  • [ ] RootNamespace hardcoded PackageBodyElement name (grammar/classes.py)
  • [ ] Broken code path at grammar/classes.py
  • [ ] Remove leftover temp.txt files from repo root and tests/

Completed

  • [x] Reference class — ref name;, ref name : Type;, ref :>> name : Type;
  • [x] ANTLR4 parser — now the default parser (OMG grammar v2026.03.0)
  • [x] Action in/out parameters (programmatic construction)
  • [x] Requirement, UseCase, Interface, Message public API classes
  • [x] Conformance suite: 50/123 (41%) → 123/123 (100%) passing
  • [x] InterfaceBody / InterfaceBodyItem / InterfaceDefinition / InterfaceUsage serialization
  • [x] AnnotatingElement / CommentSysML / Annotation / Documentation grammar classes
  • [x] ActionUsage.get_definition() — action serialization
  • [x] LiteralString / LiteralReal / LiteralInfinity.get_definition()
  • [x] RequirementDefinition(None) handling for definition=True constructor
  • [x] Auto-wrapping bare definitions in synthetic package
  • [x] Documentation + comment ANTLR visitor support
  • [x] Case / AnalysisCase / VerificationCase definition visitors
  • [x] Element filter cast syntax (as Type) in ANTLR grammar
  • [x] Path expressions with lambda/filter syntax .{in ref v:Type; v.prop == val}
  • [x] filterPackage import handling in visitor
  • [x] UsageExtensionKeyword keyword field support
  • [x] SuccessionFlowConnectionUsage.get_definition()
  • [x] CaseDefinition in DefinitionElement dispatch table