Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initial Commit

  • Loading branch information...
commit a836f1f9832f70b4df8927a6b83c8e87becca862 0 parents
@rberger authored
20 Commands/Compile 4_x.tmCommand
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>saveActiveFile</string>
+ <key>command</key>
+ <string>$MV_BUILD_SCRIPT_PATH/build.rb $TM_FILEPATH 4 $TM_FILENAME</string>
+ <key>input</key>
+ <string>none</string>
+ <key>keyEquivalent</key>
+ <string>^1</string>
+ <key>name</key>
+ <string>Compile 4.x</string>
+ <key>output</key>
+ <string>showAsTooltip</string>
+ <key>uuid</key>
+ <string>295A61C3-694C-49AA-99C2-6F52752C356C</string>
+</dict>
+</plist>
20 Commands/Compile 5.tmCommand
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>saveActiveFile</string>
+ <key>command</key>
+ <string>$MV_BUILD_SCRIPT_PATH/build.rb $TM_FILEPATH 5 $TM_FILENAME</string>
+ <key>input</key>
+ <string>none</string>
+ <key>keyEquivalent</key>
+ <string>^1</string>
+ <key>name</key>
+ <string>Compile 5</string>
+ <key>output</key>
+ <string>showAsTooltip</string>
+ <key>uuid</key>
+ <string>039C8E96-DDF2-4368-A04F-21C9D9619302</string>
+</dict>
+</plist>
20 Commands/Compile 5_5.tmCommand
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>saveActiveFile</string>
+ <key>command</key>
+ <string>$MV_BUILD_SCRIPT_PATH/build.rb $TM_FILEPATH 5.5 $TM_FILENAME</string>
+ <key>input</key>
+ <string>none</string>
+ <key>keyEquivalent</key>
+ <string>^1</string>
+ <key>name</key>
+ <string>Compile 5.5</string>
+ <key>output</key>
+ <string>showAsTooltip</string>
+ <key>uuid</key>
+ <string>5DD973D1-1055-4F3B-A822-4C2B40CD3E25</string>
+</dict>
+</plist>
30 Preferences/Comments.tmPreferences
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>name</key>
+ <string>Comments</string>
+ <key>scope</key>
+ <string>text.html.mivascript</string>
+ <key>settings</key>
+ <dict>
+ <key>shellVariables</key>
+ <array>
+ <dict>
+ <key>name</key>
+ <string>TM_COMMENT_START</string>
+ <key>value</key>
+ <string>&lt;MvCOMMENT&gt; </string>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>TM_COMMENT_END</string>
+ <key>value</key>
+ <string> &lt;/MvCOMMENT&gt;</string>
+ </dict>
+ </array>
+ </dict>
+ <key>uuid</key>
+ <string>7802F61B-2A5C-48C0-B11E-870540D0B73E</string>
+</dict>
+</plist>
14 Snippets/MvASSIGN.tmSnippet
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;MvASSIGN NAME="$1" VALUE="${2:{ $3 \}}" /&gt;</string>
+ <key>name</key>
+ <string>MvASSIGN</string>
+ <key>tabTrigger</key>
+ <string>assign</string>
+ <key>uuid</key>
+ <string>874F3340-1E85-4013-B061-31C6D99A78F1</string>
+</dict>
+</plist>
16 Snippets/MvCOMMENT, multi-line.tmSnippet
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;MvCOMMENT&gt;
+ $0
+&lt;/MvCOMMENT&gt;</string>
+ <key>name</key>
+ <string>MvCOMMENT, multi-line</string>
+ <key>tabTrigger</key>
+ <string>/*</string>
+ <key>uuid</key>
+ <string>5E4EFB11-77B6-461F-893D-73B60E7A9D11</string>
+</dict>
+</plist>
14 Snippets/MvCOMMENT, single line.tmSnippet
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;MvCOMMENT&gt; $0 &lt;/MvCOMMENT&gt;</string>
+ <key>name</key>
+ <string>MvCOMMENT, single line</string>
+ <key>tabTrigger</key>
+ <string>//</string>
+ <key>uuid</key>
+ <string>235B9565-E24F-41A7-B422-09C544FB6522</string>
+</dict>
+</plist>
14 Snippets/MvEVAL.tmSnippet
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;MvEVAL EXPR="${1:{ $2 \}}" /&gt;</string>
+ <key>name</key>
+ <string>MvEVAL</string>
+ <key>tabTrigger</key>
+ <string>eval</string>
+ <key>uuid</key>
+ <string>008C25FB-C831-49BC-9075-343ABB9FCDB1</string>
+</dict>
+</plist>
18 Snippets/MvFUNCTION.tmSnippet
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;MvFUNCTION NAME="$1" PARAMETERS="$2"&gt;
+ $0
+
+ &lt;MvFUNCTIONRETURN VALUE="{ }" /&gt;
+&lt;/MvFUNCTION&gt;</string>
+ <key>name</key>
+ <string>MvFUNCTION</string>
+ <key>tabTrigger</key>
+ <string>func</string>
+ <key>uuid</key>
+ <string>78475E00-9E7C-4C9C-96B2-ED26C48A46F9</string>
+</dict>
+</plist>
14 Snippets/MvFUNCTIONRETURN.tmSnippet
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;MvFUNCTIONRETURN VALUE="${1:{ $2 \}}" /&gt;</string>
+ <key>name</key>
+ <string>MvFUNCTIONRETURN</string>
+ <key>tabTrigger</key>
+ <string>return</string>
+ <key>uuid</key>
+ <string>4AAA3517-7987-46F0-BAB0-CDC948D0703E</string>
+</dict>
+</plist>
18 Snippets/MvIF : ELSE.tmSnippet
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;MvIF EXPR="{ $1 }"&gt;
+ $0
+&lt;MvELSE /&gt;
+
+&lt;/MvIF&gt;</string>
+ <key>name</key>
+ <string>MvIF / ELSE</string>
+ <key>tabTrigger</key>
+ <string>if</string>
+ <key>uuid</key>
+ <string>C96153E6-ACA9-4126-A0A4-734C0C882D18</string>
+</dict>
+</plist>
18 Snippets/MvIF : ELSEIF.tmSnippet
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;MvIF EXPR="{ $1 }"&gt;
+
+&lt;MvELSEIF EXPR="{ }" /&gt;
+
+&lt;/MvIF&gt;</string>
+ <key>name</key>
+ <string>MvIF / ELSEIF</string>
+ <key>tabTrigger</key>
+ <string>if</string>
+ <key>uuid</key>
+ <string>45634608-1370-4AD5-B469-E9CF0C80B9D0</string>
+</dict>
+</plist>
16 Snippets/MvIF.tmSnippet
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;MvIF EXPR="{ $1 }"&gt;
+ $0
+&lt;/MvIF&gt;</string>
+ <key>name</key>
+ <string>MvIF</string>
+ <key>tabTrigger</key>
+ <string>if</string>
+ <key>uuid</key>
+ <string>98B39F85-9F40-4330-AF05-6FB7959C9920</string>
+</dict>
+</plist>
16 Snippets/MvOPENVIEW.tmSnippet
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;MvOPENVIEW NAME="Merchant" VIEW="$1" QUERY="{ l.query }"${2: FIELDS="$3"} /&gt;
+$0
+&lt;MvCLOSEVIEW NAME="Merchant" VIEW="$1" /&gt;</string>
+ <key>name</key>
+ <string>MvOPENVIEW</string>
+ <key>tabTrigger</key>
+ <string>openview</string>
+ <key>uuid</key>
+ <string>F87BC98C-D002-4468-9A0E-A44F34CAE393</string>
+</dict>
+</plist>
14 Snippets/MvQUERY.tmSnippet
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;MvQUERY NAME="Merchant" QUERY="{ l.query }"${1: FIELDS="$2"} /&gt;</string>
+ <key>name</key>
+ <string>MvQUERY</string>
+ <key>tabTrigger</key>
+ <string>query</string>
+ <key>uuid</key>
+ <string>5B29AA96-A8EF-4E2F-B0F4-9C1E24A324CD</string>
+</dict>
+</plist>
20 Snippets/MvWHILE db iterator.tmSnippet
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;MvOPENVIEW NAME="Merchant" VIEW="$1" QUERY="{ l.query }"${2: FIELDS="$3"} /&gt;
+&lt;MvWHILE EXPR="{ NOT $1.d.EOF }"&gt;
+ $0
+
+ &lt;MvSKIP NAME="Merchant" VIEW="$1" /&gt;
+&lt;/MvWHILE&gt;
+&lt;MvCLOSEVIEW NAME="Merchant" VIEW="$1" /&gt;</string>
+ <key>name</key>
+ <string>MvWHILE db iterator</string>
+ <key>tabTrigger</key>
+ <string>while</string>
+ <key>uuid</key>
+ <string>51FA0080-E8AA-4D51-828B-AAE031F7D7FA</string>
+</dict>
+</plist>
21 Snippets/MvWHILE iterator.tmSnippet
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;MvASSIGN NAME="l.ii" VALUE="1" /&gt;
+&lt;MvASSIGN NAME="l.to" VALUE="${1:{ $2 \}}" /&gt;
+
+&lt;MvWHILE EXPR="{ l.ii LE l.to }"&gt;
+ $0
+
+ &lt;MvASSIGN NAME="l.ii" VALUE="{ l.ii + 1 }" /&gt;
+&lt;/MvWHILE&gt;</string>
+ <key>name</key>
+ <string>MvWHILE iterator</string>
+ <key>tabTrigger</key>
+ <string>while</string>
+ <key>uuid</key>
+ <string>4C951299-7CAF-4E39-9809-7517601C0CD3</string>
+</dict>
+</plist>
18 Snippets/MvWHILE.tmSnippet
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;MvWHILE EXPR="{ $1 }"&gt;
+ $0
+
+
+&lt;/MvWHILE&gt;</string>
+ <key>name</key>
+ <string>MvWHILE</string>
+ <key>tabTrigger</key>
+ <string>while</string>
+ <key>uuid</key>
+ <string>D6303D24-B2F6-40BE-BC60-8A146AAAD488</string>
+</dict>
+</plist>
325 Syntaxes/Miva Script.tmLanguage
@@ -0,0 +1,325 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>fileTypes</key>
+ <array>
+ <string>mv</string>
+ </array>
+ <key>foldingStartMarker</key>
+ <string>(?x)
+ (&lt;(?i:MvCOMMENT|MvFUNCTION|MvLOCALIZED|MvLOCALIZED-TEXT|MvPOP|MvSMTP|MvIMPORT|MvIF|MvWHILE|MvCALL|MvCOMMERCE|MvASSIGNARRAY)\b.*?&gt;
+ |\{\s*($|\?&gt;\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
+ )</string>
+ <key>foldingStopMarker</key>
+ <string>(?x)
+ (&lt;/(?i:MvCOMMENT|MvFUNCTION|MvLOCALIZED|MvLOCALIZED-TEXT|MvPOP|MvSMTP|MvIMPORT|MvIF|MvWHILE|MvCALL|MvCOMMERCE|MvASSIGNARRAY)&gt;
+ |^[^{]*\}
+ )</string>
+ <key>keyEquivalent</key>
+ <string>^~M</string>
+ <key>name</key>
+ <string>Miva Script</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#language</string>
+ </dict>
+ <dict>
+ <key>captures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.mivascript</string>
+ </dict>
+ </dict>
+ <key>match</key>
+ <string>&lt;MvCOMMENT&gt;\*&lt;/MvCOMMENT&gt;</string>
+ <key>name</key>
+ <string>comment.block.empty.mivascript</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>(^\s*)?&lt;MvCOMMENT&gt;</string>
+ <key>captures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.mivascript</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>&lt;/MvCOMMENT&gt;(\s*\n)?</string>
+ <key>name</key>
+ <string>comment.block.mivascript</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>"</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.begin.mivascript</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>"</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.end.mivascript</string>
+ </dict>
+ </dict>
+ <key>name</key>
+ <string>string.quoted.double.mivascript</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>begin</key>
+ <string>\{</string>
+ <key>end</key>
+ <string>\}</string>
+ <key>name</key>
+ <string>source.mivascript.embedded.source</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#expression</string>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>'</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.begin.mivascript</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>'</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.end.mivascript</string>
+ </dict>
+ </dict>
+ <key>name</key>
+ <string>string.quoted.single.mivascript</string>
+ </dict>
+ </array>
+ <key>repository</key>
+ <dict>
+ <key>attributes</key>
+ <dict>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>match</key>
+ <string>\b(ACTION|CC|CONTENT-TYPE|DATABASE|DEFAULTMACROENCODING|DELIMITER|DIRECTORY|ERRORMESSAGE|ERROROUTPUTLEVEL|EXACT|EXPR|EXPRESSION|EXPR_TYPE|FIELDS|FILE|FILES|FILTER|FILTER_TYPE|FLAGS|FROM|ID|INDEX|INDEXES|INDEXFILE|INTERPRET|LANGUAGE|LOGIN|MAILHOST|MEMBER|METAMETHOD|METHOD|NAME|PARAMETERS|PASSWORD|QUERY|ROWS|ROW|STANDARDOUTPUTLEVEL|SUBJECT|TO|TYPE|VALUE|VARIABLE|VIEW)\b</string>
+ <key>name</key>
+ <string>entity.other.attribute-name.mivascript</string>
+ </dict>
+ </array>
+ </dict>
+ <key>expression</key>
+ <dict>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#variables</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#operators</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#miva_functions</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#numbers</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#attributes</string>
+ </dict>
+ </array>
+ </dict>
+ <key>functions</key>
+ <dict>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>beginCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>keyword.other.tags.mvfunction.mivascript</string>
+ </dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>entity.other.attribute-name.function-name.mivascript</string>
+ </dict>
+ <key>3</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.function.name.mivascript</string>
+ </dict>
+ <key>5</key>
+ <dict>
+ <key>name</key>
+ <string>entity.other.attribute-name.function-param.mivascript</string>
+ </dict>
+ <key>6</key>
+ <dict>
+ <key>name</key>
+ <string>variable.parameter.function.mivascript</string>
+ </dict>
+ </dict>
+ <key>match</key>
+ <string>&lt;(MvFUNCTION)\s*(NAME)\s*=\s*"(\w+)"(\s*(PARAMETERS)\s*=\s*"([\w\s,]+)")?</string>
+ </dict>
+ </array>
+ </dict>
+ <key>language</key>
+ <dict>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#variables</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#operators</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#functions</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#miva_functions</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#numbers</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#tags</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#attributes</string>
+ </dict>
+ </array>
+ </dict>
+ <key>miva_functions</key>
+ <dict>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>match</key>
+ <string>\b(abs|ftime|stime|time_t_month|time_t_year|time_t_hour|time_t_min|time_t_sec|time_t_dayofmonth|time_t_dayofweek|time_t_dayofyear|timezone|mktime_t|isalnum|isalpha|isascii|iscntrl|isdigit|isgraph|islower|isprint|ispunct|isspace|isupper|isxdigit|asciichar|asciivalue|decodeattribute|decodeentities|encodeattribute|encodeentities|gettoken|glosub_array|glosub|len|ltrim|padl|padr|rtrim|substring|tokenize|tolower|toupper|trim|acos|asin|atan|atan2|ceil|cos|cosh|exp|floor|fmod|int|log|log10|power|random|rnd|sin|sinh|sqrt|tan|tanh|fchmod|schmod|fcopy|fscopy|sfcopy|fdelete|sdelete|fexists|sexists|fmkdir|smkdir|fmode|smode|frename|srename|fsrename|sfrename|fsize|ssize|fsymlink|ssymlink|miva_setlanguage|miva_setdefaultlanguage|makesessionid|miva_array_collapse|miva_array_elements|miva_array_max|miva_array_serialize|miva_array_deserialize|miva_getvarlist|miva_output_flush|miva_output_header|miva_variable_value|rsa_generate_keypair|rsa_load_publickey|rsa_load_privatekey|rsa_public_encrypt|rsa_public_decrypt|rsa_private_encrypt|rsa_private_decrypt|rsa_free|crypto_rand_bytes|crypto_base64_encode|crypto_base64_decode|crypto_md5|bf_encrypt|bf_decrypt)\b</string>
+ <key>name</key>
+ <string>support.function.mivascript</string>
+ </dict>
+ </array>
+ </dict>
+ <key>numbers</key>
+ <dict>
+ <key>comment</key>
+ <string>handles integer and decimal numbers</string>
+ <key>match</key>
+ <string>(?x: # turn on extended mode
+ -? # an optional minus
+ (?:
+ 0 # a zero
+ | # ...or...
+ [1-9] # a 1-9 character
+ \d* # followed by zero or more digits
+ )
+ (?:
+ \. # a period
+ \d+ # followed by one or more digits
+ )? # make decimal portion optional
+ )</string>
+ <key>name</key>
+ <string>constant.numeric.mivascript</string>
+ </dict>
+ <key>operators</key>
+ <dict>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>match</key>
+ <string>\b(GT|LT|EQ|NE|GE|LE)\b</string>
+ <key>name</key>
+ <string>keyword.operator.comparison.mivascript</string>
+ </dict>
+ <dict>
+ <key>match</key>
+ <string>\b(BITAND|BITOR|BITXOR|BITOC|BITSL|BITSR)\b</string>
+ <key>name</key>
+ <string>keyword.operator.bitwise.mivascript</string>
+ </dict>
+ <dict>
+ <key>match</key>
+ <string>\b(NOT|AND|OR)\b</string>
+ <key>name</key>
+ <string>keyword.operator.logical.mivascript</string>
+ </dict>
+ <dict>
+ <key>match</key>
+ <string>\b(\$|IN|CIN|EIN|ECIN|CRYPT)\b</string>
+ <key>name</key>
+ <string>keyword.operator.string.mivascript</string>
+ </dict>
+ <dict>
+ <key>match</key>
+ <string>\b(\-|\+|\*|\/|POW|MOD|ROUND)\b</string>
+ <key>name</key>
+ <string>keyword.operator.arithmetic.mivascript</string>
+ </dict>
+ </array>
+ </dict>
+ <key>tags</key>
+ <dict>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>match</key>
+ <string>(MIVA|MvOPENVIEW|MvCLOSEVIEW|MvFUNCRETURN|MvFUNCTIONRETURN|MvFUNCTION|MvHIDE|MvLOCALIZED-TOKEN|MvADD|MvCLOSE|MvCLOSEVIEW|MvCREATE|MvDELETE|MvFILTER|MvFIND|MvGO|MvOPEN|MvOPENVIEW|MvPACK|MvPRIMARY|MvQUERY|MvREVEALSTRUCTURE|MvSKIP|MvUNDELETE|MvUPDATE|MvMAKEINDEX|MvREINDEX|MvSETINDEX|MvPOPDELETE|MvPOPSTOP|MvDO|MvEXPORT|MvIMPORTSTOP|MvLOCKFILE|MvELSEIF|MvELSE|MvEXIT|MvWHILESTOP|MvCALLSTOP|MvCOMMERCESTOP|MvASSIGN|MvDIMENSION|MvMEMBER|MvEVAL|MvHIDE|MvCOMMENT|MvLOCALIZED|MvLOCALIZED-TEXT|MvPOP|MvSMTP|MvIMPORT|MvIF|MvWHILE|MvCALL|MvCOMMERCE|MvASSIGNARRAY)</string>
+ <key>name</key>
+ <string>keyword.other.tags.mivascript</string>
+ </dict>
+ </array>
+ </dict>
+ </dict>
+ <key>scopeName</key>
+ <string>source.html.mivascript</string>
+ <key>uuid</key>
+ <string>CA2E227E-7D34-48A7-A86D-63371377CEAC</string>
+</dict>
+</plist>
63 info.plist
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>mainMenu</key>
+ <dict>
+ <key>items</key>
+ <array>
+ <string>6A6A9300-20A3-4DC9-83C4-ACA46542F6B3</string>
+ <string>------------------------------------</string>
+ <string>874F3340-1E85-4013-B061-31C6D99A78F1</string>
+ <string>98B39F85-9F40-4330-AF05-6FB7959C9920</string>
+ <string>45634608-1370-4AD5-B469-E9CF0C80B9D0</string>
+ <string>C96153E6-ACA9-4126-A0A4-734C0C882D18</string>
+ <string>78475E00-9E7C-4C9C-96B2-ED26C48A46F9</string>
+ <string>008C25FB-C831-49BC-9075-343ABB9FCDB1</string>
+ <string>D6303D24-B2F6-40BE-BC60-8A146AAAD488</string>
+ <string>4C951299-7CAF-4E39-9809-7517601C0CD3</string>
+ <string>872E1AD8-3138-4809-89E4-A770E9A48820</string>
+ </array>
+ <key>submenus</key>
+ <dict>
+ <key>6A6A9300-20A3-4DC9-83C4-ACA46542F6B3</key>
+ <dict>
+ <key>items</key>
+ <array>
+ <string>5DD973D1-1055-4F3B-A822-4C2B40CD3E25</string>
+ <string>039C8E96-DDF2-4368-A04F-21C9D9619302</string>
+ <string>295A61C3-694C-49AA-99C2-6F52752C356C</string>
+ </array>
+ <key>name</key>
+ <string>Compile</string>
+ </dict>
+ </dict>
+ </dict>
+ <key>name</key>
+ <string>Miva Script</string>
+ <key>ordering</key>
+ <array>
+ <string>5DD973D1-1055-4F3B-A822-4C2B40CD3E25</string>
+ <string>039C8E96-DDF2-4368-A04F-21C9D9619302</string>
+ <string>295A61C3-694C-49AA-99C2-6F52752C356C</string>
+ <string>CA2E227E-7D34-48A7-A86D-63371377CEAC</string>
+ <string>7802F61B-2A5C-48C0-B11E-870540D0B73E</string>
+ <string>874F3340-1E85-4013-B061-31C6D99A78F1</string>
+ <string>98B39F85-9F40-4330-AF05-6FB7959C9920</string>
+ <string>C96153E6-ACA9-4126-A0A4-734C0C882D18</string>
+ <string>45634608-1370-4AD5-B469-E9CF0C80B9D0</string>
+ <string>78475E00-9E7C-4C9C-96B2-ED26C48A46F9</string>
+ <string>4AAA3517-7987-46F0-BAB0-CDC948D0703E</string>
+ <string>008C25FB-C831-49BC-9075-343ABB9FCDB1</string>
+ <string>5B29AA96-A8EF-4E2F-B0F4-9C1E24A324CD</string>
+ <string>F87BC98C-D002-4468-9A0E-A44F34CAE393</string>
+ <string>D6303D24-B2F6-40BE-BC60-8A146AAAD488</string>
+ <string>4C951299-7CAF-4E39-9809-7517601C0CD3</string>
+ <string>51FA0080-E8AA-4D51-828B-AAE031F7D7FA</string>
+ <string>235B9565-E24F-41A7-B422-09C544FB6522</string>
+ <string>5E4EFB11-77B6-461F-893D-73B60E7A9D11</string>
+ </array>
+ <key>uuid</key>
+ <string>D1620B39-6CA2-4891-8F1A-219B88B08826</string>
+</dict>
+</plist>
Please sign in to comment.
Something went wrong with that request. Please try again.