diff --git a/examples/everything.kab b/examples/everything.kab index d14af28..b4ee9a6 100644 --- a/examples/everything.kab +++ b/examples/everything.kab @@ -4,11 +4,19 @@ # 'using', 'and', and the commas should be lexed out because they don't mean # anything However, they should be required nonetheless for the sake of # clarity and consistency. +# ^^ perhaps? leave in if it's useful at parser -p = 5; -k = 6; -g = 7; - - -to myFunction using k, x, and p: +to myFunction using r, x, and p: + +# Hoisting and declaration is implicit +n = 5; +_7 = 6; +_kt_hr = "string literal!"; + +# OOP-ish-ly: +# g = 7 + t.x.find(n, k, g+5, p) + 6; +g = (t's x: find using n, k, g + 5, p) + 6; + + +for module in p: