All Downloads are FREE. Search and download functionalities are using the official Maven repository.

modes.chill.xml Maven / Gradle / Ivy

Go to download

This project aims to build a command line tool that can create HTML view with syntax highlighted source code. It uses Jedit syntax highlighting engine and support all languages that are supported in JEdit. Which are currently: ActionScript, Ada 95, ANTLR, Apache HTTPD, APDL, AppleScript, ASP, Aspect-J, Assembly, AWK, B formal method, Batch, BBj, BCEL, BibTeX, C, C++, C#, CHILL, CIL, COBOL, ColdFusion, CSS, CVS Commit, D, DOxygen, DSSSL, Eiffel, EmbPerl, Erlang, Factor, Fortran, Foxpro, FreeMarker, Fortran, Gettext, Groovy, Haskell, HTML, Icon, IDL, Inform, INI, Inno Setup, Informix 4GL, Interlis, Io, Java, JavaScript, JCL, JHTML, JMK, JSP, Latex, Lilypond, Lisp, LOTOS, Lua, Makefile, Maple, ML, Modula-3, MoinMoin, MQSC, NetRexx, NQC, NSIS2, Objective C, ObjectRexx, Occam, Omnimark, Parrot, Pascal, Patch, Perl, PHP, Pike, PL-SQL, PL/I, Pop11, PostScript, Povray, PowerDynamo, Progress 4GL, Prolog, Properties, PSP, PV-WAVE, Pyrex, Python, REBOL, Redcode, Relax-NG, RelationalView, Rest, Rib, RPM spec, RTF, Ruby, Ruby-HTML, RView, S+, S#, SAS, Scheme, SDL/PL, SGML, Shell Script, SHTML, Smalltalk, SMI MIB, SQR, Squidconf, SVN Commit, Swig, TCL, TeX, Texinfo, TPL, Transact-SQL, UnrealScript, VBScript, Velocity, Verilog, VHDL, XML, XSL, ZPT

The newest version!
<?xml version="1.0"?>

<!DOCTYPE MODE SYSTEM "xmode.dtd">

<!-- CHILL mode by Rudolf Widmann ([email protected])
     CHILL = "CCITT High Level Programming Language" used for telecommunication programming
     Pascal was used as reference.
     Keywords   = KEYWORD1
     Directives = KEYWORD2.
     Everything else as is-->
