Data update

This commit is contained in:
Ingy döt Net 2025-08-11 18:05:26 -07:00
parent 4d5544505c
commit 4924dd0264
3073 changed files with 55820 additions and 4408 deletions

View file

@ -0,0 +1,20 @@
(macro if2 (conds bothConditionsAreTrue firstConditionIsTrue secondConditionIsTrue noConditionIsTrue) {
# Assuming 'conds' is a node with at least 2 subnodes.
# Get its content and evaluate it once, to be able to
# refer to it without reevaluating the conditions
(let result1 (head conds))
(let result2 (@ conds 1))
(if (and result1 result2)
bothConditionsAreTrue
(if result1
firstConditionIsTrue
(if result2
secondConditionIsTrue
noConditionIsTrue)))})
(if2 (true false)
(print "1")
(print "2")
(print "3")
(print "4"))