1
0
Fork 0
forked from fun/fun

All incomplete examples have been updated and some corrections have been made to the parser to make them work. (0.37.17)

This commit is contained in:
Johannes Findeisen 2025-12-23 20:49:07 +01:00
commit 92aacff71a
41 changed files with 654 additions and 130 deletions

View file

@ -8,7 +8,7 @@
* Licensed under the terms of the Apache-2.0 license.
* https://opensource.org/license/apache-2-0
*/
// Short-circuit demo for || and &&
print("=== short-circuit demo ===")
@ -43,3 +43,15 @@ else
print(0)
print("=== end ===")
/* Expected output:
=== short-circuit demo ===
1
0
OR-NEEDED
1
AND-NEEDED
1
=== end ===
*/