From 3e6b3983fcf38652ab7e56587b676ff91b837933 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 2 Feb 2019 19:43:53 -0800 Subject: [PATCH] Added some utf8 symbols and better description of utf8 support. --- examples/how_do_i.nom | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/how_do_i.nom b/examples/how_do_i.nom index a235e65..210e001 100644 --- a/examples/how_do_i.nom +++ b/examples/how_do_i.nom @@ -217,14 +217,14 @@ I think "chihuahuas" are worse than "corgis" "Howdy pardner" is what she said # The language only reserves []{}().,:;$\ as special characters, so actions - can have really funky names! -(>> $foo_bar @&' -->< $ @&_~-^-~_~-^ $1 !) means: - say $foo_bar + and variables can use symbols freely: +(>> $(∐) @&' -->< $ @&_~-^ ⊗⊞∰ $1 !) means: + say $(∐) say $ say $1 ->> "wow" @&' -->< "so flexible!" @&_~-^-~_~-^ "even numbers can be variables!" ! +>> "wow" @&' -->< "so flexible!" @&_~-^ ⊗⊞∰ "even numbers can be variables!" ! -# There's also full unicode support +# You can also use unicode in variable and action names: $こんにちは = "こんにちは" ($ と言う) means "\($)世界" say ($こんにちは と言う)