nomsu/compatibility/3.6.nom

33 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-12-30 19:04:34 -08:00
#!/usr/bin/env nomsu -V6.12.12.8
#
This file defines upgrades from Nomsu <3.6 to 3.6
use "compatibility/compatibility.nom"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-12-30 19:04:34 -08:00
upgrade action [
2018-12-14 20:21:03 -08:00
append $item to $list, add $item to $list, to $list add $item, to $list append $item
2018-12-30 19:04:34 -08:00
] to "3.6" as ($list, add $item)
2018-12-30 19:04:34 -08:00
upgrade action [add $item to $list at index $i] to "3.6" as
$list, at index $i add $item
2018-12-30 19:04:34 -08:00
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)
2018-12-30 19:04:34 -08:00
upgrade action [declare locals in $lua] to "3.6" as ($lua, declare locals)
2018-12-30 19:04:34 -08:00
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