From ea3197aaffba00318920ed5e1e33ca5f2a5e6c5c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 30 Oct 2018 23:42:04 -0700 Subject: Fully working version of (action [foo]: baz) -> ((foo) means: baz) refactor and misc other changes. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6744001..1de0910 100644 --- a/README.md +++ b/README.md @@ -25,12 +25,12 @@ say "Hello" for %num in %my_nums: say "\%num is one of my nums" -action [sing %n bottles of beer]: +(sing %n bottles of beer) means: for %i in %n to 1 by -1: - say ".." - \%i bottle\("s" if (%i > 1) else "") of beer on the wall, + say "\ + ..\%i bottle\("s" if (%i > 1) else "") of beer on the wall, \%i bottle\("s" if (%i > 1) else "") of beer! - Take one down, pass it around... + Take one down, pass it around..." say "No bottles of beer on the wall. Go to the store, buy some more..." sing 99 bottles of beer -- cgit v1.2.3