code / nomsu

Lines6.6K Lua5.1K PEG1.3K make117
2 others 83
Markdown60 Bourne Again Shell23
(32 lines)
1 #!/usr/bin/env nomsu -V7.0.0
2 ###
3 This file defines upgrades from Nomsu <6.15 to 6.15
5 use "compatibility/compatibility"
7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 upgrade action (external $x = $y) to "6.15" as (external ($x = $y))
10 upgrade action (externally $x means $y) to "6.15" as (external ($x means $y))
11 upgrade action (externally $x all mean $y) to "6.15" as
12 external ($x all mean $y)
14 upgrade action ($lists flattened) to "6.15" as [:
15 for $ in recursive $lists:
16 if ($ is "a List"):
17 for $child in $:
18 recurse $ on $child
19 ..else: add $
22 upgrade action (compile error at $pos $msg $hint) to "6.15" as
23 at $pos fail ("
24 Compile error: \$msg
25 Hint: \$hint
26 ")
28 upgrade action ($x is $y) to "6.15" as ($x == $y)
29 upgrade action [$a isn't $b, $a is not $b, $a not= $b] to "6.15" as ($a != $b)
30 upgrade action [$a is a $b, $a is an $b] to "6.15" as ($a is $b)
31 upgrade action [$a isn't a $b, $a isn't an $b, $a is not a $b, $a is not an $b]
32 ..to "6.15" as ($a isn't $b)