Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse errors #46

Open
rainoftime opened this issue Jun 14, 2017 · 2 comments
Open

Parse errors #46

rainoftime opened this issue Jun 14, 2017 · 2 comments
Assignees
Labels

Comments

@rainoftime
Copy link

rainoftime commented Jun 14, 2017

It seems sally can only parse examples from /test/regess/*.

Whenever running the mcmt cases from the examples folder, I got the following information:

Parse error: ../../examples/honeywell/Ex3.mcmt:28:20:

And the sal cases returned

src/parser/sal/sal_state.cpp:620: sally::expr::term_ref sally::parser::sal_state::mk_term_from_guarded(sally::expr::term_ref, const std::vector<sally::expr::term_ref>&): Assertion false 'failed'. Aborted (core dumped)

@dddejan
Copy link
Member

dddejan commented Jun 14, 2017

Sorry, this is not well documented.

The .mcmt examples were obtained by a translation process from SAL, and they are not in the pure mcmt language. They need the option --lsal-extensions to parse.

Sally does not yet support the SAL language, the SAL files are just there as they are the original models from which the mcmt models were generated.

@dddejan dddejan self-assigned this Jun 14, 2017
@dddejan dddejan added the parser label Jun 14, 2017
@rainoftime
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants