Modelator pre-0.3 code review #78
Replies: 6 comments
-
|
Beta Was this translation helpful? Give feedback.
-
Rework
|
Beta Was this translation helpful? Give feedback.
-
Rework Apalache error extractionApalache error extraction will not work for multiline errors. Probably better to orient not to the fixed list of error messages, but to the |
Beta Was this translation helpful? Give feedback.
-
Extract path handlingCurrently filesystem paths are handled explicitely in multiple places, e.g. in Apalache and in TLC. The path handling should be pulled into a global shared implementation, a central place, such that only it knows where everything is stored. All other code should work with abstract artifacts, and ask the path handling library to read or write files, when needed. |
Beta Was this translation helpful? Give feedback.
-
Generalize from model checkersExtract common functionality from MCs into a shared implementation |
Beta Was this translation helpful? Give feedback.
-
Make dependencies explicitCurrently both via CLI and via Rust API, the user specifies a single TLA+ file; all other dependencies are pulled automatically by model checkers. We need to make those dependencies explicit, and obvious to the user, such that the constituent files are not forgotten to be added to the repo, for example. There are a couple of options here:
|
Beta Was this translation helpful? Give feedback.
-
Let's review the code, and collect here improvement suggestions; first of all about the code structure and APIs, but also anything else.
Some will apply to the version 0.3, but most are for the post-0.3 work.
Beta Was this translation helpful? Give feedback.
All reactions