-
In the toolbox if the generated TLA code has an error its often possible to jump to the line of pluscal that is the source for the generated error. Is it possible to add this?
flazz updated
4 years ago
-
TLA+ code in the module below has no WF_vars(P(1)) condition in the Spec:
```
---------------------------- MODULE FairnessBug ----------------------------
EXTENDS Sequences
(*--algorithm Fai…
-
See neovim highlighting on [this line](https://github.com/tlaplus/Examples/blob/41faafbabe549530ad54bd4301b07ca4fd93e65b/specifications/MultiPaxos-SMR/MultiPaxos.tla#L236).
-
In the following PlusCal algorithm, I would expect step1 and step2 to get translated to equivalent formulas:
```
--algorithm Test
{
variables x = 0, y = 0;
define {
x_alias =…
-
Steps to reproduce:
1. Create a PlusCal spec, and translate it. Create a model for the spec.
2. Enable "translate pluscal automatically".
3. Make a modification to the PlusCal, but do not save it…
-
Hi, Hillel.
I loved your Learn TLA+ tutorial, and I was so fascinated by the second version of the book.
As I go through the TLA+ website, I found that Lamport already said something about your bo…
-
https://lamport.azurewebsites.net/tla/peterson.html
By the way, you might also want to consider contributing your variant to https://github.com/tlaplus/Examples
lemmy updated
5 years ago
-
Picked this up from a new submodule added to the tlaplus/examples repo:
https://github.com/tlaplus/azure-cosmos-tla/blob/4b8785a36ed16faa2cd1bd78b89e224d71711ee3/scenario1/swscop.tla#L34
Both `p…
-
Given
```
(* --algorithm demo
variables x = 1;
macro set_x() begin
x := self;
end macro;
process good \in {1}
begin
G:
set_x();
end process;
process bad = 2
begin
B:
…
-
Currently PlusCal compilation produces something like this:
```tla
VARIABLES global_variables
\* Anything in a define block goes here
VARIABLES local_variables
```
This means that define…