<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language _name="Agena" version="1.1" _section="Sources" mimetypes="text/x-agena">
	<escape-char>\</escape-char>
	<string _name = "String" style = "String" end-at-line-end = "TRUE">
		<start-regex>&apos;</start-regex>
		<end-regex>&apos;</end-regex>
	</string>
	<line-comment _name = "Line Comment" style= "Comment">
		<start-regex>#</start-regex>
	</line-comment>
	<block-comment _name = "Block Comment" style = "Comment">
		<start-regex>#/</start-regex>
      <end-regex>/#</end-regex>
	</block-comment>
	<pattern-item _name = "Decimal" style = "Decimal">
		<regex>\b([1-9][0-9]*|0)([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b</regex>
	</pattern-item>
	<pattern-item _name = "Floating Point Number" style = "Floating Point">
		<regex>\b([0-9]+[Ee][-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFlL]?</regex>
	</pattern-item>
    <keyword-list _name = "Keywords" style = "Keyword" case-sensitive="TRUE">
         <keyword>alias</keyword>
         <keyword>as</keyword>
         <keyword>boolean</keyword>
         <keyword>bottom</keyword>
         <keyword>break</keyword>
         <keyword>by</keyword>
         <keyword>case</keyword>
         <keyword>catch</keyword>
         <keyword>clear</keyword>
         <keyword>cls</keyword>
         <keyword>complex</keyword>
         <keyword>create</keyword>
         <keyword>dec</keyword>
         <keyword>delete</keyword>
         <keyword>dict</keyword>
         <keyword>div</keyword>
         <keyword>do</keyword>
         <keyword>duplicate</keyword>
         <keyword>elif</keyword>
         <keyword>else</keyword>
         <keyword>end</keyword>
         <keyword>enum</keyword>
         <keyword>epocs</keyword>
         <keyword>esac</keyword>
         <keyword>external</keyword>
         <keyword>exchange</keyword>
         <keyword>fi</keyword>
         <keyword>for</keyword>
         <keyword>from</keyword>
         <keyword>global</keyword>
         <keyword>if</keyword>
         <keyword>import</keyword>
         <keyword>inc</keyword>
         <keyword>infinity</keyword>
         <keyword>insert</keyword>
         <keyword>into</keyword>
         <keyword>keys</keyword>
         <keyword>lightuserdata</keyword>
         <keyword>local</keyword>
         <keyword>mul</keyword>
         <keyword>nargs</keyword>
         <keyword>number</keyword>
         <keyword>od</keyword>
         <keyword>of</keyword>
         <keyword>onsuccess</keyword>
         <keyword>pair</keyword>
         <keyword>pop</keyword>
         <keyword>proc</keyword>
         <keyword>procedure</keyword>
         <keyword>quit</keyword>
         <keyword>redo</keyword>
         <keyword>reg</keyword>
         <keyword>registers</keyword>
         <keyword>relaunch</keyword>
         <keyword>return</keyword>
         <keyword>rotate</keyword>
         <keyword>scope</keyword>
         <keyword>seq</keyword>
         <keyword>sequence</keyword>
         <keyword>set</keyword>
         <keyword>si</keyword>
         <keyword>skip</keyword>
         <keyword>string</keyword>
         <keyword>table</keyword>
         <keyword>then</keyword>
         <keyword>thread</keyword>
         <keyword>try</keyword>
         <keyword>to</keyword>
         <keyword>top</keyword>
         <keyword>try</keyword>
         <keyword>undefined</keyword>
         <keyword>until</keyword>
         <keyword>userdata</keyword>
         <keyword>varargs</keyword>
         <keyword>when</keyword>
         <keyword>while</keyword>
         <keyword>yrt</keyword>
    </keyword-list>
	<keyword-list _name = "Logical Operators" style = "Logical" case-sensitive="TRUE">
         <keyword>and</keyword>
         <keyword>fail</keyword>
         <keyword>false</keyword>
         <keyword>not</keyword>
         <keyword>null</keyword>
         <keyword>or</keyword>
         <keyword>subset</keyword>
         <keyword>true</keyword>
         <keyword>xor</keyword>
         <keyword>xsubset</keyword>
	</keyword-list>
	<keyword-list _name = "Operators" style = "Keyword" case-sensitive="TRUE">
         <keyword>abs</keyword>
         <keyword>arccos</keyword>
         <keyword>arcsin</keyword>
         <keyword>arctan</keyword>
         <keyword>assigned</keyword>
         <keyword>atendof</keyword>
         <keyword>bea</keyword>
         <keyword>char</keyword>
         <keyword>copy</keyword>
         <keyword>cos</keyword>
         <keyword>cosh</keyword>
         <keyword>cosxx</keyword>
         <keyword>defaults</keyword>
         <keyword>entier</keyword>
         <keyword>even</keyword>
         <keyword>exp</keyword>
         <keyword>filled</keyword>
         <keyword>finite</keyword>
         <keyword>float</keyword>
         <keyword>frac</keyword>
         <keyword>imag</keyword>
         <keyword>in</keyword>
         <keyword>instr</keyword>
         <keyword>int</keyword>
         <keyword>intersect</keyword>
         <keyword>is</keyword>
         <keyword>join</keyword>
         <keyword>left</keyword>
         <keyword>ln</keyword>
         <keyword>lngamma</keyword>
         <keyword>lower</keyword>
         <keyword>ltrim</keyword>
         <keyword>minus</keyword>
         <keyword>qsadd</keyword>
         <keyword>real</keyword>
         <keyword>recip</keyword>
         <keyword>replace</keyword>
         <keyword>right</keyword>
         <keyword>rtrim</keyword>
         <keyword>sadd</keyword>
         <keyword>shift</keyword>
         <keyword>sign</keyword>
         <keyword>sin</keyword>
         <keyword>sinh</keyword>
         <keyword>size</keyword>
         <keyword>smul</keyword>
         <keyword>split</keyword>
         <keyword>sqrt</keyword>
         <keyword>tan</keyword>
         <keyword>tanh</keyword>
         <keyword>trim</keyword>
         <keyword>type</keyword>
         <keyword>typeof</keyword>
         <keyword>unassigned</keyword>
         <keyword>union</keyword>
         <keyword>unique</keyword>
         <keyword>upper</keyword>
         <keyword>when</keyword>
         <keyword>&amp;&amp;</keyword>
         <keyword>||</keyword>
         <keyword>~~</keyword>
         <keyword>^^</keyword>
         <keyword>&amp;</keyword>
         <keyword>-&gt;</keyword>
	</keyword-list>
	<keyword-list _name = "Functions" style = "Other" case-sensitive="TRUE">
         <keyword>alternate</keyword>
         <keyword>approx</keyword>
         <keyword>arccosh</keyword>
         <keyword>arccot</keyword>
         <keyword>arccoth</keyword>
         <keyword>arccsc</keyword>
         <keyword>arccsch</keyword>
         <keyword>arcsec</keyword>
         <keyword>arcsech</keyword>
         <keyword>arcsinh</keyword>
         <keyword>arctan2</keyword>
         <keyword>arctanh</keyword>
         <keyword>argument</keyword>
         <keyword>assume</keyword>
         <keyword>besselj</keyword>
         <keyword>bessely</keyword>
         <keyword>beta</keyword>
         <keyword>binomial</keyword>
         <keyword>bintersect</keyword>
         <keyword>bisequal</keyword>
         <keyword>bminus</keyword>
         <keyword>cabs</keyword>
         <keyword>ceil</keyword>
         <keyword>checktype</keyword>
         <keyword>conjugate</keyword>
         <keyword>cot</keyword>
         <keyword>coth</keyword>
         <keyword>countitems</keyword>
         <keyword>csc</keyword>
         <keyword>csch</keyword>
         <keyword>dimension</keyword>
         <keyword>duplicates</keyword>
         <keyword>erf</keyword>
         <keyword>erfc</keyword>
         <keyword>error</keyword>
         <keyword>expx2</keyword>
         <keyword>fact</keyword>
         <keyword>fma</keyword>
         <keyword>frexp</keyword>
         <keyword>gamma</keyword>
         <keyword>getbit</keyword>
         <keyword>getentry</keyword>
         <keyword>getmetatable</keyword>
         <keyword>gettype</keyword>
         <keyword>has</keyword>
         <keyword>heaviside</keyword>
         <keyword>hypot</keyword>
         <keyword>ilog2</keyword>
         <keyword>ilog10</keyword>
         <keyword>irem</keyword>
         <keyword>isboolean</keyword>
         <keyword>iscomplex</keyword>
         <keyword>isequal</keyword>
         <keyword>isint</keyword>
         <keyword>isnegint</keyword>
         <keyword>isnonnegint</keyword>
         <keyword>isnonposint</keyword>
         <keyword>isnumber</keyword>
         <keyword>isnumeric</keyword>
         <keyword>ispair</keyword>
         <keyword>isposint</keyword>
         <keyword>isseq</keyword>
         <keyword>isset</keyword>
         <keyword>isstring</keyword>
         <keyword>isstructure</keyword>
         <keyword>istable</keyword>
         <keyword>ldexp</keyword>
         <keyword>load</keyword>
         <keyword>loadfile</keyword>
         <keyword>loadstring</keyword>
         <keyword>log</keyword>
         <keyword>log10</keyword>
         <keyword>map</keyword>
         <keyword>max</keyword>
         <keyword>min</keyword>
         <keyword>modf</keyword>
         <keyword>mprint</keyword>
         <keyword>newproxy</keyword>
         <keyword>next</keyword>
         <keyword>nseq</keyword>
         <keyword>notisposint</keyword>
         <keyword>ops</keyword>
         <keyword>pop</keyword>
         <keyword>print</keyword>
         <keyword>printf</keyword>
         <keyword>protect</keyword>
         <keyword>purge</keyword>
         <keyword>put</keyword>
         <keyword>rawequal</keyword>
         <keyword>rawget</keyword>
         <keyword>rawset</keyword>
         <keyword>read</keyword>
         <keyword>readlib</keyword>
         <keyword>recurse</keyword>
         <keyword>remove</keyword>
         <keyword>root</keyword>
         <keyword>roundf</keyword>
         <keyword>run</keyword>
         <keyword>save</keyword>
         <keyword>sec</keyword>
         <keyword>sech</keyword>
         <keyword>select</keyword>
         <keyword>selectremove</keyword>
         <keyword>setbit</keyword>
         <keyword>setmetatable</keyword>
         <keyword>settype</keyword>
         <keyword>sort</keyword>
         <keyword>sorted</keyword>
         <keyword>subs</keyword>
         <keyword>time</keyword>
         <keyword>tonumber</keyword>
         <keyword>toseq</keyword>
         <keyword>toset</keyword>
         <keyword>tostring</keyword>
         <keyword>totable</keyword>
         <keyword>unpack</keyword>
         <keyword>whereis</keyword>
         <keyword>with</keyword>
         <keyword>write</keyword>
         <keyword>writeline</keyword>
         <keyword>xpcall</keyword>
         <keyword>zip</keyword>
    </keyword-list>
</language>