<MODE>
    <PROPS>
        <PROPERTY NAME="commentStart" VALUE="/*" />
        <PROPERTY NAME="commentEnd" VALUE="*/" />
    </PROPS>

    <RULES IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE">

        <!-- Compiler directives. -->
        <SPAN TYPE="COMMENT2">
            <BEGIN>&lt;&gt;</BEGIN>
            <END>&lt;&gt;</END>
        </SPAN>
        <!-- Normal comments. -->
        <SPAN TYPE="COMMENT1">
            <BEGIN>/*</BEGIN>
            <END>*/</END>
        </SPAN>

        <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
            <BEGIN>'</BEGIN>
            <END>'</END>
        </SPAN>
        <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
            <BEGIN>H'</BEGIN>
            <END>;</END>
        </SPAN>

        <SEQ TYPE="OPERATOR">)</SEQ>
        <SEQ TYPE="OPERATOR">(</SEQ>
        <SEQ TYPE="OPERATOR">]</SEQ>
        <SEQ TYPE="OPERATOR">[</SEQ>
        <SEQ TYPE="OPERATOR">+</SEQ>
        <SEQ TYPE="OPERATOR">-</SEQ>
        <SEQ TYPE="OPERATOR">/</SEQ>
        <SEQ TYPE="OPERATOR">*</SEQ>
        <SEQ TYPE="OPERATOR">.</SEQ>
        <SEQ TYPE="OPERATOR">,</SEQ>
        <SEQ TYPE="OPERATOR">;</SEQ>
        <SEQ TYPE="OPERATOR">^</SEQ>
        <SEQ TYPE="OPERATOR">@</SEQ>
        <SEQ TYPE="OPERATOR">:=</SEQ>
        <SEQ TYPE="OPERATOR">:</SEQ>
        <SEQ TYPE="OPERATOR">=</SEQ>
        <SEQ TYPE="OPERATOR">/=</SEQ>
        <SEQ TYPE="OPERATOR">&gt;</SEQ>
        <SEQ TYPE="OPERATOR">&lt;</SEQ>
        <SEQ TYPE="OPERATOR">&gt;=</SEQ>
        <SEQ TYPE="OPERATOR">&lt;=</SEQ>

        <KEYWORDS>
            <!-- Reserved words -->
            <KEYWORD1>AND</KEYWORD1>
            <KEYWORD1>BEGIN</KEYWORD1>
            <KEYWORD1>CASE</KEYWORD1>
            <KEYWORD1>DIV</KEYWORD1>
            <KEYWORD1>DO</KEYWORD1>
            <KEYWORD1>ELSE</KEYWORD1>
            <KEYWORD1>ELSIF</KEYWORD1>
            <KEYWORD1>END</KEYWORD1>
            <KEYWORD1>ESAC</KEYWORD1>
            <KEYWORD1>EXIT</KEYWORD1>
            <KEYWORD1>FI</KEYWORD1>
            <KEYWORD1>FOR</KEYWORD1>
            <KEYWORD1>GOTO</KEYWORD1>
            <KEYWORD1>IF</KEYWORD1>
            <KEYWORD1>IN</KEYWORD1>
            <KEYWORD1>MOD</KEYWORD1>
            <KEYWORD1>NOT</KEYWORD1>
            <KEYWORD1>OD</KEYWORD1>
            <KEYWORD1>OF</KEYWORD1>
            <KEYWORD1>ON</KEYWORD1>
            <KEYWORD1>OR</KEYWORD1>
            <KEYWORD1>OUT</KEYWORD1>
            <KEYWORD1>RESULT</KEYWORD1>
            <KEYWORD1>RETURN</KEYWORD1>
            <KEYWORD1>THEN</KEYWORD1>
            <KEYWORD1>THEN</KEYWORD1>
            <KEYWORD1>TO</KEYWORD1>
            <KEYWORD1>UNTIL</KEYWORD1>
            <KEYWORD1>USES</KEYWORD1>
            <KEYWORD1>WHILE</KEYWORD1>
            <KEYWORD1>WITH</KEYWORD1>
            <KEYWORD1>XOR</KEYWORD1>
            <!-- DEFINITIONS. -->
            <KEYWORD2>ARRAY</KEYWORD2>
            <KEYWORD2>DCL</KEYWORD2>
            <KEYWORD2>GRANT</KEYWORD2>
            <KEYWORD2>LABEL</KEYWORD2>
            <KEYWORD2>MODULE</KEYWORD2>
            <KEYWORD2>NEWMODE</KEYWORD2>
            <KEYWORD2>PROC</KEYWORD2>
            <KEYWORD2>POWERSET</KEYWORD2>
            <KEYWORD2>SEIZE</KEYWORD2>
            <KEYWORD2>SET</KEYWORD2>
            <KEYWORD2>STRUCT</KEYWORD2>
            <KEYWORD2>SYN</KEYWORD2>
            <KEYWORD2>SYNMODE</KEYWORD2>
            <KEYWORD2>TYPE</KEYWORD2>
            <KEYWORD2>PACK</KEYWORD2>
            <!-- ORDINAL TYPES. -->
            <KEYWORD3>BIN</KEYWORD3>
            <KEYWORD3>CHAR</KEYWORD3>
            <KEYWORD3>INT</KEYWORD3>
            <KEYWORD3>RANGE</KEYWORD3>
            <!-- BOOLEAN TYPES. -->
            <KEYWORD3>BOOL</KEYWORD3>
            <!-- UNTYPED POINTER. -->
            <KEYWORD3>PTR</KEYWORD3>
            <KEYWORD3>REF</KEYWORD3>
            
            <LABEL>MODULE_DESCRIPTION_HEADER</LABEL>
            <LABEL>PATCH_INFOS</LABEL>
            <LABEL>LIO_INFOS</LABEL>
            <LABEL>SWSG_INFOS</LABEL>
            <LABEL>MSG_XREF</LABEL>            
            <LABEL>EJECT</LABEL>            

            <LITERAL2>FALSE</LITERAL2>
            <LITERAL2>NULL</LITERAL2>
            <LITERAL2>TRUE</LITERAL2>
        </KEYWORDS>
    </RULES>
</MODE>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy