1
0
Fork 0
forked from fun/fun

Added some documentation to some ./examples/*.fun scripts.

This commit is contained in:
Johannes Findeisen 2025-09-18 02:39:07 +02:00
commit 84ef262588
16 changed files with 151 additions and 13 deletions

View file

@ -8,7 +8,18 @@
* Licensed under the terms of the ISC license.
* https://opensource.org/license/isc-license-txt
*/
/*
* Expression Testing Suite
*
* Contains comprehensive tests for:
* - Operator precedence rules
* - Arithmetic expression evaluation
* - Logical expressions (AND, OR)
* - Conditional expressions (`if`, `else`)
* - Expression short-circuiting behavior
*/
// Expressions test: arithmetic, precedence, comparisons, logical ops, unary, parentheses.
print("=== Expressions test start ===")