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

Updated the grammar rules to allow for optional trailing commas. #1510

Merged
merged 26 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
41c6292
fix: enforce trailing comma in parameter list for grammar rules
MahtabNorouzi Sep 17, 2024
fbd09fe
fix trailing comma
MahtabNorouzi Sep 19, 2024
3343be4
fix trailing comma
MahtabNorouzi Sep 20, 2024
b78147f
Update grammar to allow optional trailing commas
MahtabNorouzi Sep 23, 2024
bf36a67
Merge branch 'main' into grammar-update
MahtabNorouzi Sep 23, 2024
95ca3f8
Update CHANGELOG.md
MahtabNorouzi Oct 3, 2024
1298113
Update Quint.g4
MahtabNorouzi Oct 3, 2024
eda14be
Merge branch 'main' into grammar-update
MahtabNorouzi Oct 3, 2024
e7a2666
updated grammar
MahtabNorouzi Oct 3, 2024
666c75e
Merge branch 'main' into grammar-update
MahtabNorouzi Oct 3, 2024
e9c7ecf
Update CHANGELOG.md
MahtabNorouzi Oct 3, 2024
628174d
updated changelog
MahtabNorouzi Oct 3, 2024
7c4679c
Merge branch 'main' into grammar-update
MahtabNorouzi Oct 3, 2024
206d68a
Update QuintLexer.interp
MahtabNorouzi Oct 3, 2024
c409b1c
Update QuintLexer.ts
MahtabNorouzi Oct 3, 2024
1dc2a96
Update QuintLexer.tokens
MahtabNorouzi Oct 3, 2024
1fb1502
Update Quint.interp
MahtabNorouzi Oct 3, 2024
e6bf750
Update QuintParser.ts
MahtabNorouzi Oct 3, 2024
6880c8d
updated generated files
MahtabNorouzi Oct 4, 2024
e50a831
updated generated files
MahtabNorouzi Oct 4, 2024
d2c00c2
removed .antlr
MahtabNorouzi Oct 4, 2024
ed9d093
modified SuperSpec
MahtabNorouzi Oct 4, 2024
35daa3d
modified SuperSpec
MahtabNorouzi Oct 4, 2024
21d6a5a
modified SuperSpec
MahtabNorouzi Oct 7, 2024
39f989e
Merge branch 'main' into grammar-update
bugarela Oct 28, 2024
b887590
Fix small newline issues
bugarela Oct 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Grammar updated with support for an optional leading hashbang (`#!`) line (#1522)
- Added a new operator called `getOnlyElement()` to extract elements out of singleton sets (#1525)


### Changed

- Updated grammar rule to allow an optional trailing comma in parameter lists (#1510):

- Operator calls
- Constant initialization
- Operator definitions

### Deprecated
### Removed
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion quint/cli-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -392,4 +392,4 @@ See [#1500](https://github.com/informalsystems/quint/issues/1500).
if [ `uname -s` == 'Linux' -o `uname -s` == 'Darwin' ]; then
./testFixture/SuperSpec.qnt
fi
```
```
185 changes: 0 additions & 185 deletions quint/src/generated/.antlr/Quint.interp

This file was deleted.

130 changes: 0 additions & 130 deletions quint/src/generated/.antlr/Quint.tokens

This file was deleted.

224 changes: 0 additions & 224 deletions quint/src/generated/.antlr/QuintLexer.interp

This file was deleted.

Loading
Loading