
    |eM                     X    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e      Zy)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                      e Zd ZdZdZdZdgZg 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j0                  fdej2                  j4                  fdej6                  fgiZy)r   z8
    A simple APL lexer.

    .. versionadded:: 2.0
    APLz:https://en.m.wikipedia.org/wiki/APL_(programming_language)apl)z*.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   FunctionVariabler	   	Attributer   ConstantGlobalr   DeclarationBuiltinPseudoTypetokens     5/usr/lib/python3/dist-packages/pygments/lexers/apl.pyr   r      s   
 D
FCgGI 	 Z 
 7>>* $V]]3. K( &
 ;DMMJ 9$--HX DT^^T |
 T]]# $--../ '--. #DLL$7$78gll#KF
HFr'   N)r   pygments.lexerr   pygments.tokenr   r   r   r   r   r	   r
   r   __all__r   r&   r'   r(   <module>r,      s5    &$ $ $ ,Vz Vr'   