phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0
This commit is contained in:
15
examples/hello_world.hako
Normal file
15
examples/hello_world.hako
Normal file
@ -0,0 +1,15 @@
|
||||
// 🌍 Hello World - Nyash Programming Language Demo
|
||||
// Everything is Box philosophy in action!
|
||||
|
||||
print("🐱 Hello, Nyash World!")
|
||||
|
||||
// Basic Box creation and usage
|
||||
greeting = new StringBox("Welcome to Nyash!")
|
||||
print(greeting.toString())
|
||||
|
||||
// Simple calculation with Box
|
||||
numbers = new IntegerBox(42)
|
||||
result = numbers + 8
|
||||
print("42 + 8 = " + result)
|
||||
|
||||
print("✨ Everything is Box - Revolutionary programming! ✨")
|
||||
Reference in New Issue
Block a user