From d30f6a397d274b0b942bdd2e2648b42538f1cbe2 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 14 Dec 2018 20:34:27 -0800 Subject: Fixed some bugs, including upgrade --upgrade-from=version not working. Also updated the README. --- README.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index c916d43..a6a5dfb 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ Nomsu (named after **Nom**ic, and its creator, Peter **Su**ber) is a programming language designed to be used for playing games of [Nomic](https://en.wikipedia.org/wiki/Nomic), or engaging in other similar activities -revolving around natural language rule-making and self modification. +revolving around natural language rule-making and self modification. More information is +available at [Nomsu's homepage](https://nomsu.org). ## Dependencies @@ -21,17 +22,17 @@ There's a more complete set of example code in [examples/how\_do\_i.nom](example ``` say "Hello" -%my_nums = [5, 23, 42] -for %num in %my_nums: - say "\%num is one of my nums" +$my_nums = [5, 23, 42] +for $num in $my_nums: + say "\$num is one of my nums" -(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, - \%i bottle\("s" if (%i > 1) else "") 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, + \$i bottle\("s" if ($i > 1) else "") of beer! Take one down, pass it around..." - say "No bottles of beer on the wall. Go to the store, buy some more..." + say "No bottles of beer on the wall." sing 99 bottles of beer ``` -- cgit v1.2.3