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

@ -77,3 +77,45 @@ print(typeof(p)) // -> "Class"
print("")
print("=== Done ===")
/* Expected output:
=== Dynamic (untyped) ===
Number
String
=== Numbers and integer subtypes ===
Sint64
42
-126
4464
255
0
=== Strings ===
String
hello
=== Nil ===
Nil
nil
=== Arrays ===
Array
3
2
[1, 2]
=== Maps ===
Map
v
=== Functions ===
Function
12
=== Classes and Class-typed variables ===
Class
=== Done ===
*/