code / nomsu

Lines6.6K Lua5.1K PEG1.3K make117
2 others 83
Markdown60 Bourne Again Shell23
(23 lines)
1 #!/usr/bin/env nomsu -V7.0.0
2 ###
3 This file defines upgrades from Nomsu <3.8 to 3.8 (Text method changes)
5 use "compatibility/compatibility"
7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 upgrade action [$texts joined with $glue] to "3.8" as ($texts, joined with $glue)
10 upgrade action [$texts joined, joined $texts] to "3.8" as ($texts, joined)
11 upgrade action [byte $i of $text] to "3.8" as ($text, byte $i)
12 upgrade action [bytes $start to $stop of $text] to "3.8" as
13 $text, bytes $start to $stop
14 upgrade action [bytes of $text] to "3.8" as ($text, bytes)
15 upgrade action [capitalized $text, $text capitalized] to "3.8" as
16 $text, capitalized
17 upgrade action [uppercase $text, $text uppercase] to "3.8" as ($text, uppercase)
18 upgrade action [
19 $text with $sub instead of $patt, $text with $patt replaced by $sub
20 $text s/ $patt / $sub
21 ] to "3.8" as ($text, with $patt -> $sub)
22 upgrade action [$text matches $pattern] to "3.8" as ($text, matches $pattern)
23 upgrade action [$text matching $pattern] to "3.8" as ($text, matching $pattern).1