Skip to content

Comments

slang: test and improve the simplification of slang#13642

Merged
Alizter merged 8 commits intoocaml:mainfrom
Alizter:slang-simplify
Feb 18, 2026
Merged

slang: test and improve the simplification of slang#13642
Alizter merged 8 commits intoocaml:mainfrom
Alizter:slang-simplify

Conversation

@Alizter
Copy link
Collaborator

@Alizter Alizter commented Feb 17, 2026

The goal of this PR is two-fold, firstly to document the current simplification behaviour and secondly to improve it.

The first commit in this PR adds tests for various cases we would expect slang to simplify. The subsequent cases all target a particular case and allow it to happen.

This will be used in

in order to simplify eagerly evaluated expressions and will be more useful generally to reduce the duplication and complexity of portable lock directories.

Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com>
…constants

Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com>
@Alizter Alizter merged commit 411f749 into ocaml:main Feb 18, 2026
72 of 81 checks passed
@Alizter Alizter deleted the slang-simplify branch February 18, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants