Skip to content

Add BufferedRandomAccessFile spec - #145

Merged
ahelwer merged 3 commits into
tlaplus:masterfrom
Calvin-L:bufferedrandomaccessfile
Jun 20, 2024
Merged

Add BufferedRandomAccessFile spec#145
ahelwer merged 3 commits into
tlaplus:masterfrom
Calvin-L:bufferedrandomaccessfile

Conversation

@Calvin-L

@Calvin-L Calvin-L commented Jun 14, 2024

Copy link
Copy Markdown
Contributor

In review, @lemmy suggested adding this spec to our examples: tlaplus/tlaplus#907 (comment)

I made two small changes:

  1. Pull config out into a separate file
  2. Reduce MaxOffset from 4 to 3 so it can be checked in <10s (er, on my 8-core laptop anyway)

Signed-off-by: Calvin Loncaric <calvin.loncaric@oracle.com>
@lemmy

lemmy commented Jun 14, 2024

Copy link
Copy Markdown
Member

Duplication of the specification, both here and in the tlaplus/tlaplus repository, likely won't be an issue. However, it's important to note that the OpenAddressing.tla specification in the tlaplus/tlaplus repository is only referenced here, not duplicated.

Consider adding a comment to the spec in tlaplus/tlaplus that points to the copy here.

This tag isn't quite correct; the spec checks _action_ properties, not
full liveness properties.  But it is true that the spec uses the `[]`
operator and the config file uses the `PROPERTY` keyword.

Signed-off-by: Calvin Loncaric <calvin.loncaric@oracle.com>
@ahelwer

ahelwer commented Jun 16, 2024

Copy link
Copy Markdown
Collaborator

This is very weird. CI has SANY output the following error:

ERROR:root:java -cp deps/tools/tla2tools.jar:deps/apalache/lib/apalache.jar:specifications/Bakery-Boulangerie:deps/community/modules.jar:deps/tlapm/library tla2sany.SANY -error-codes specifications/Bakery-Boulangerie/MCBakery.tla
Illegal switch: -error-codes

Will investigate.

Comment thread manifest.json Outdated
Signed-off-by: Calvin Loncaric <calvin.loncaric@oracle.com>
@Calvin-L
Calvin-L force-pushed the bufferedrandomaccessfile branch from 563b1a0 to 4fb4032 Compare June 20, 2024 21:18
@ahelwer
ahelwer merged commit a58b556 into tlaplus:master Jun 20, 2024
@Calvin-L
Calvin-L deleted the bufferedrandomaccessfile branch June 21, 2024 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants