<?xml version="1.0"?>
<!-- syntaxdefinition for Python by fish -->
<SyntaxDefinition name="Python" extensions=".py">

	<Environment>
	</Environment>

	<Properties>
		<Property name="LineComment" value="#"/>
	</Properties>

	<Digits name="Digits" bold="false" italic="false" color="DarkBlue" />

	<RuleSets>
		<RuleSet ignorecase="false" >
			<Delimiters>&amp;&lt;&gt;~!@%^*()-+=|\#/{}[]:;"' ,	?</Delimiters>

			<Span name="LineComment" rule="CommentMarkerSet" stopateol="true" bold="false" italic="false" color="Gray" >
				<Begin >#</Begin>
			</Span>

			<Span name="String" stopateol="true" bold="false" italic="false" color="Fuchsia" >
				<Begin >"</Begin>
				<End >"</End>
			</Span>

			<MarkPrevious bold="true" italic="false" color="MidnightBlue" >(</MarkPrevious>

			<KeyWords name="Punctuation" bold="false" italic="false" color="DarkGreen" >
				<Key word="?"/>
				<Key word=","/>
				<Key word=":"/>
				<Key word=";"/>
				<Key word="("/>
				<Key word=")"/>
				<Key word="["/>
				<Key word="]"/>
				<Key word="{"/>
				<Key word="}"/>
				<Key word="+"/>
				<Key word="-"/>
				<Key word="/"/>
				<Key word="%"/>
				<Key word="*"/>
				<Key word="&lt;"/>
				<Key word="&gt;"/>
				<Key word="^"/>
				<Key word="="/>
				<Key word="~"/>
				<Key word="!"/>
				<Key word="|"/>
				<Key word="&amp;"/>
			</KeyWords>

			<KeyWords name = "Instructions" bold="false" italic="false" color="Red">
				<Key word="__builtin__"/>
				<Key word="__future__"/>
				<Key word="__main__"/>
				<Key word="aepack"/><Key word="aetools"/><Key word="aetypes"/><Key word="aifc"/><Key word="al"/><Key word="anydbm"/><Key word="applesingle"/><Key word="atexit"/><Key word="array"/><Key word="asyncore"/><Key word="asynchat"/><Key word="audioop"/><Key word="autoGIL"/>
				<Key word="AL"/><Key word="AST"/><Key word=""/>
				<Key word="base64"/><Key word="binascii"/><Key word="binhex"/><Key word="bisect"/><Key word="bsddb"/><Key word="buildtools"/><Key word="bz2"/>
				<Key word="BaseHTTPServer"/><Key word="Bastion"/>
				<Key word="calendar"/><Key word="cd"/><Key word="cfmfile"/><Key word="cgi"/><Key word="cgitb"/><Key word="chunk"/><Key word="cmath"/><Key word="cmd"/><Key word="code"/><Key word="codecs"/><Key word="codeop"/><Key word="collections"/><Key word="colorsys"/><Key word="commands"/><Key word="compileall"/><Key word="cookielib"/><Key word="copy_reg"/><Key word="cPickle"/><Key word="cStringIO"/><Key word="csv"/><Key word="curses"/>
				<Key word="Carbon"/><Key word="CGIHTTPServer"/><Key word="ColorPicker"/><Key word="Complex"/><Key word="ConfigParser"/><Key word="Cookie"/>
				<Key word="datetime"/><Key word="dbhash"/><Key word="decimal"/><Key word="difflib"/><Key word="dircache"/><Key word="dircmp"/><Key word="dis"/><Key word="distutils"/><Key word="dl"/><Key word="doctest"/><Key word="dospath"/><Key word="dumbdbm"/><Key word="dummy_thread"/><Key word="dummy_threading"/>
				<Key word="DEVICE"/><Key word="DocXMLRPCServer"/>
				<Key word="emacs"/><Key word="email"/><Key word="encodings"/><Key word="errno"/><Key word="exceptions"/>
				<Key word="EasyDialogs"/>
				<Key word="fcntl"/><Key word="filecmp"/><Key word="fileinput"/><Key word="findertools"/><Key word="fl"/><Key word="flp"/><Key word="fm"/><Key word="fmt"/><Key word="fnmatch"/><Key word="formatter"/><Key word="fpectl"/><Key word="fpformat"/><Key word="ftplib"/>
				<Key word="FL"/><Key word="FrameWork"/>
				<Key word="gc"/><Key word="gdbm"/><Key word="gensuitemodule"/><Key word="getopt"/><Key word="getpass"/><Key word="gettext"/><Key word="gl"/><Key word="glob"/><Key word="gopherlib"/><Key word="grep"/><Key word="gzip"/>
				<Key word="GL"/>
				<Key word="heapq"/><Key word="hmac"/><Key word="hotshot"/><Key word="htmlentitydefs"/><Key word="htmllib"/><Key word="httplib"/>
				<Key word="HTMLParser"/>
				<Key word="ic"/><Key word="icopen"/><Key word="ihooks"/><Key word="imaplib"/><Key word="imageop"/><Key word="imghdr"/><Key word="imp"/><Key word="imputil"/><Key word="inspect"/><Key word="itertools"/>
				<Key word="jpeg"/>
				<Key word="keyword"/>
				<Key word="linecache"/><Key word="locale"/><Key word="lockfile"/><Key word="logging"/>
				<Key word="mac"/><Key word="macerrors"/><Key word="macfs"/><Key word="macostools"/><Key word="macpath"/><Key word="macresource"/><Key word="macurl2path"/><Key word="mailbox"/><Key word="mailcap"/><Key word="marshal"/><Key word="md5"/><Key word="mhlib"/><Key word="mimetools"/><Key word="mimetypes"/><Key word="mimify"/><Key word="mmap"/><Key word="multifile"/><Key word="mutex"/><Key word="math"/>
				<Key word="MacOS"/><Key word="MimeWriter"/><Key word="MiniAEFrame"/>
				<Key word="netrc"/><Key word="new"/><Key word="newdir"/><Key word="ni"/><Key word="nis"/><Key word="nntplib"/><Key word="nsremote"/><Key word="ntpath"/><Key word="nturl2path"/>
				<Key word="operator"/><Key word="optparse"/><Key word="os"/><Key word="ossaudiodev"/>
				<Key word="parser"/><Key word="pdb"/><Key word="pgdb"/><Key word="pickle"/><Key word="pickletools"/><Key word="pipes"/><Key word="pkgutil"/><Key word="platform"/><Key word="poly"/><Key word="popen2"/><Key word="poplib"/><Key word="posixfile"/><Key word="posixpath"/><Key word="pprint"/><Key word="profile"/><Key word="pstats"/><Key word="py_compile"/><Key word="pyclbr"/><Key word="pydoc"/><Key word="pyexpat"/><Key word="pythonprefs"/>
				<Key word="Para"/><Key word="PixMapWrapper"/>
				<Key word="quietconsole"/><Key word="quopri"/>
				<Key word="Queue"/>
				<Key word="rand"/><Key word="random"/><Key word="re"/><Key word="regex"/><Key word="regsub"/><Key word="resource"/><Key word="rexec"/><Key word="rfc822"/><Key word="rgbimg"/><Key word="rlcompleter"/><Key word="robotparser"/><Key word="rotor"/>
				<Key word="sched"/><Key word="select"/><Key word="sets"/><Key word="sgmllib"/><Key word="sha"/><Key word="shelve"/><Key word="shlex"/><Key word="shutil"/><Key word="signal"/><Key word="site"/><Key word="smtpd"/><Key word="smtplib"/><Key word="sndhdr"/><Key word="snmp"/><Key word="socket"/><Key word="stat"/><Key word="statcache"/><Key word="statvfs"/><Key word="string"/><Key word="stringprep"/><Key word="struct"/><Key word="subprocess"/><Key word="sunau"/><Key word="symbol"/><Key word="sys"/><Key word="syslog"/>
				<Key word="ScrolledText"/><Key word="SimpleHTTPServer"/><Key word="SimpleXMLRPCServer"/><Key word="StringIO"/><Key word="SocketServer"/>
				<Key word="tabnanny"/><Key word="tarfile"/><Key word="tb"/><Key word="telnetlib"/><Key word="tempfile"/><Key word="termios"/><Key word="test"/><Key word="textwrap"/><Key word="thread"/><Key word="threading"/><Key word="time"/><Key word="timeit"/><Key word="toaiff"/><Key word="token"/><Key word="tokenize"/><Key word="traceback"/><Key word="tty"/><Key word="turtle"/><Key word="types"/><Key word="tzparse"/>
				<Key word="TERMIOS"/><Key word="Tix"/><Key word="Tkinter"/>
				<Key word="unicodedata"/><Key word="unittest"/><Key word="urllib"/><Key word="urllib2"/><Key word="urlparse"/><Key word="user"/><Key word="util"/><Key word="uu"/>
				<Key word="UserDict"/><Key word="UserList"/><Key word="UserString"/>
				<Key word="videoreader"/>
				<Key word="warnings"/><Key word="waste"/><Key word="wave"/><Key word="weakref"/><Key word="webbrowser"/><Key word="whatsound"/><Key word="whichdb"/><Key word="whrandom"/><Key word="winsound"/>
				<Key word="xdrlib"/><Key word="xml"/><Key word="xmllib"/><Key word="xmlpackage"/><Key word="xmlrpclib"/>
				<Key word="zipfile"/><Key word="zlib"/><Key word="zmod"/>
			</KeyWords>

			<KeyWords name = "Keywords" bold="false" italic="false" color="Blue">
				<Key word="and"/><Key word="as"/><Key word="assert"/>
				<Key word="break"/>
				<Key word="class"/><Key word="continue"/>
				<Key word="def"/><Key word="del"/>
				<Key word="elif"/><Key word="else"/><Key word="except"/><Key word="exec"/>
				<Key word="finally"/><Key word="for"/><Key word="from"/>
				<Key word="global"/>
				<Key word="if"/><Key word="import"/><Key word="in"/><Key word="is"/>
				<Key word="lambda"/>
				<Key word="not"/>
				<Key word="or"/><Key word="object"/>
				<Key word="pass"/><Key word="print"/>
				<Key word="raise"/><Key word="range"/><Key word="return"/>
				<Key word="try"/>
				<Key word="while"/>
				<Key word="yield"/>
		</KeyWords>

			<KeyWords name="Assembler directives" bold="true" italic="false" color="Green" >
				<Key word=".byte"/>
				<Key word=".text"/>
				<Key word=".word"/>
				<Key word=".asc"/>
				<Key word=".scrl"/>
				<Key word=".scru"/>
				<Key word=".include"/>
				<Key word=".incbin"/>
				<Key word=".label"/>
				<Key word=".goto"/>
				<Key word=".if"/>
				<Key word=".end"/>
				<Key word=".enrty"/>
				<Key word=".opt"/>
				<Key word=".set"/>
				<Key word=".title"/>
				<Key word="x"/>
				<Key word="y"/>
				<Key word="c"/>
			</KeyWords>

		<KeyWords name = "Sequirty actions" bold="false" italic="false" color="Red">
				<Key word = "request" />
				<Key word = "demand" />
				<Key word = "assert" />
				<Key word = "deny" />
				<Key word = "permitonly" />
				<Key word = "linkcheck" />
				<Key word = "inheritcheck" />
				<Key word = "reqmin" />
				<Key word = "reqopt" />
				<Key word = "reqrefuse" />
				<Key word = "prejitgrant" />
				<Key word = "prejitdeny" />
				<Key word = "noncasdemand" />
				<Key word = "noncaslinkdemand" />
				<Key word = "noncasinheritance" />
		</KeyWords>

		<KeyWords name = "Extern debug data specifier" bold="false" italic="false" color="Green">
				<Key word = ".line" />
				<Key word = ".language" />
				<Key word = "#line" />
		</KeyWords>

		<KeyWords name = "Misc keywords" bold="true" italic="false" color="Green">
				<!-- custom value specifier -->
				<Key word = ".custom" />
				<!-- IL method attribute  -->
				<Key word = "init" />
				<!-- Class layout directives -->
				<Key word = ".size" />
				<Key word = ".pack" />
				<!-- Manifest-related keywords -->
				<Key word = ".file" />
				<Key word = "nometadata" />
				<Key word = ".hash" />
				<Key word = ".assembly" />
				<Key word = "implicitcom" />
				<Key word = "noappdomain" />
				<Key word = "noprocess" />
				<Key word = "nomachine" />
				<Key word = ".publickey" />
				<Key word = ".publickeytoken" />
				<Key word = "algorithm" />
				<Key word = ".ver" />
				<Key word = ".locale" />
				<Key word = "extern" />
				<Key word = ".export" />
				<Key word = ".manifestres" />
				<Key word = ".mresource" />
				<Key word = ".localized" />
				<Key word = ".module" />

				<!-- Field marshaling keywords -->
				<Key word = "marshal" />
				<Key word = "custom" />
				<Key word = "sysstring" />
				<Key word = "fixed" />
				<Key word = "variant" />
				<Key word = "currency" />
				<Key word = "syschar" />
				<Key word = "decimal" />
				<Key word = "date" />
				<Key word = "bstr" />
				<Key word = "tbstr" />
				<Key word = "lpstr" />
				<Key word = "lpwstr" />
				<Key word = "lptstr" />
				<Key word = "objectref" />
				<Key word = "iunknown" />
				<Key word = "idispatch" />
				<Key word = "struct" />
				<Key word = "safearray" />
				<Key word = "byvalstr" />
				<Key word = "lpvoid" />
				<Key word = "any" />
				<Key word = "array" />
				<Key word = "lpstruct" />

				<!-- VTable fixup keywords  -->
				<Key word = ".vtfixup" />
				<Key word = "fromunmanaged" />
				<Key word = "callmostderived" />
				<Key word = ".vtentry" />

				<!-- Parameter attributes  -->
				<Key word = "in" />
				<Key word = "out" />
				<Key word = "opt" />
				<Key word = "lcid" />
				<Key word = "retval" />
				<Key word = ".param" />

				<!-- Method implementations  -->
				<Key word = ".override" />
				<Key word = "with" />

				<!-- VariantType keywords  -->
				<Key word = "null" />
				<Key word = "error" />
				<Key word = "hresult" />
				<Key word = "carray" />
				<Key word = "userdefined" />
				<Key word = "record" />
				<Key word = "filetime" />
				<Key word = "blob" />
				<Key word = "stream" />
				<Key word = "storage" />
				<Key word = "streamed_object" />
				<Key word = "stored_object" />
				<Key word = "blob_object" />
				<Key word = "cf" />
				<Key word = "clsid" />
				<Key word = "vector" />

				<!-- Null reference keyword for InitOpt  -->
				<Key word = "nullref" />

				<!-- Header flags keywords  -->
				<Key word = ".subsystem" />
				<Key word = ".corflags" />
				<Key word = "alignment" />
				<Key word = ".imagebase" />
			</KeyWords>

		</RuleSet>

		<RuleSet name = "CommentMarkerSet" ignorecase = "true">
		  	<Delimiters>&lt;&gt;~!@%^*()-+=|\#/{}[]:;"' ,	.?</Delimiters>
			<KeyWords name = "ErrorWords" bold="true" italic="false" color="Red">
				<Key word = "TODO" />
				<Key word = "FIXME" />
	 	 	</KeyWords>
			<KeyWords name = "WarningWords" bold="true" italic="false" color="#EEE0E000">
				<Key word = "HACK" />
				<Key word = "UNDONE" />
	 	 	</KeyWords>
		</RuleSet>

	</RuleSets>

</SyntaxDefinition>

