ó
!X[Tc           @   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/dist-packages/pygments/lexers/snobol.pyR
      s<   													N(   R   t   pygments.lexerR    R   t   pygments.tokenR   R   R   R   R   R   R   R	   t   __all__R
   (    (    (    s:   /usr/lib/python2.7/dist-packages/pygments/lexers/snobol.pyt   <module>
   s   :	