Skip to content

add COALESCE function to logic block#173

Merged
rneswold merged 1 commit intoDrMemCS:mainfrom
rneswold:add-coalesce
Feb 24, 2026
Merged

add COALESCE function to logic block#173
rneswold merged 1 commit intoDrMemCS:mainfrom
rneswold:add-coalesce

Conversation

@rneswold
Copy link
Contributor

This adds a COALESCE(Expr [, Expr]*) to the logic block grammar. One could set up several defs expressions that use if-then-end with no else clause. Then, in the main expression, one could use COALESCE(expr1, expr2, expr3) and the first conditional to return a value would set the value of COALESCE.

Amazing. This was authored by Gemini Pro. I had to fix one of the
unit tests, but otherwise it was a complete and accurate feature.
@rneswold rneswold merged commit 829d4df into DrMemCS:main Feb 24, 2026
3 checks passed
@rneswold rneswold deleted the add-coalesce branch February 24, 2026 06:30
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.

1 participant