diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-12-30 19:04:34 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-12-30 19:04:45 -0800 |
| commit | 8a3c32408733a2f5e14f8a2dbafa3f980b2f73a1 (patch) | |
| tree | 68f1e8a8b956c33ed24cc7a6a369fd97b8849321 /compatibility/3.6.nom | |
| parent | 359152da1772ce501609edd8f84b4985ed3e42f2 (diff) | |
Update to new syntax.
Diffstat (limited to 'compatibility/3.6.nom')
| -rw-r--r-- | compatibility/3.6.nom | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/compatibility/3.6.nom b/compatibility/3.6.nom index d2f9bb6..8fb52b5 100644 --- a/compatibility/3.6.nom +++ b/compatibility/3.6.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V5.12.12.8 +#!/usr/bin/env nomsu -V6.12.12.8 # This file defines upgrades from Nomsu <3.6 to 3.6 @@ -6,24 +6,27 @@ use "compatibility/compatibility.nom" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -upgrade action [..] +upgrade action [ append $item to $list, add $item to $list, to $list add $item, to $list append $item -..to "3.6" as ($list|add $item) +] to "3.6" as ($list, add $item) -upgrade action [add $item to $list at index $i] to "3.6" as (..) - $list|at index $i add $item +upgrade action [add $item to $list at index $i] to "3.6" as + $list, at index $i add $item -upgrade action [pop from $list, remove last from $list] to "3.6" as ($list|pop) -upgrade action [remove index $index from $list] to "3.6" as (..) - $list|remove index $index -upgrade action [to $1 write $2, $1 <-write $2] to "3.6" as ($1|add $2) -upgrade action [to $1 write $2 joined by $3] to "3.6" as ($1|add $2 joined by $3) -upgrade action [declare locals in $lua] to "3.6" as ($lua|declare locals) -upgrade action [declare locals $locs in $lua] to "3.6" as (..) - $lua|declare locals $locs +upgrade action [pop from $list, remove last from $list] to "3.6" as ($list, pop) +upgrade action [remove index $index from $list] to "3.6" as + $list, remove index $index +upgrade action [to $1 write $2, $1 <-write $2] to "3.6" as ($1, add $2) +upgrade action [to $1 write $2 joined by $3] to "3.6" as +..($1, add $2 joined by $3) -upgrade action [add free vars $vars to $lua] to "3.6" as (..) - $lua|add free vars $vars +upgrade action [declare locals in $lua] to "3.6" as ($lua, declare locals) -upgrade action [remove free vars $vars from $lua] to "3.6" as (..) - $lua|remove free vars $vars +upgrade action [declare locals $locs in $lua] to "3.6" as + $lua, declare locals $locs + +upgrade action [add free vars $vars to $lua] to "3.6" as + $lua, add free vars $vars + +upgrade action [remove free vars $vars from $lua] to "3.6" as + $lua, remove free vars $vars |
