Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
pygments
/
lexers
/
File Content:
snobol.pyo
� _aTc @ sy d Z d d l m Z m Z d d l m Z m Z m Z m Z m Z m Z m Z m Z d g Z d e f d � � YZ d S( s� pygments.lexers.snobol ~~~~~~~~~~~~~~~~~~~~~~ Lexers for the SNOBOL language. :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. i����( t RegexLexert bygroups( t Textt Commentt Operatort Keywordt Namet Stringt Numbert Punctuationt SnobolLexerc B sM e Z d Z d Z d g Z d g Z d g Z i d e f d e d f d e f d e j d f d e j d f d e d f g d 6d e d f d e f d e j f d e f d e f d e f d e f d e j f d e j f d e d f d e f g d 6d e d f d e f d e f d e e e j e � f g d 6d e j f g d 6Z RS( s� Lexer for the SNOBOL4 programming language. Recognizes the common ASCII equivalents of the original SNOBOL4 operators. Does not require spaces around binary operators. .. versionadded:: 1.5 t Snobolt snobols *.snobols text/x-snobols \*.*\ns [+.] t statements -.*\ns END\s*\nt heredocs [A-Za-z$][\w$]*s \s+t roots \s*\ns #pops� (?<=[^\w.])(LT|LE|EQ|NE|GE|GT|INTEGER|IDENT|DIFFER|LGT|SIZE|REPLACE|TRIM|DUPL|REMDR|DATE|TIME|EVAL|APPLY|OPSYN|LOAD|UNLOAD|LEN|SPAN|BREAK|ANY|NOTANY|TAB|RTAB|REM|POS|RPOS|FAIL|FENCE|ABORT|ARB|ARBNO|BAL|SUCCEED|INPUT|OUTPUT|TERMINAL)(?=[^\w.])s [A-Za-z][\w.]*s \*\*|[?$.!%*/#+\-@|&\\=]s "[^"]*"s '[^']*'s [0-9]+(?=[^.EeDd])s% [0-9]+(\.[0-9]*)?([EDed][-+]?[0-9]+)?t :t gotos [()<>,;]s #pop:2s F|Ss (\()([A-Za-z][\w.]*)(\))s .*\n( t __name__t __module__t __doc__t namet aliasest filenamest mimetypesR R R t LabelR t BuiltinR R R t Integert FloatR R t Heredoct tokens( ( ( s: /usr/lib/python2.7/site-packages/pygments/lexers/snobol.pyR s<