-
Seems that there is a bug in macro expansion when compiling to PlusCal. The attached spec has a macro named `Merge`. `Merge` is only used in `UpdateCRDT` process. Compiled PlusCal code of `UpdateCRDT`…
-
**SUMMARY**
`tlc` depends on `pcal` successfully running and generating the `.cfg` file. However, if the input file is just tla+ and does not contain the pluscal comment block, `pcal` fails.
**EX…
ToddG updated
2 years ago
-
Several language features appear quite often in our bug reports. As we cannot support these features in the near future, we should detect these patterns and point the user to the explanations and work…
-
## Description
Running Snowcat gives the following parse error:
```
Error by TLA+ parser: CrossChainValidation_draft_001.tla:366:1-375:21: Annotation error: identifier expected but '\' fou…
-
When I try to compile the PlusCal output of the attached spec to TLA+, I got the following error:
attached spec:
https://gist.github.com/shayanh/e15896c52216d67c3301ac88e8deffc0
-
### Premises
* TLA+ and PlusCal do not care about declared but unused variables
* We currently define every variable declared in PlusCal
* Go does not compile code that contains unused variables
…
-
MPCal program with compiled PlusCal code:
https://gist.github.com/shayanh/4f7ed959d69c0c2720592c8bc5c153db
If you try to compiled above program into TLA+, you'll get the following error:
![image]…
-
Hi,
I just learned about P. I have a couple questions.
1- Can P be used to generate the actual code that we can use in production, or it can just be used for model checking like TLA+/PlusCal?…
-
**Currently**, you cannot collapse code blocks (e.g. macros or procedures) in your PlusCal code. If you want to look up some variables at the start of your file while you work on something in the mid …
-
Got the following error when trying to compile the attached program into PlusCal:
```
[error] (run-main-d) java.lang.AssertionError: assertion failed
[error] java.lang.AssertionError: assertion fai…