Skip to content

Conversation

@S41d
Copy link
Collaborator

@S41d S41d commented May 30, 2025

No description provided.

@S41d S41d force-pushed the model-with-entry-point branch from 28d6391 to f45fee9 Compare May 30, 2025 16:17
(entry_point, Array.of_list model)
in
let entry_point =
if Option.is_none entry_point then model_entry_point else entry_point
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it make sense to keep the --entry-point argument for owi replay? Couldn't we remove it now? And if not, what happen when they are both defined?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess not, I'll remove the option

val model_of_json : string -> (string option * Smtml.Model.t) Result.t

val model_of_scfg : string -> Smtml.Model.t Result.t
val model_of_scfg : string -> (string option * Smtml.Model.t) Result.t
Copy link
Member

@redianthus redianthus Jun 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be a string * Smtml.Model.t now that the entry point is mandatory, right?

in
{ model with children = model.children @ ep }
| None -> model
in
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think we could put the entry point first in the output model (followed by the symbols)? I find it easier to read this way

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, i'll do that

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.

2 participants