A forum for Spin users
You are not logged in.
Pages: 1
It seems that there are some differences between the documented syntax of PROMELA and the syntax accepted by Spin. I made some findings while developing my own parser for PROMELA. I wrote my own EBNF for the dialect accepted by my tool along with some comments on the PROMELA syntax. I'd appreciate comments very much. My EBNF is available at GitHub: https://gist.github.com/jllang/54ff523beafa82058d05dd829ccc2671
Offline
Is the sublanguage that can occur in traces documented?
Offline
I mean the statements that can occur in transitions in a trace.
Offline
I've also encountered lines containing `DO`, `IF`, and `.(goto)` as the statement. I presume `DO` and `IF` mean that the process is choosing between possible branches in a `do` or `if` statement. Is `.(goto)` a goto statement that was generated from a `for` loop?
Last edited by jllang (2022-03-05 16:01:50)
Offline
Okay, thanks.
Offline
Pages: 1