o
    3IhL                     @   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-2025 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.
    APLz:https://en.m.wikipedia.org/wiki/APL_(programming_language)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	filenamesversion_addedr
   r   Singler   Doubler	   Regexr   FunctionVariabler   	Attributer   ConstantGlobalr   DeclarationBuiltinPseudoTypetokens r%   r%   S/home/air/sanwanet/gpt-api/venv/lib/python3.10/site-packages/pygments/lexers/apl.pyr      s<    


N)r   pygments.lexerr   pygments.tokenr   r   r   r   r   r   r	   r
   __all__r   r%   r%   r%   r&   <module>   s
    
(