U
    lufM                     @   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-2023 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ddddd	d
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:https://en.m.wikipedia.org/wiki/APL_(programming_language)Zaplz*.aplz*.aplfz*.aploz*.aplnz*.aplcz*.apliz*.dyalog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	filenamesr
   r   Singler   Doubler	   Regexr   ZFunctionVariabler   	Attributer   ConstantZGlobalr   ZDeclarationZBuiltinZPseudoTypetokens r   r   7/tmp/pip-unpacked-wheel-7eq1ciah/pygments/lexers/apl.pyr      sF        


N)r   Zpygments.lexerr   Zpygments.tokenr   r   r   r   r   r   r	   r
   __all__r   r   r   r   r   <module>   s   
(