3
.ßL]f  ã               @   sR   d Z ddlmZ ddlmZmZmZmZmZm	Z	m
Z
mZ dgZG dd„ deƒZdS )zº
    pygments.lexers.apl
    ~~~~~~~~~~~~~~~~~~~

    Lexers for APL.

    :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    )Ú
RegexLexer)ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚAPLLexerc               @   s¤   e Zd ZdZdZdgZdgZddefdej	fde
j	fd	e
jfd
efde
jfdejfdejfdefdejfdefdejfdejjfdejfdejjfdejfgiZdS )r   z8
    A simple APL lexer.

    .. versionadded:: 2.0
    ZAPLZaplz*.aplÚrootz\s+u	   [⍝#].*$z\'((\'\')|[^\'])*\'z"(("")|[^"])*"u
   [⋄◇()]z[\[\];]u*   ⎕[A-Za-zΔ∆⍙][A-Za-zΔ∆⍙_¯0-9]*u'   [A-Za-zΔ∆⍙][A-Za-zΔ∆⍙_¯0-9]*u‡   ¯?(0[Xx][0-9A-Fa-f]+|[0-9]*\.?[0-9]+([Ee][+¯]?[0-9]+)?|¯|∞)([Jj]¯?(0[Xx][0-9A-Fa-f]+|[0-9]*\.?[0-9]+([Ee][+¯]?[0-9]+)?|¯|∞))?u   [\.\\\/⌿⍀¨⍣⍨⍠⍤∘]u–   [+\-×÷⌈⌊∣|⍳?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⌸⍯↗]u   ⍬u   [⎕⍞]u   [←→]u   [⍺⍵⍶⍹∇:]z[{}]N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesr   r   ÚSingler   ÚDoubler
   ÚRegexr   ZFunctionÚVariabler	   Ú	Attributer   ÚConstantÚGlobalr   ZDeclarationZBuiltinZPseudoÚTypeÚtokens© r   r   ú9/tmp/pip-install-5sebvq2j/pygments/pygments/lexers/apl.pyr      s.   


N)r   Zpygments.lexerr   Zpygments.tokenr   r   r   r   r   r   r	   r
   Ú__all__r   r   r   r   r   Ú<module>
   s   (