aboutsummaryrefslogtreecommitdiff
path: root/lib/compatibility/6.15.nom
blob: 72d625d80f8e95d523f3a21841faf978b8b504bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env nomsu -V6.15.13.8
#
    This file defines upgrades from Nomsu <6.15 to 6.15
    
use "compatibility/compatibility"

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

upgrade action (external $x = $y) to "6.15" as (external ($x = $y))
upgrade action (externally $x means $y) to "6.15" as (external ($x means $y))
upgrade action (externally $x all mean $y) to "6.15" as
    external ($x all mean $y)

upgrade action ($lists flattened) to "6.15" as [
    : for $ in recursive $lists:
        if ($ is a "List"):
            for $child in $:
                recurse $ on $child
        ..else: add $
]

upgrade action (compile error at $pos $msg $hint) to "6.15" as
    at $pos fail ("
        Compile error: \$msg
        Hint: \$hint
    ")