-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(ast)!: add top level expression type
Expr::Root
Add `Expr::Root`, and use this to store top-level constraints in `Model` (instead of the current `Vec<Expr>`). Among other things, this allows partial evaluation of the top level of the model again. For more details, see the RFC: #596. Closes: #596
- Loading branch information
1 parent
aa369f1
commit 59aa5fb
Showing
204 changed files
with
26,886 additions
and
14,987 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
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
58 changes: 33 additions & 25 deletions
58
conjure_oxide/tests/integration/basic/abs/0-simple/input.expected-parse.serialised.json
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
42 changes: 25 additions & 17 deletions
42
conjure_oxide/tests/integration/basic/abs/0-simple/input.expected-rewrite.serialised.json
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
98 changes: 53 additions & 45 deletions
98
conjure_oxide/tests/integration/basic/abs/01-simple/input.expected-parse.serialised.json
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
Oops, something went wrong.