opencaesar / oml

Ontological Modeling Language (OML)
https://opencaesar.github.io/oml/
Apache License 2.0
24 stars 4 forks source link

OML 2 Updater script #110

Closed pogi7 closed 11 months ago

pogi7 commented 1 year ago

oml 2 updater script and README.md

The script does not take care of all updates since some changes in the OML files require manually editing

  1. Replace XXX < YYY [ ... ] by XXX [ ... ] < YYY
  2. Replace enumerated scalar XXX [ "yyy", "zzz", ... ] by scalar XXX [ oneOf "yyy", "zzz", ... ]
  3. Replace [ restricts ... ] by < [ restricts ... ]
  4. If there is a [ ... ] with restricts statements and other statements, separate them into different [ .. ] and put the restricts one after the < and the rest before the <
  5. Verify that you can run ./gradlew build after updating the OML model to OML 2
dwagmuse commented 11 months ago

Hey Maged, are you going to merge this?