Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit e6924553b25c60820c9327beb40ba56bfcec72cd @djspiewak committed Oct 27, 2008
Showing with 6,990 additions and 0 deletions.
  1. +132 −0 basic.xml
  2. +27 −0 catalog
  3. +383 −0 clojure.xml
  4. +81 −0 cool.xml
  5. +125 −0 cplusplus.xml
  6. +277 −0 java.xml
  7. +32 −0 latex-martin.xml
  8. +2,435 −0 latex.xml
  9. +1,288 −0 ocaml.xml
  10. +132 −0 powershell.xml
  11. +400 −0 python.xml
  12. +273 −0 rest.xml
  13. +112 −0 rhtml.xml
  14. +270 −0 sasylf.xml
  15. +389 −0 scala.xml
  16. +469 −0 shellscript.xml
  17. +120 −0 yacc.xml
  18. +45 −0 yaml.xml
132 basic.xml
@@ -0,0 +1,132 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE MODE SYSTEM "xmode.dtd">
+
+<MODE>
+ <PROPS>
+ <PROPERTY NAME="lineComment" VALUE="REM" />
+ </PROPS>
+
+ <RULES IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="TRUE">
+ <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
+ <BEGIN>"</BEGIN>
+ <END>"</END>
+ </SPAN>
+
+ <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
+ <BEGIN>'</BEGIN>
+ <END>'</END>
+ </SPAN>
+
+ <EOL_SPAN TYPE="COMMENT1">rem</EOL_SPAN>
+
+ <!-- Comparison operators -->
+ <SEQ TYPE="OPERATOR">&lt;</SEQ>
+ <SEQ TYPE="OPERATOR">&lt;=</SEQ>
+ <SEQ TYPE="OPERATOR">&gt;=</SEQ>
+ <SEQ TYPE="OPERATOR">&gt;</SEQ>
+ <SEQ TYPE="OPERATOR">=</SEQ>
+ <SEQ TYPE="OPERATOR">&lt;&gt;</SEQ>
+
+ <!-- Arithmetic operators -->
+ <SEQ TYPE="OPERATOR">+</SEQ>
+ <SEQ TYPE="OPERATOR">-</SEQ>
+ <SEQ TYPE="OPERATOR">*</SEQ>
+ <SEQ TYPE="OPERATOR">/</SEQ>
+ <SEQ TYPE="OPERATOR">%</SEQ>
+
+ <KEYWORDS>
+ <!-- Conditional Statements -->
+ <KEYWORD1>if</KEYWORD1>
+ <KEYWORD1>then</KEYWORD1>
+ <KEYWORD1>else</KEYWORD1>
+ <KEYWORD1>elseif</KEYWORD1>
+ <KEYWORD1>select</KEYWORD1>
+ <KEYWORD1>case</KEYWORD1>
+
+ <!-- I/O -->
+ <KEYWORD1>input</KEYWORD1>
+ <KEYWORD1>print</KEYWORD1>
+
+ <!-- Loop Statements -->
+ <!-- For..Next -->
+ <KEYWORD1>for</KEYWORD1>
+ <KEYWORD1>to</KEYWORD1>
+ <KEYWORD1>step</KEYWORD1>
+ <KEYWORD1>next</KEYWORD1>
+ <!-- Do..Loop -->
+ <KEYWORD1>do</KEYWORD1>
+ <KEYWORD1>while</KEYWORD1>
+ <!-- While..Wend -->
+ <KEYWORD1>wend</KEYWORD1>
+
+ <!-- Closing, Exit Statements -->
+ <KEYWORD1>exit</KEYWORD1>
+ <KEYWORD1>end</KEYWORD1>
+
+ <!-- Methods, Functions, Class, Properties, Variables -->
+ <KEYWORD1>let</KEYWORD1>
+ <KEYWORD1>label</KEYWORD1>
+
+ <!-- Declaration -->
+ <KEYWORD1>dim</KEYWORD1>
+
+ <!-- Miscellaneous -->
+ <KEYWORD1>goto</KEYWORD1>
+ <KEYWORD1>gosub</KEYWORD1>
+ <KEYWORD1>return</KEYWORD1>
+
+ <!-- Datatypes Constants/Literals -->
+ <KEYWORD3>false</KEYWORD3>
+ <KEYWORD3>true</KEYWORD3>
+ <KEYWORD3>null</KEYWORD3>
+
+ <!-- Math Functions -->
+ <KEYWORD2>atn</KEYWORD2>
+ <KEYWORD2>cos</KEYWORD2>
+ <KEYWORD2>sin</KEYWORD2>
+ <KEYWORD2>tan</KEYWORD2>
+ <KEYWORD2>exp</KEYWORD2>
+ <KEYWORD2>log</KEYWORD2>
+ <KEYWORD2>sqr</KEYWORD2>
+ <KEYWORD2>rnd</KEYWORD2>
+
+ <!-- Rounding -->
+ <KEYWORD2>abs</KEYWORD2>
+ <KEYWORD2>round</KEYWORD2>
+
+ <!-- Strings -->
+ <KEYWORD2>asc</KEYWORD2>
+ <KEYWORD2>ascb</KEYWORD2>
+ <KEYWORD2>ascw</KEYWORD2>
+ <KEYWORD2>chr</KEYWORD2>
+ <KEYWORD2>chrb</KEYWORD2>
+ <KEYWORD2>chrw</KEYWORD2>
+ <KEYWORD2>filter</KEYWORD2>
+ <KEYWORD2>instr</KEYWORD2>
+ <KEYWORD2>instrb</KEYWORD2>
+ <KEYWORD2>instrrev</KEYWORD2>
+ <KEYWORD2>join</KEYWORD2>
+ <KEYWORD2>len</KEYWORD2>
+ <KEYWORD2>lenb</KEYWORD2>
+ <KEYWORD2>lcase</KEYWORD2>
+ <KEYWORD2>ucase</KEYWORD2>
+ <KEYWORD2>left</KEYWORD2>
+ <KEYWORD2>leftb</KEYWORD2>
+ <KEYWORD2>mid</KEYWORD2>
+ <KEYWORD2>midb</KEYWORD2>
+ <KEYWORD2>right</KEYWORD2>
+ <KEYWORD2>rightb</KEYWORD2>
+ <KEYWORD2>replace</KEYWORD2>
+ <KEYWORD2>space</KEYWORD2>
+ <KEYWORD2>split</KEYWORD2>
+ <KEYWORD2>strcomp</KEYWORD2>
+ <KEYWORD2>string</KEYWORD2>
+ <KEYWORD2>strreverse</KEYWORD2>
+ <KEYWORD2>ltrim</KEYWORD2>
+ <KEYWORD2>rtrim</KEYWORD2>
+ <KEYWORD2>trim</KEYWORD2>
+ </KEYWORDS>
+ </RULES>
+</MODE>
+
27 catalog
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!DOCTYPE MODES SYSTEM "catalog.dtd">
+
+<MODES>
+ <MODE NAME="basic" FILE="basic.xml" FILE_NAME_GLOB="*.bas" />
+ <MODE NAME="cool" FILE="cool.xml" FILE_NAME_GLOB="*.cl" />
+ <MODE NAME="clojure" FILE="clojure.xml" FILE_NAME_GLOB="*.clj" />
+ <MODE NAME="c++" FILE="cplusplus.xml" FILE_NAME_GLOB="*.{cc,cpp,hh,hpp,cxx}" />
+ <MODE NAME="java" FILE="java.xml" FILE_NAME_GLOB="*.java" />
+ <MODE NAME="latex" FILE="latex.xml" FILE_NAME_GLOB="*.{tex,sty,ltx,bbl}" />
+ <MODE NAME="latex-martin" FILE="latex-martin.xml" FILE_NAME_GLOB="*.{src}" />
+ <MODE NAME="ocaml" FILE="ocaml.xml" FILE_NAME_GLOB="*.{ml,mli}" />
+ <MODE NAME="powershell" FILE="powershell.xml" FILE_NAME_GLOB="*.ps1" />
+ <MODE NAME="python" FILE="python.xml"
+ FILE_NAME_GLOB="*.{py,pyw,sc}"
+ FIRST_LINE_GLOB="#!*/*python*" />
+ <MODE NAME="scala" FILE="scala.xml" FILE_NAME_GLOB="*.scala" />
+ <MODE NAME="rest" FILE="rest.xml" FILE_NAME_GLOB="*.{rst,rest}"
+ FIRST_LINE_GLOB="{===,~~~,---,+++}*"/>
+ <MODE NAME="rhtml" FILE="rhtml.xml" FILE_NAME_GLOB="*.rhtml"/>
+ <MODE NAME="sasylf" FILE="sasylf.xml" FILE_NAME_GLOB="*.slf"/>
+ <MODE NAME="shellscript" FILE="shellscript.xml"
+ FILE_NAME_GLOB="*.{csh,sh,bash}"
+ FIRST_LINE_GLOB="#!/*sh*" />
+ <MODE NAME="yaml" FILE="yaml.xml" FILE_NAME_GLOB="*.{yml,yaml}" />
+ <MODE NAME="yacc" FILE="yacc.xml" FILE_NAME_GLOB="*.y" />
+</MODES>
Oops, something went wrong.

0 comments on commit e692455

Please sign in to comment.