18 lines
482 B
Text
18 lines
482 B
Text
include 'std/std.fa'
|
|
include 'std/logic.fa'
|
|
|
|
fun main [ str str int ] eo
|
|
1 0 #and if "0 && 1 is not truthy" %error end
|
|
0 0 #and if "0 && 0 is not truthy" %error end
|
|
0 1 #and if "1 && 0 is not truthy" %error end
|
|
|
|
-1 1 #and if "-1 && 1 is not truthy" %error end
|
|
1 -1 #and if "1 && -1 is not truthy" %error end
|
|
|
|
1 1 #and #not if "1 && 1 is truthy" %error end
|
|
69 420 #and #not if "420 && 69 is truthy" %error end
|
|
|
|
%EXIT_SUCCESS %exit
|
|
end
|
|
|
|
#main
|