a
    €˜ëjO  ã                   @   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-present by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    )Ú
RegexLexer)ÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚ
WhitespaceÚAPLLexerc                   @   s®   e Zd ZdZdZdZdgZg d¢Zd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   z
    A simple APL lexer.
    ZAPLz:https://en.m.wikipedia.org/wiki/APL_(programming_language)Zapl)z*.aplz*.aplfz*.aploz*.aplnz*.aplcz*.apliz*.dyalogz2.0Ú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]+)?|¯|∞))?u3   [\.\\\/⌿⍀¨⍣⍨⍠⍤∘⌸&⌶@⌺⍥⍛⍢]u«   [+\-×÷⌈⌊∣|⍳?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⌸⍯↗⊆⊇⍸√⌾…⍮]u   ⍬u   [⎕⍞]u   [←→]u   [⍺⍵⍶⍹∇:]z[{}]N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚaliasesÚ	filenamesZversion_addedr
   r   ÚSingler   ÚDoubler	   ÚRegexr   ZFunctionÚVariabler   Ú	Attributer   ÚConstantÚGlobalr   ZDeclarationZBuiltinZPseudoÚTypeÚtokens© r   r   úR/mnt/bigstor/www/usecases/.venv/lib/python3.9/site-packages/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   
(