Skip to content

feat: add Pattern.compile() and Pattern.compile_system() to OGS#108

Merged
rororowyourboat merged 1 commit intodevfrom
feat/90-ogs-pattern-compile
Mar 4, 2026
Merged

feat: add Pattern.compile() and Pattern.compile_system() to OGS#108
rororowyourboat merged 1 commit intodevfrom
feat/90-ogs-pattern-compile

Conversation

@rororowyourboat
Copy link
Collaborator

Summary

  • Add Pattern.compile() → GDSSpec and Pattern.compile_system() → SystemIR convenience methods
  • Aligns OGS API with other DSLs (stockflow, control, software, business)
  • 9 new tests in test_pattern_compile.py (312 total games tests pass)
  • Also fixes SIM108 lint and format issues from merged PRs

Closes #90

…methods

Aligns OGS API with other DSLs where Model.compile() and
Model.compile_system() are the standard entry points.

Also fix lint/format issues from merged PRs.

Closes #90
@rororowyourboat rororowyourboat merged commit 6becb3b into dev Mar 4, 2026
@rororowyourboat rororowyourboat deleted the feat/90-ogs-pattern-compile branch March 4, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

enhancement: add Pattern.compile() and Pattern.compile_system() to OGS

1 participant