Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
def tf(expr a) = if a: "true" else: "false" fi enddef;
|
||||
def test(expr a, b) =
|
||||
for o = "and", "or":
|
||||
message tf(a) & " " & o & " " & tf(b);
|
||||
show a scantokens(o) b;
|
||||
endfor
|
||||
message "not " & tf(a);
|
||||
show not a enddef;
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
test(true, true);
|
||||
test(false, false);
|
||||
test(true, false);
|
||||
test(false, true);
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue