<?xml version="1.0" encoding="windows-1251"?>
<!--
    VMS
With help of:
    Andy <brablc@yahoo.com>
-->
<!DOCTYPE hrc PUBLIC "-//Cail Lomecb//DTD Colorer HRC take5//EN" "../hrc.dtd">
<hrc version="take5" xmlns="http://colorer.sf.net/2003/hrc">
   <type name="vms" access="public">

      <import type="def"/>

      <region name="vmsString" parent="String"/>
      <region name="vmsComment" parent="Comment"/>
      <region name="vmsSymb" parent="Symbol"/>
      <region name="vmsWord" parent="Keyword"/>
      <region name="vmsOther" parent="Keyword"/>
      <region name="vmsNumb" parent="Number"/>
      <region name="vmsFunc" parent="URL"/>
      <region name="vmsSymbol" parent="Number"/>
      <region name="vmsLogical" parent="Number"/>
      <region name="vmsFirstChar" parent="ErrorText"/>


      <scheme name="vms">
<!-- ?? inherit scheme="LineRest"/-->
<!-- Linear Comments -->
         <regexp match="/\$?(!.*)$/" region0="vmsComment"/>
         <regexp match="/^\${1}/" region0="vmsFirstChar"/>
<!-- numbers -->
         <regexp match="/\b([0-9\.]+([eE][-+]?\d+)?)\b/" region0="vmsNumb"/>
         <regexp match="/\b(0[xX][\da-fA-F]+)\b/" region0="vmsNumb"/>
<!-- strings -->
         <regexp match="/(&#34;((\\.)|[^\\&#34;])*?&#34;)/" region0="vmsString"/>
         <regexp match="/(''\w+')/" region0="vmsSymbol"/>
         <regexp match="/(f\$[\w_]+)/" region0="vmsFunc"/>
         <regexp match="/([\w_]+\$[\w_]+)/" region0="vmsLogical"/>
         <regexp match="/(\w{3}[_\$]\w{3}:)/" region0="vmsLogical"/>
         <regexp match="/(\.[\w]+\.)/" region0="vmsWord"/>
         <keywords region="vmsSymb">
            <symb name=";"/>
            <symb name="="/>
            <symb name="+"/>
            <symb name="-"/>
            <symb name="/"/>
            <symb name="*"/>
            <symb name="&amp;"/>
            <symb name="|"/>
            <symb name="^"/>
            <symb name="("/>
            <symb name=")"/>
            <symb name="["/>
            <symb name="]"/>
            <symb name=","/>
            <symb name=":"/>
            <symb name="?"/>
            <symb name="!"/>
            <symb name="~"/>
            <symb name="&lt;"/>
            <symb name="&gt;"/>
            <symb name="%"/>
            <symb name="{"/>
            <symb name="}"/>
            <symb name="@"/>
         </keywords>
<!-- Key words-->
         <keywords ignorecase="yes" region="vmsWord">
            <word name="APPEND"/>
            <word name="ATTACH"/>
            <word name="CO"/>
            <word name="COMMIT"/>
            <word name="COPY"/>
            <word name="CLS"/>
            <word name="CREATE"/>
            <word name="DATE"/>
            <word name="DEASSIGN"/>
            <word name="DEFAULT"/>
            <word name="DEFINE"/>
            <word name="DELETE"/>
            <word name="DEVICE"/>
            <word name="DIR"/>
            <word name="DO"/>
            <word name="ECHO"/>
            <word name="ELSE"/>
            <word name="ELSIF"/>
            <word name="END"/>
            <word name="ENDIF"/>
            <word name="EOF"/>
            <word name="ERROR"/>
            <word name="EXIT"/>
            <word name="EXPAND"/>
            <word name="GET_SYMBOL"/>
            <word name="GOTO"/>
            <word name="HELP"/>
            <word name="HOME"/>
            <word name="IF"/>
            <word name="IMAGE"/>
            <word name="INCLUDE"/>
            <word name="LOGOUT"/>
            <word name="LOOP"/>
            <word name="MC"/>
            <word name="MMS"/>
            <word name="MODULE"/>
            <word name="ON"/>
            <word name="OPEN"/>
            <word name="PRINT"/>
            <word name="PROCEDURE"/>
            <word name="PROGRAM"/>
            <word name="PROMPT"/>
            <word name="PUT"/>
            <word name="QUEUE"/>
            <word name="READ"/>
            <word name="RETURN"/>
            <word name="RUN"/>
            <word name="SELECT"/>
            <word name="SET"/>
            <word name="SET_SYMBOL"/>
            <word name="SS"/>
            <word name="SM"/>
            <word name="SL"/>
            <word name="SH"/>
            <word name="SU"/>
            <word name="SV"/>
            <word name="CD"/>
            <word name="SD"/>
            <word name="SHOW"/>
            <word name="SPAWN"/>
            <word name="SQL"/>
            <word name="STATUS"/>
            <word name="SUBMIT"/>
            <word name="THEN"/>
            <word name="TO"/>
            <word name="TYPE"/>
            <word name="WARNING"/>
            <word name="WAIT"/>
            <word name="WRITE"/>
            <word name="."/>
         </keywords>
<!-- Other key words-->
         <keywords ignorecase="yes" region="vmsOther">
            <word name="/PRIVILEGES"/>
            <word name="/PROCESS"/>
            <word name="/OUTPUT"/>
            <word name="/NOWAIT"/>
            <word name="/WAIT"/>
            <word name="/JOB"/>
            <word name="/GROUP"/>
         </keywords>
      </scheme>

   </type>
</hrc>