diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-03-20 15:55:57 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-03-20 15:55:57 -0700 |
| commit | e665d9725c4bb02f4c18d16527367f424cb880fa (patch) | |
| tree | aed161ee6b338c2bad2312591f746459414ccafa /lib/compatibility/4.8.10.nom | |
| parent | 606fd090002f3d545cbd58440e96624907846f45 (diff) | |
Auto-updated to 7.0.0 syntax and removed some shims.
Diffstat (limited to 'lib/compatibility/4.8.10.nom')
| -rw-r--r-- | lib/compatibility/4.8.10.nom | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/lib/compatibility/4.8.10.nom b/lib/compatibility/4.8.10.nom index 71d69d0..3ec7421 100644 --- a/lib/compatibility/4.8.10.nom +++ b/lib/compatibility/4.8.10.nom @@ -1,5 +1,6 @@ -#!/usr/bin/env nomsu -V6.15.13.8 -# +#!/usr/bin/env nomsu -V7.0.0 + +### This file defines upgrades from Nomsu <4.8.10 to 4.8.10 (renaming "action" -> "means") use "compatibility/compatibility" @@ -11,13 +12,13 @@ upgrade action "local action" to "4.8.10" via $body = $tree.4 if $spec.type is: "List": - if ((#$spec) == 1): - return \($spec.1 means $body) + if (#$spec == 1): + return ("Action" tree with $spec.1 "means" $body) ..else: - return \($spec all mean $body) + return ("Action" tree with $spec "all" "mean" $body) else: - return \($spec means $body) + return ("Action" tree with $spec "means" $body) upgrade action "action" to "4.8.10" via for ($tree $end_version): @@ -26,15 +27,15 @@ upgrade action "action" to "4.8.10" via if $body: if $spec.type is: "List": - if ((#$spec) == 1): - return \(externally $spec.1 means $body) + if (#$spec == 1): + return ("Action" tree with "externally" $spec.1 "means" $body) ..else: - return \(externally $spec all mean $body) + return ("Action" tree with "externally" $spec "all" "mean" $body) else: - return \(externally $spec means $body) + return ("Action" tree with "externally" $spec "means" $body) ..else: - return \($spec's meaning) + return ("Action" tree with $spec "'" "s" "meaning") upgrade action "compile 1 to" to "4.8.10" via for ($tree $end_version): @@ -42,13 +43,13 @@ upgrade action "compile 1 to" to "4.8.10" via $body = $tree.4 if $spec.type is: "List": - if ((#$spec) == 1): - return \($spec.1 compiles to $body) + if (#$spec == 1): + return ("Action" tree with $spec.1 "compiles" "to" $body) ..else: - return \($spec all compile to $body) + return ("Action" tree with $spec "all" "compile" "to" $body) else: - return \($spec compiles to $body) + return ("Action" tree with $spec "compiles" "to" $body) upgrade action "parse 1 as" to "4.8.10" via for ($tree $end_version): @@ -56,13 +57,13 @@ upgrade action "parse 1 as" to "4.8.10" via $body = $tree.4 if $spec.type is: "List": - if ((#$spec) == 1): - return \($spec.1 parses as $body) + if (#$spec == 1): + return ("Action" tree with $spec.1 "parses" "as" $body) ..else: - return \($spec all parse as $body) + return ("Action" tree with $spec "all" "parse" "as" $body) else: - return \($spec parse as $body) + return ("Action" tree with $spec "parse" "as" $body) upgrade action (compile as $) to "4.8.10" as (what $ compiles to) upgrade action (remove action $) to "4.8.10" as (($'s meaning) = (nil))
\ No newline at end of file |
