Your IP : 216.73.216.213


Current Path : /opt/alt/python37/lib/python3.7/site-packages/pygments/lexers/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/pygments/lexers/__pycache__/esoteric.cpython-37.pyc

B

ɽ�\%�@s�dZddlmZmZmZddlmZmZmZm	Z	m
Z
mZmZm
Z
mZdddddd	gZGd
d�de�ZGdd�de�ZGdd�de�ZGd
d�de�ZGdd�de�ZGdd	�d	e�ZdS)z�
    pygments.lexers.esoteric
    ~~~~~~~~~~~~~~~~~~~~~~~~

    Lexers for esoteric languages.

    :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�
RegexLexer�include�words)	�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�Error�BrainfuckLexer�BefungeLexer�RedcodeLexer�CAmkESLexer�
CapDLLexer�
AheuiLexerc@s~eZdZdZdZddgZddgZdgZdej	fd	ej
fd
ejfdefgde
d
fdefed�gde
dfde
dfed�gd�ZdS)rze
    Lexer for the esoteric `BrainFuck <http://www.muppetlabs.com/~breadbox/bf/>`_
    language.
    Z	BrainfuckZ	brainfuckZbfz*.bfz*.bzapplication/x-brainfuckz[.,]+z[+-]+z[<>]+z[^.,+\-<>\[\]]+z\[�loopz\]�commonz#pushz#pop)r�rootrN)�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenames�	mimetypesr	�Tag�Builtin�Variablerrr
r�tokens�r#r#�I/opt/alt/python37/lib/python3.7/site-packages/pygments/lexers/esoteric.pyrsc@s�eZdZdZdZdgZdgZdgZddefde	fd	e
jfd
e
jfde
fde
jfd
ejfdejfdefde
fdefdefgiZdS)rz{
    Lexer for the esoteric `Befunge <http://en.wikipedia.org/wiki/Befunge>`_
    language.

    .. versionadded:: 0.7
    ZBefungeZbefungez	*.befungezapplication/x-befungerz[0-9a-f]z	[+*/%!`-]z[<>^v?\[\]rxjk]z	[:\\$.,n]z[|_mw]z[{}]z".*?"z\'.z[#;]z
[pg&~=@iotsy]z[()A-Z]z\s+N)rrrrrrrrrrr	r!r rrr
�Double�Singlerrr"r#r#r#r$r4s$c@s�eZdZdZdZddgZddgZddejfd	e	fd
efdefde
fd
efeddd�e
feddd�e
jfde
jfeddd�e
jfdejfdejfdejfdefdejfdefdejfdefgiZdS)rz�
    Basic lexer for the input language for the
    `CAmkES <https://sel4.systems/CAmkES/>`_ component platform.

    .. versionadded:: 2.1
    ZCAmkESZcamkesZidl4z*.camkesz*.idl4rz	^\s*#.*\nz\s+z/\*(.|\n)*?\*/z//.*\nz
[\[(){},.;\]]z[~!%^&*+=|?:<>/-])"Zassembly�	attributeZ	componentZcompositionZ
configurationZ
connectionZ	connectorZconsumesZcontrolZdataportZDataportZ	DataportsZemits�event�EventZEventsZexport�from�groupZhardwareZhasZ	interfaceZ	Interface�maybeZ	procedureZ	ProcedureZ
Procedures�provides�template�thread�threads�toZuses�withz\b)�suffix)�boolZbooleanZBuf�char�	characterZdouble�float�inZinout�intZint16_6Zint32_tZint64_tZint8_t�integerZmutex�out�realZrefinZ	semaphore�signed�string�structZuint16_tZuint32_tZuint64_tZuint8_tZ	uintptr_tZunsigned�voidz%[a-zA-Z_]\w*_(priority|domain|buffer))Zdma_poolZfrom_accessZ	to_accesszimport\s+(<[^>]*>|"[^"]*");zinclude\s+(<[^>]*>|"[^"]*");z0[xX][\da-fA-F]+z-?[\d]+z-?[\d]+\.[\d]+z"[^"]*"z[Tt]rue|[Ff]alsez[a-zA-Z_]\w*N)rrrrrrrr�Preprocrrrrr�Type�Reservedr�HexZFloatr
r	r r"r#r#r#r$rRs4

c@s�eZdZdZdZdgZdgZddejfde	fdefd	efd
e
fde
fedd
d�efedd
d�ej
fedd
d�ejfdejfdefedd
d�efedd
d�efdefgiZdS)ra=
    Basic lexer for
    `CapDL <https://ssrg.nicta.com.au/publications/nictaabstracts/Kuz_KLW_10.abstract.pml>`_.

    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
    ZCapDLZcapdlz*.cdlrz	^\s*#.*\nz\s+z/\*(.|\n)*?\*/z(//|--).*\nz[<>\[(){},:;=\]]z\.\.)�archZarm11ZcapsZchild_ofZia32Zirq�maps�objectsz\b)r3)ZaepZ	asid_poolZcnode�ep�frameZ	io_deviceZio_portsZio_ptZnotification�pd�ptZtcb�utZvcpu)Zasid�addrZbadge�cached�domZdomainIDZelfZfault_ep�GZguardZ
guard_size�initZip�prio�sp�RZRGZRXZRWZRWGZRWX�WZWGZWX�levelZmaskedZmaster_replyZpaddrZportsZreplyZuncachedz0[xX][\da-fA-F]+z\d+(\.\d+)?(k|M)?)�bits)ZcspaceZvspaceZ
reply_slotZcaller_slotZipc_buffer_slotz[a-zA-Z_][-@\.\w]*N)rrrrrrrrrArrrrrBrCrrDr	r"r#r#r#r$r�s0


c@s�eZdZdZdZdgZdgZdZdZdde	fd	e
jfd
d�e�e
jfd
d�e�e
jfde
fd
efdefdefdejfg	iZdS)rz�
    A simple Redcode lexer based on ICWS'94.
    Contributed by Adam Blinkinsop <blinks@acm.org>.

    .. versionadded:: 0.8
    ZRedcodeZredcodez*.cw)ZDATZMOVZADDZSUBZMULZDIVZMODZJMPZJMZZJMNZDJNZCMPZSLTZSPLZORGZEQUZEND)�A�BZABZBA�F�X�Irz\s+z;.*$z\b(%s)\b�|z[A-Za-z_]\w+z[-+*/%]z[#$@<>]z[.,]z[-+]?\d+N)rrrrrrrZopcodes�	modifiersrrr&�joinr	ZFunctionZ	DecoratorrrrZIntegerr"r#r#r#r$r�s c@s4eZdZdZdZdgZdgZddefdefgiZ	dS)	rz|
    Aheui_ Lexer.

    Aheui_ is esoteric language based on Korean alphabets.

    .. _Aheui: http://aheui.github.io/

    ZAheuiZaheuiz*.aheuiru�[나-낳냐-냫너-넣녀-녛노-놓뇨-눟뉴-닇다-닿댜-댷더-덯뎌-뎧도-돟됴-둫듀-딓따-땋땨-떃떠-떻뗘-뗳또-똫뚀-뚷뜌-띟라-랗랴-럏러-렇려-렿로-롷료-뤃류-릫마-맣먀-먛머-멓며-몋모-뫃묘-뭏뮤-믷바-밯뱌-뱧버-벟벼-볗보-봏뵤-붛뷰-빃빠-빻뺘-뺳뻐-뻫뼈-뼣뽀-뽛뾰-뿧쀼-삏사-샇샤-샿서-섷셔-셯소-솧쇼-숳슈-싛싸-쌓쌰-썋써-쎃쎠-쎻쏘-쏳쑈-쑿쓔-씧자-잫쟈-쟣저-젛져-졓조-좋죠-줗쥬-즿차-챃챠-챻처-첳쳐-쳫초-촣쵸-춯츄-칗카-캏캬-컇커-컿켜-켷코-콯쿄-쿻큐-킣타-탛탸-턓터-텋텨-톃토-톻툐-퉇튜-틯파-팧퍄-퍟퍼-펗펴-폏포-퐇표-풓퓨-픻하-핳햐-햫허-헣혀-혛호-홓효-훟휴-힇]�.N)
rrrrrrrrrr"r#r#r#r$r�sN)rZpygments.lexerrrrZpygments.tokenrrrrr	r
rrr
�__all__rrrrrrr#r#r#r$�<module>
s, A;$