diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-01-14 17:14:34 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-01-14 17:14:57 -0800 |
| commit | ddef8be3df626d63f6e575d4c1416295a22371ad (patch) | |
| tree | 78af9584447b085f06d6412d2cc20137a460848b /lib/compatibility/3.6.nom | |
| parent | 9fceff7e785bb234971b443809eef3da9051c598 (diff) | |
Moved compatibility to lib/ and fixed path searching for .peg files.
Diffstat (limited to 'lib/compatibility/3.6.nom')
| -rw-r--r-- | lib/compatibility/3.6.nom | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/compatibility/3.6.nom b/lib/compatibility/3.6.nom new file mode 100644 index 0000000..5db2aae --- /dev/null +++ b/lib/compatibility/3.6.nom @@ -0,0 +1,30 @@ +#!/usr/bin/env nomsu -V6.14 +# + This file defines upgrades from Nomsu <3.6 to 3.6 + +use "compatibility/compatibility" + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +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) + +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 [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 |
