editors

changeset 2:f585b44372fe

* HippoEdit syntax files
author Jeremy Cowgar <jeremy@cowgar.com>
date Sat Aug 29 16:13:20 2009 +0000 (2009-08-29)
parents d6c98c374a2c
children 603a2c2dcf01
files hippoedit/etag_spec.xml hippoedit/etml_spec.xml hippoedit/euphoria_spec.xml
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/hippoedit/etag_spec.xml	Sat Aug 29 16:13:20 2009 +0000
     1.3 @@ -0,0 +1,26 @@
     1.4 +<?xml version="1.0" encoding="utf-8"?>
     1.5 +<?xml-stylesheet type="text/xsl" href="syntax.xslt"?>
     1.6 +<XMLConfigSettings>
     1.7 +	<FILEINFO author="Jeremy Cowgar" type="LangSpec"/>
     1.8 +	<SYNTAX id="etag" name="Euphoria HTML Tags" inherit="etml" inherit_url="etml_spec.xml">
     1.9 +		<SPECIFICATION>
    1.10 +			<FilePattern mask="*.etag"/>
    1.11 +			<Bars navigation="true" hierarchy="true"/>
    1.12 +		</SPECIFICATION>
    1.13 +		<SCOPES>
    1.14 +			<Scope open="{{{" close="}}}" has_name="true" separator="true"/>
    1.15 +		</SCOPES>
    1.16 +		<LABELS>
    1.17 +			<Label group="Tag" match="\{\{\{([A-Za-z0-9_]+)([^\n]*)\}\}\}$" name="\1" image="11" descr="\1 \2" scope="1">
    1.18 +				<Containers open="tag_header"/>
    1.19 +			</Label>
    1.20 +		</LABELS>
    1.21 +		<STYLES>
    1.22 +			<Style id="tag_header" name="Tag Header" image="11" bold="1" italic="0" underline="0" clr="Keyword3" bkclr="#888888888">
    1.23 +				<Blocks>
    1.24 +					<Block open="{{{" close="}}}"/>
    1.25 +				</Blocks>
    1.26 +			</Style>
    1.27 +		</STYLES>
    1.28 +	</SYNTAX>
    1.29 +</XMLConfigSettings>
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/hippoedit/etml_spec.xml	Sat Aug 29 16:13:20 2009 +0000
     2.3 @@ -0,0 +1,38 @@
     2.4 +<?xml version="1.0" encoding="utf-8"?>
     2.5 +<?xml-stylesheet type="text/xsl" href="syntax.xslt"?>
     2.6 +<XMLConfigSettings>
     2.7 +	<FILEINFO author="Jeremy Cowgar" type="LangSpec"/>
     2.8 +	<SYNTAX id="etml" name="Euphoria HTML" inherit="html" inherit_url="html_spec.xml">
     2.9 +		<SPECIFICATION>
    2.10 +			<FilePattern mask="*.etml"/>
    2.11 +			<OpenClose>()[]''</OpenClose>
    2.12 +			<Operators>?--+/*=&lt;&gt;</Operators>
    2.13 +			<Words>0-9A-Za-z_--</Words>
    2.14 +      <Encoding default="iso-8859-1" bom="false">
    2.15 +		  <Block open="charset="/>
    2.16 +	  </Encoding>
    2.17 +      <SyntaxBlocks>
    2.18 +	  	  <Block open="&lt;%"/>
    2.19 +	  </SyntaxBlocks>
    2.20 +      <Bars navigation="true" hierarchy="true"/>
    2.21 +    </SPECIFICATION>
    2.22 +		<STYLES>
    2.23 +			<Style name="Euphoria" include="eu:normal" bold="0" italic="0" underline="0" clr="#FF000000" bkclr="Embedded Language 1 Back" overview="1">
    2.24 +				<Containers>
    2.25 +					<Close id="eu:normal"/>
    2.26 +					<Close id="eu:comment"/>
    2.27 +					<Open id="js:string"/>
    2.28 +					<Open id="js:char"/>
    2.29 +					<Open id="js:normal"/>
    2.30 +					<Open id="string"/>
    2.31 +					<Open id="normal"/>
    2.32 +					<Open id="xml_open_tag"/>
    2.33 +					<Open id="xml_close_tag"/>
    2.34 +				</Containers>
    2.35 +				<Blocks>
    2.36 +					<Block open="&lt;%" close="%&gt;"/>
    2.37 +				</Blocks>
    2.38 +			</Style>
    2.39 +		</STYLES>
    2.40 +	</SYNTAX>
    2.41 +</XMLConfigSettings>
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/hippoedit/euphoria_spec.xml	Sat Aug 29 16:13:20 2009 +0000
     3.3 @@ -0,0 +1,181 @@
     3.4 +<?xml version="1.0" encoding="utf-8"?>
     3.5 +<?xml-stylesheet type="text/xsl" href="syntax.xslt"?>
     3.6 +<XMLConfigSettings>
     3.7 +	<FILEINFO author="Jeremy Cowgar" type="LangSpec" />
     3.8 +	<SYNTAX id="eu" name="Euphoria" inherit="def_source" inherit_url="defsource_spec.xml">
     3.9 +		<SPECIFICATION>
    3.10 +			<FilePattern mask="*.e;*.ex;*.exw;*.exd;ex.err;*.pro"/>
    3.11 +			<CaseSensitive>true</CaseSensitive>
    3.12 +			<OpenClose>''""</OpenClose>
    3.13 +			<EscapeChar>\</EscapeChar>
    3.14 +			<Operators>?*-+/&amp;*=&lt;&gt;!{}()[].</Operators>
    3.15 +			<Words>0-9A-Za-z_</Words>
    3.16 +			<Numbers>-+0-9A-Fa-ftx\#._</Numbers>
    3.17 +			<HierarchySeparator>
    3.18 +				<Separator text=":" />
    3.19 +			</HierarchySeparator>
    3.20 +			<Bars navigation="true"/>
    3.21 +		</SPECIFICATION>
    3.22 +		<Format>
    3.23 +			<DefaultIndent>4</DefaultIndent>
    3.24 +		</Format>
    3.25 +		<SCOPES>
    3.26 +			<Scope open="{" close="}"/>
    3.27 +				<Scope open="(" close=")"/>
    3.28 +				<Scope open="[" close="]"/>
    3.29 +				<Scope open="for" close="end for"/>
    3.30 +				<Scope open="while" close="end while">
    3.31 +				<Middle text="entry" />
    3.32 +			</Scope>
    3.33 +			<Scope open="loop" close="end do" />
    3.34 +			<Scope open="function" close="end function" has_name="true" separator="true"/>
    3.35 +			<Scope open="procedure" close="end procedure" has_name="true" separator="true"/>
    3.36 +			<Scope open="type" close="end type" has_name="true" separator="true"/>
    3.37 +			<Scope open="if" close="end if">
    3.38 +				<Middle text="elsif"/>
    3.39 +				<Middle text="case else"/>
    3.40 +			</Scope>
    3.41 +			<Scope open="ifdef" close="end ifdef">
    3.42 +				<Middle text="elsdef"/>
    3.43 +				<Middle text="elseifdef"/>
    3.44 +			</Scope>
    3.45 +			<Scope open="switch" close="end switch">
    3.46 +				<Middle text="case" />
    3.47 +				<Middle text="case else" />
    3.48 +			</Scope>
    3.49 +		</SCOPES>
    3.50 +		<LABELS>
    3.51 +			<Label group="Include" match="\s*((public)?\s*include\s+([\w.\/]+))\s?" name="\3" image="15" navigation="false"/>
    3.52 +			<Label group="Function" match="\s*((global|public|export|override)?\s*(function|procedure|type))\s+(\w+)\s*(\([^)]*\))" name="\1 \4" descr="\1 \2 \3" scope="1" image="9"/>
    3.53 +		</LABELS>
    3.54 +		<STYLES>
    3.55 +			<Style id="url" extend="true">
    3.56 +				<Containers>
    3.57 +					<Open id="normal" exclude="true"/>
    3.58 +					<Open id="string"/>
    3.59 +					<Open id="comment"/>
    3.60 +					<Open id="char"/>
    3.61 +				</Containers>
    3.62 +			</Style>
    3.63 +			<Style id="comment" name="Comments" text="1" bold="0" italic="1" underline="0" clr="#FF0000" bkclr="#FFFFFFFF">
    3.64 +				<Blocks>
    3.65 +					<Block open="--" close="\n" />
    3.66 +					<Block open="/*" close="*/" />
    3.67 +				</Blocks>
    3.68 +			</Style>
    3.69 +			<Style id="string" name="Strings" text="1" bold="0" italic="0" underline="0" clr="#009900" bkclr="#FFFFFFFF">
    3.70 +				<Blocks>
    3.71 +					<Block open="&quot;" close="&quot;"/>
    3.72 +					<Block open="&quot;&quot;&quot;" close="&quot;&quot;&quot;"/>
    3.73 +					<Block open="`" close="`" />
    3.74 +				</Blocks>
    3.75 +			</Style>
    3.76 +			<Style id="char" name="Char" text="1" bold="0" italic="0" underline="0" clr="#009900" bkclr="#FFFFFFFF">
    3.77 +				<Blocks>
    3.78 +					<Block open="'" close="'"/>
    3.79 +				</Blocks>
    3.80 +			</Style>
    3.81 +			<Style name="Data Types" image="10" bold="0" italic="0" underline="0" clr="Keyword2" bkclr="#FFFFFFFFF">
    3.82 +				<Keywords>
    3.83 +					<Keyword text="atom" />
    3.84 +					<Keyword text="enum" />
    3.85 +					<Keyword text="integer" />
    3.86 +					<Keyword text="object" />
    3.87 +					<Keyword text="sequence" />
    3.88 +				</Keywords>
    3.89 +			</Style>
    3.90 +			<Style name="Scope Modifiers" bold="1" italic="0" underline="0" clr="Keyword3" bkclr="#FFFFFFFFF">
    3.91 +				<Keywords>
    3.92 +					<Keyword text="export" />
    3.93 +					<Keyword text="global" />
    3.94 +					<Keyword text="override" />
    3.95 +					<Keyword text="public" />
    3.96 +				</Keywords>
    3.97 +			</Style>
    3.98 +			<Style id="preprocessor" name="Preprocessor" bold="0" italic="0" underline="0" clr="Preprocessor" bkclr="#FFFFFFFFF">
    3.99 +				<Keywords>
   3.100 +					<Keyword text="elsedef" />
   3.101 +					<Keyword text="elsifdef" />
   3.102 +					<Keyword text="ifdef" />
   3.103 +					<Keyword text="include" />
   3.104 +					<Keyword text="namespace" />
   3.105 +					<Keyword text="trace" />
   3.106 +					<Keyword text="with" />
   3.107 +					<Keyword text="without" />
   3.108 +				</Keywords>
   3.109 +			</Style>
   3.110 +			<Style id="keywords" name="Keywords" image="13" bold="1" italic="0" underline="0" clr="#0000AA" bkclr="#FFFFFFFF">
   3.111 +				<Keywords>
   3.112 +					<Keyword text="and" />
   3.113 +					<Keyword text="as" />
   3.114 +					<Keyword text="break" />
   3.115 +					<Keyword text="by" />
   3.116 +					<Keyword text="case" />
   3.117 +					<Keyword text="constant" />
   3.118 +					<Keyword text="continue" />
   3.119 +					<Keyword text="do" />
   3.120 +					<Keyword text="else" />
   3.121 +					<Keyword text="elsif" />
   3.122 +					<Keyword text="end" />
   3.123 +					<Keyword text="entry" />
   3.124 +					<Keyword text="exit" />
   3.125 +					<Keyword text="for" />
   3.126 +					<Keyword text="function" />
   3.127 +					<Keyword text="glabel" />
   3.128 +					<Keyword text="goto" />
   3.129 +					<Keyword text="if" />
   3.130 +					<Keyword text="label" />
   3.131 +					<Keyword text="loop" />
   3.132 +					<Keyword text="not" />
   3.133 +					<Keyword text="or" />
   3.134 +					<Keyword text="procedure" />
   3.135 +					<Keyword text="retry" />
   3.136 +					<Keyword text="return" />
   3.137 +					<Keyword text="switch" />
   3.138 +					<Keyword text="then" />
   3.139 +					<Keyword text="to" />
   3.140 +					<Keyword text="type" />
   3.141 +					<Keyword text="until" />
   3.142 +					<Keyword text="while" />
   3.143 +					<Keyword text="xor" />
   3.144 +				</Keywords>
   3.145 +			</Style>
   3.146 +			<Style name="Constants" image="7" bold="0" italic="0" underline="0" clr="Keyword" bkclr="#FFFFFFFF">
   3.147 +				<Keywords>
   3.148 +					<Keyword text="BSD" />
   3.149 +					<Keyword text="EU4" />
   3.150 +					<Keyword text="EU40" />
   3.151 +					<Keyword text="EU400" />
   3.152 +					<Keyword text="EUB" />
   3.153 +					<Keyword text="EUB_CON" /> 
   3.154 +					<Keyword text="EUB_SHROUD" /> 
   3.155 +					<Keyword text="EUB_WIN32" />
   3.156 +					<Keyword text="EUC" />
   3.157 +					<Keyword text="EUC_CON" /> 
   3.158 +					<Keyword text="EUC_DLL" />
   3.159 +					<Keyword text="EUI" /> 
   3.160 +					<Keyword text="FREEBSD" />
   3.161 +					<Keyword text="LINUX" />
   3.162 +					<Keyword text="NETBSD" />
   3.163 +					<Keyword text="OPENBSD" />
   3.164 +					<Keyword text="OSX" />
   3.165 +					<Keyword text="SUNOS" />
   3.166 +					<Keyword text="UNIX" />
   3.167 +					<Keyword text="WIN32" />
   3.168 +					<Keyword text="WIN32_CONSOLE" />
   3.169 +					<Keyword text="WIN32_GUI" />
   3.170 +                    <Keyword text="WINDOWS" />
   3.171 +				</Keywords>
   3.172 +			</Style>
   3.173 +			<Style name="TODOs" text="1" bold="1" italic="1" underline="0" clr="TODOs" bkclr="#FFFFFFFF">
   3.174 +				<Containers>
   3.175 +					<Open id="comment"/>
   3.176 +				</Containers>
   3.177 +				<Blocks>
   3.178 +					<Block open="TODO" close="\n"/>
   3.179 +					<Block open="todo" close="\n"/>
   3.180 +				</Blocks>
   3.181 +			</Style>
   3.182 +		</STYLES>
   3.183 +	</SYNTAX>
   3.184 +</XMLConfigSettings>
   3.185 \ No newline at end of file

SCM Home | OpenEuphoria.org Home