HEX
Server: Apache/2.4.67 (Debian)
System: Linux vps-b2547eb4 6.1.0-41-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
User: root (0)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/pygments/lexers/__pycache__/esoteric.cpython-311.pyc
�

�E�c�(���dZddlmZmZmZmZddlmZmZm	Z	m
Z
mZmZm
Z
mZmZgd�ZGd�de��ZGd�de��ZGd	�d
e��ZGd�de��ZGd
�de��ZGd�de��ZdS)z�
    pygments.lexers.esoteric
    ~~~~~~~~~~~~~~~~~~~~~~~~

    Lexers for esoteric languages.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�
RegexLexer�include�words�bygroups)	�Comment�Operator�Keyword�Name�String�Number�Punctuation�Error�
Whitespace)�BrainfuckLexer�BefungeLexer�RedcodeLexer�CAmkESLexer�
CapDLLexer�
AheuiLexerc��eZdZdZdZdZddgZddgZdgZd	e	j
fd
e	jfde	jfde
fgd
edfdefed��gd
edfdedfed��gd�Zd�ZdS)rz4
    Lexer for the esoteric BrainFuck language.
    �	Brainfuckz'http://www.muppetlabs.com/~breadbox/bf/�	brainfuck�bfz*.bfz*.bzapplication/x-brainfuckz[.,]+z[+-]+z[<>]+z[^.,+\-<>\[\]]+z\[�loopz\]�commonz#pushz#pop)r�rootrc���d}d}tdt|����}|d|�D]$}|dks|dkr|dz
}|dks|dkr|dz
}�%|d	|zkrd
S|d	|zkrd
Sd}d|vr|dz
}|S)
z]It's safe to assume that a program which mostly consists of + -
        and < > is brainfuck.r�N�+�-��<�>g�?g�?z[-]g�?)�max�len)�text�plus_minus_count�greater_less_count�range_to_check�c�results      �:/usr/lib/python3/dist-packages/pygments/lexers/esoteric.py�analyse_textzBrainfuckLexer.analyse_text2s��������S�#�d�)�)�,�,���o�~�o�&�	(�	(�A��C�x�x�1��8�8� �A�%� ��C�x�x�1��8�8�"�a�'�"���t�n�4�5�5��3����!6�7�7��3����D�=�=��c�M�F��
�N)�__name__�
__module__�__qualname__�__doc__�name�url�aliases�	filenames�	mimetypesr
�Tag�Builtin�Variablerr	rr�tokensr-�r.r,rrs����������D�
3�C��D�!�G����I�*�+�I�
�t�x� �
�t�|�$�
�t�}�%�
��)�
��G�V�$�
�E�N��G�H���
��G�W�%�
�G�V�$��G�H���
���F�(����r.rc��eZdZdZdZdZdgZdgZdgZdde	fd	e
fd
ejfdej
fdefd
ejfdejfdejfdefdefdefdefgiZdS)rzM
    Lexer for the esoteric Befunge language.

    .. versionadded:: 0.7
    �Befungez$http://en.wikipedia.org/wiki/Befunge�befungez	*.befungezapplication/x-befungerz[0-9a-f]z	[+*/%!`-]z[<>^v?\[\]rxjk]z	[:\\$.,n]z[|_mw]z[{}]z".*?"z\'.z[#;]z
[pg&~=@iotsy]z[()A-Z]�\s+N)r/r0r1r2r3r4r5r6r7rrr
r:r9r	r8r�Double�Singlerrr;r<r.r,rrLs���������
�D�
0�C��k�G��
�I�(�)�I�	�
�&�!�
�8�$�
���/�
�4�<�(�
�� �
�d�h��
�v�}�%�
�V�]�#�
�g��
�w�'�
��!�
�Z� �

��F�F�Fr.rc��eZdZdZdZdZddgZddgZdd	ee	e
je	��fd
e	fde
fde
fd
efde
fedd���efedd���ejfdejfedd���ejfdee
je	e
j��fdee
je	e
j��fdejfdefdejfdefdejfdefgiZdS)rzj
    Basic lexer for the input language for the CAmkES component platform.

    .. versionadded:: 2.1
    �CAmkESzhttps://sel4.systems/CAmkES/�camkes�idl4z*.camkesz*.idl4r�^(\s*)(#.*)(\n)r@�/\*(.|\n)*?\*/z//.*$z
[\[(){},.;\]]z[~!%^&*+=|?:<>/-])"�assembly�	attribute�	component�composition�
configuration�
connection�	connector�consumes�control�dataport�Dataport�	Dataports�emits�event�Event�Events�export�from�group�hardware�has�	interface�	Interface�maybe�	procedure�	Procedure�
Procedures�provides�template�thread�threads�to�uses�with�\b��suffix)�bool�boolean�Buf�char�	character�double�float�in�inout�int�int16_6�int32_t�int64_t�int8_t�integer�mutex�out�real�refin�	semaphore�signed�string�struct�uint16_t�uint32_t�uint64_t�uint8_t�	uintptr_t�unsigned�voidz%[a-zA-Z_]\w*_(priority|domain|buffer))�dma_pool�from_access�	to_accessz#(import)(\s+)((?:<[^>]*>|"[^"]*");)z$(include)(\s+)((?:<[^>]*>|"[^"]*");)�0[xX][\da-fA-F]+z-?[\d]+z-?[\d]+\.[\d]+z"[^"]*"z[Tt]rue|[Ff]alsez[a-zA-Z_]\w*N)r/r0r1r2r3r4r5r6rrr�Preprocr
rrr	�Type�Reservedr�Hex�Floatrr
r9r;r<r.r,rrjs���������
�D�
(�C��� �G��X�&�I�	�
���*�g�o��"�"�
��Z� �
��(�
�w��
�{�+�
!�8�,�
�U�K� �!�!�!�#*�
+��U�(� �
!�!�!�#*�,�

0�6�w�7G�H�
�U�;�E�
J�
J�
J�� �
"�4�����*�g�o�F�F�
H�5�����*�g�o�F�F�
H�!�&�*�-�
�� �
���-�
�� �
 �$�,�/��d�#�g4
�6�F�F�Fr.rc�.�eZdZdZdZdZdgZdgZddee	e
je	��fde	fd	e
fd
e
fdefdefe
d
d���efe
dd���ejfe
dd���ejfdejfdefe
dd���efe
dd���efdefgiZdS)ra�
    Basic lexer for CapDL.

    The source of the primary tool that reads such specifications is available
    at https://github.com/seL4/capdl/tree/master/capDL-tool. Note that this
    lexer only supports a subset of the grammar. For example, identifiers can
    shadow type names, but these instances are currently incorrectly
    highlighted as types. Supporting this would need a stateful lexer that is
    considered unnecessarily complex for now.

    .. versionadded:: 2.2
    �CapDLzMhttps://ssrg.nicta.com.au/publications/nictaabstracts/Kuz_KLW_10.abstract.pml�capdlz*.cdlrrGr@rHz
(//|--).*$z[<>\[(){},:;=\]]z\.\.)�arch�arm11�caps�child_of�ia32�irq�maps�objectsrkrl)�aep�	asid_pool�cnode�ep�frame�	io_device�io_ports�io_pt�notification�pd�pt�tcb�ut�vcpu)�asid�addr�badge�cached�dom�domainID�elf�fault_ep�G�guard�
guard_size�init�ip�prio�sp�R�RG�RX�RW�RWG�RWX�W�WG�WX�level�masked�master_reply�paddr�ports�reply�uncachedr�z\d+(\.\d+)?(k|M)?)�bits)�cspace�vspace�
reply_slot�caller_slot�ipc_buffer_slotz[a-zA-Z_][-@\.\w]*N)r/r0r1r2r3r4r5r6rrrr�r
rr	r�r�rr�r
r;r<r.r,rr�sa���������D�
Y�C��i�G��	�I�	�
����W�_�j�A�A�
C��Z� �
��(�
�G�$�
 �+�.�
�k�"�
�U��',�.�.�.�/6�
8��U�"�*/�1�1�1�29�,�
@�
�U�2�;@�	A�A�A�
�
�
�!�&�*�-�
!�6�*�
�U�9�U�
+�
+�
+�V�4�
�U�'�/4�6�6�6�7=�
?�#�D�)�I%
�'�F�F�Fr.rc���eZdZdZdZdgZdgZdZdZdde	fd	e
jfd
d�e��ze
jfd
d�e��ze
jfde
fd
efdefdefdejfg	iZdS)rz�
    A simple Redcode lexer based on ICWS'94.
    Contributed by Adam Blinkinsop <blinks@acm.org>.

    .. versionadded:: 0.8
    �Redcode�redcodez*.cw)�DAT�MOV�ADD�SUB�MUL�DIV�MOD�JMP�JMZ�JMN�DJN�CMP�SLT�SPL�ORG�EQU�END)�A�B�AB�BA�F�X�Irr@z;.*$z\b(%s)\b�|z[A-Za-z_]\w+z[-+*/%]z[#$@<>]z[.,]z[-+]?\d+N)r/r0r1r2r3r5r6�opcodes�	modifiersrrrB�joinr
�Function�	Decoratorrr
r�Integerr;r<r.r,rr�s����������D��k�G���I�$�G�6�I�	�
�Z� �
�g�n�%��3�8�8�G�,�,�
,�d�m�<�
�3�8�8�I�.�.�
.���?�
�d�#�
��"�
��"�
�k�"�
�&�.�)�
��F�F�Fr.rc�:�eZdZdZdZdZdgZdgZddefde	fgiZ
d	S)
rz?
    Aheui is esoteric language based on Korean alphabets.
    �Aheuizhttp://aheui.github.io/�aheuiz*.aheuiru�[나-낳냐-냫너-넣녀-녛노-놓뇨-눟뉴-닇다-닿댜-댷더-덯뎌-뎧도-돟됴-둫듀-딓따-땋땨-떃떠-떻뗘-뗳또-똫뚀-뚷뜌-띟라-랗랴-럏러-렇려-렿로-롷료-뤃류-릫마-맣먀-먛머-멓며-몋모-뫃묘-뭏뮤-믷바-밯뱌-뱧버-벟벼-볗보-봏뵤-붛뷰-빃빠-빻뺘-뺳뻐-뻫뼈-뼣뽀-뽛뾰-뿧쀼-삏사-샇샤-샿서-섷셔-셯소-솧쇼-숳슈-싛싸-쌓쌰-썋써-쎃쎠-쎻쏘-쏳쑈-쑿쓔-씧자-잫쟈-쟣저-젛져-졓조-좋죠-줗쥬-즿차-챃챠-챻처-첳쳐-쳫초-촣쵸-춯츄-칗카-캏캬-컇커-컿켜-켷코-콯쿄-쿻큐-킣타-탛탸-턓터-텋텨-톃토-톻툐-퉇튜-틯파-팧퍄-퍟퍼-펗펴-폏포-퐇표-풓퓨-픻하-핳햐-햫허-헣혀-혛호-홓효-훟휴-힇]�.N)r/r0r1r2r3r4r5r6rrr;r<r.r,rrs[���������D�
#�C��i�G���I�	�� �!
�"�'�N�%
��F�F�Fr.rN)r2�pygments.lexerrrrr�pygments.tokenrrr	r
rrr
rr�__all__rrrrrrr<r.r,�<module>r�s�����@�?�?�?�?�?�?�?�?�?�?�?�#�#�#�#�#�#�#�#�#�#�#�#�#�#�#�#�#�#�#�#�#�#�'�'�'��6�6�6�6�6�Z�6�6�6�r�����:����<A�A�A�A�A�*�A�A�A�H9�9�9�9�9��9�9�9�x!�!�!�!�!�:�!�!�!�H����������r.