HOME


Mini Shell 1.0
DIR: /lib/python3/dist-packages/pygments/lexers/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/pygments/lexers/__pycache__/apl.cpython-312.pyc
�

|�eM
��X�dZddlmZddlmZmZmZmZmZm	Z	m
Z
mZdgZGd�de�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��eZdZdZdZdZdgZgd�Zddefde	jfd	ejfd
ejfde
fdejfd
ej fdej"fdefdej&fdefdej*fdej"j,fdej0fdej2j4fdej6fgiZy)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�	filenamesrr�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�
F�C��g�G��I�	��Z� �
�7�>�>�*�$�V�]�]�3�
��
�
�.��K�(�����&�
;�D�M�M�J�9�$�-�-�H�X�
�
�D�T�^�^�T�|�
�
�
�T�]�]�#��$�-�-�.�.�/��'�-�-�.�#�D�L�L�$7�$7�8�
�g�l�l�#�KF
�H�Fr'N)r�pygments.lexerr�pygments.tokenrrrrrr	r
r�__all__rr&r'r(�<module>r,s5���&�$�$�$��,��V�z�Vr'