diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-12-14 20:34:27 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-12-14 20:34:49 -0800 |
| commit | d30f6a397d274b0b942bdd2e2648b42538f1cbe2 (patch) | |
| tree | 56adafac78b01411b995ab5e41a8ceb777bcd5e6 /README.md | |
| parent | 4fe63f253f58f87ab986fea38902d95f2a5ea338 (diff) | |
Fixed some bugs, including upgrade --upgrade-from=version not working.
Also updated the README.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -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 ``` |
