-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Change function `add_backets` to use `bottom_up`. This fixes an issue where the function does not recur on the items of a `KSequence`. * Add an artificial default bracket production. In case a term would require parentheses but there's no bracket production for its sort, this symbol will be applied. This emulates the following parametric production from module `KSEQ`: ```k syntax {Sort} Sort ::= "(" Sort ")" [bracket, group(defaultBracket), applyPriority(1)] ```
- Loading branch information
1 parent
4015988
commit 469164a
Showing
2 changed files
with
82 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters