+
    TBi)                         R t ^ RIHtHtHtHt ^ RIHtHtH	t	H
t
HtHtHtHtHt . ROt ! R	 R]4      t ! R
 R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      tR# )z
pygments.lexers.esoteric
~~~~~~~~~~~~~~~~~~~~~~~~

Lexers for esoteric languages.

:copyright: Copyright 2006-2025 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            
          a  ] tR t^t o RtRtRtRR.tRR.tR.t	R	t
R
R]P                  3R]P                  3R]P                  3R]3.RR]R3R]3]! R
4      .RR]R3R]R3]! R
4      ./tR tRtV tR# )r   z,
Lexer for the esoteric BrainFuck language.
	Brainfuckz'http://www.muppetlabs.com/~breadbox/bf/	brainfuckbfz*.bfz*.bzapplication/x-brainfuck commonz[.,]+z[+-]+z[<>]+z[^.,+\-<>\[\]]+rootz\[loopz\]z#pushz#popc                   ^ p^ p\        R\        V 4      4      pV RV  F3  pVR8X  g   VR8X  d
   V^,          pVR8X  g
   VR8X  g   K*  V^,          pK5  	  VRV,          8  d   R# VRV,          8  d   R# ^ pR	V 9   d
   VR
,          pV# )zUIt's safe to assume that a program which mostly consists of + -
and < > is brainfuck.   N+-<>g      ?g      ?z[-]g      ?)maxlen)textplus_minus_countgreater_less_countrange_to_checkcresults   &     =/usr/lib/python3.14/site-packages/pygments/lexers/esoteric.pyanalyse_textBrainfuckLexer.analyse_text3   s     S#d),o~&ACx18 A% Cx18"a'"	 ' tn45!67D=cMF     N)__name__
__module____qualname____firstlineno____doc__nameurlaliases	filenames	mimetypesversion_addedr	   TagBuiltinVariabler   r   r   r   tokensr,   __static_attributes____classdictcell__)__classdict__s   @r+   r   r      s      D
3CD!GI*+IM 	txx t||$t}}%)
 	GV$ENH

 	GW%GV$H
F( r.   c                       ] tR t^MtRtRtRtR.tR.tR.t	Rt
RR	]3R
]3R]P                  3R]P                  3R]3R]P"                  3R]P&                  3R]P(                  3R]3R]3R]3R]3./tRtR# )r   z*
Lexer for the esoteric Befunge language.
Befungez$http://en.wikipedia.org/wiki/Befungebefungez	*.befungezapplication/x-befungez0.7r   z[0-9a-f]z	[+*/%!`-]z[<>^v?\[\]rxjk]z	[:\\$.,n]z[|_mw]z[{}]z".*?"z\'.z[#;]z[pg&~=@iotsy]z[()A-Z]\s+r/   N)r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r   r   r	   r=   r<   r   r;   r
   DoubleSingler   r   r>   r?   r/   r.   r+   r   r   M   s     D
0CkGI()IM 	&!8$/4<<( dhhv}}%V]]#gw'!Z 
Fr.   c                      ] tR t^jtRtRtRtRR.tRR.tRt	R	R
]
! ]]P                  ]4      3R]3R]3R]3R]3R]3]! RRR7      ]3]! RRR7      ]P$                  3R]P&                  3]! RRR7      ]P&                  3R]
! ]P                  ]]P                  4      3R]
! ]P                  ]]P                  4      3R]P*                  3R]3R]P,                  3R]3R]P2                  3R]3./tRtR# ) r   zG
Basic lexer for the input language for the CAmkES component platform.
CAmkESzhttps://sel4.systems/CAmkES/camkesidl4z*.camkesz*.idl4z2.1r   ^(\s*)(#.*)(\n)rE   /\*(.|\n)*?\*/z//.*$z[\[(){},.;\]]z[~!%^&*+=|?:<>/-]\bsuffixz%[a-zA-Z_]\w*_(priority|domain|buffer)z#(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*r/   N)"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)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void)dma_poolfrom_access	to_access)r0   r1   r2   r3   r4   r5   r6   r7   r8   r:   r   r   r   Preprocr   r   r   r   TypeReservedr   HexFloatr
   r	   r<   r>   r?   r/   r.   r+   r   r   j   sh    D
(C GX&IM 	*goo"  Z (w{+!8, K  ! #*+  (  ! #*,,0 6w7G7GH;EJ  " 4*gooFH 5*gooFH !&**- -  $,,/ d#g4
6Fr.   c                   >   ] tR t^tRtRtRtR.tR.tRt	RR]
! ]]P                  ]4      3R	]3R
]3R]3R]3R]3]! RRR7      ]3]! RRR7      ]P"                  3]! RRR7      ]P$                  3R]P(                  3R]3]! RRR7      ]3]! RRR7      ]3R]3./tRtR# )r   a  
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.
CapDLzMhttps://ssrg.nicta.com.au/publications/nictaabstracts/Kuz_KLW_10.abstract.pmlcapdlz*.cdlz2.2r   rL   rE   rM   z
(//|--).*$z[<>\[(){},:;=\]]z\.\.rN   rO   rQ   z\d+(\.\d+)?(k|M)?z[a-zA-Z_][-@\.\w]*r/   N)archarm11capschild_ofia32irqmapsobjects)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uncached)bits)cspacevspace
reply_slotcaller_slotipc_buffer_slot)r0   r1   r2   r3   r4   r5   r6   r7   r8   r:   r   r   r   r   r   r   r   r   r   r   r   r	   r>   r?   r/   r.   r+   r   r      s   	 D
YCiG	IM 	W__jAC Z (G$ +.k" ',./68  "*/129,,@
  2 ;@	A
  !&**-!6*9U+V4 '/467=? #D)I%
'Fr.   c                   @   ] tR t^tRtRtR.tR.tRtRt	Rt
RtRR]3R	]P                  3R
P                  RP!                  ]
4      4      ]P$                  3R
P                  RP!                  ]4      4      ]P&                  3R]3R]3R]3R]3R]P.                  3.	/tRtR# )r   z[
A simple Redcode lexer based on ICWS'94.
Contributed by Adam Blinkinsop <blinks@acm.org>.
Redcoderedcodez*.cwz&https://en.wikipedia.org/wiki/Core_Warz0.8r   rE   z;.*$z\b({})\b|z[A-Za-z_]\w+z[-+*/%]z[#$@<>]z[.,]z[-+]?\d+r/   N)DATMOVADDSUBMULDIVMODJMPJMZJMNDJNCMPSLTSPLORGEQUEND)ABABBAFXI)r0   r1   r2   r3   r4   r5   r7   r8   r6   r:   opcodes	modifiersr   r   rG   formatjoinr	   Function	Decoratorr   r   r   Integerr>   r?   r/   r.   r+   r   r      s     DkGI
2CM$G 6I 	Z gnn%  12DMMB 34dnnEd#""k"&..)
Fr.   c                   F    ] tR tRtRtRtRtR.tR.tRt	RR	]
3R
]3./tRtR# )r   i  z7
Aheui is esoteric language based on Korean alphabets.
Aheuizhttp://aheui.github.io/aheuiz*.aheuir   r   u  [나-낳냐-냫너-넣녀-녛노-놓뇨-눟뉴-닇다-닿댜-댷더-덯뎌-뎧도-돟됴-둫듀-딓따-땋땨-떃떠-떻뗘-뗳또-똫뚀-뚷뜌-띟라-랗랴-럏러-렇려-렿로-롷료-뤃류-릫마-맣먀-먛머-멓며-몋모-뫃묘-뭏뮤-믷바-밯뱌-뱧버-벟벼-볗보-봏뵤-붛뷰-빃빠-빻뺘-뺳뻐-뻫뼈-뼣뽀-뽛뾰-뿧쀼-삏사-샇샤-샿서-섷셔-셯소-솧쇼-숳슈-싛싸-쌓쌰-썋써-쎃쎠-쎻쏘-쏳쑈-쑿쓔-씧자-잫쟈-쟣저-젛져-졓조-좋죠-줗쥬-즿차-챃챠-챻처-첳쳐-쳫초-촣쵸-춯츄-칗카-캏캬-컇커-컿켜-켷코-콯쿄-쿻큐-킣타-탛탸-턓터-텋텨-톃토-톻툐-퉇튜-틯파-팧퍄-퍟퍼-펗펴-폏포-퐇표-풓퓨-픻하-핳햐-햫허-헣혀-혛호-홓효-훟휴-힇].r/   N)r0   r1   r2   r3   r4   r5   r6   r7   r8   r:   r   r   r>   r?   r/   r.   r+   r   r     sO     D
#CiGIM 	  !" 'N%
Fr.   N)r   r   r   r   r   r   )r4   pygments.lexerr   r   r   r   pygments.tokenr   r   r   r	   r
   r   r   r   r   __all__r   r   r   r   r   r   r/   r.   r+   <module>r     sw    @ ?# # #'7Z 7t: :@* @F8 8v!: !H   r.   