-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
isleRelated to the ISLE domain-specific languageRelated to the ISLE domain-specific language
Description
Feature
Add (when <expr>)
and (unless <expr>)
syntax as shorthand for (if-let $true <expr>)
and (if-let $false <expr>)
respectively
Benefit
Less to type when adding boolean conditions to rules
Implementation
Should be simple to implement as a syntax sugar rewrite in the ISLE compiler. I would be happy to implement it myself.
Alternatives
Leave ISLE unchanged
Metadata
Metadata
Assignees
Labels
isleRelated to the ISLE domain-specific languageRelated to the ISLE domain-specific language