+
    TBi                     r    R t ^ RI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.t ! R R]4      tR# )z
pygments.lexers.nimrod
~~~~~~~~~~~~~~~~~~~~~~

Lexer for the Nim language (formerly known as Nimrod).

:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
N)
RegexLexerincludedefaultbygroups)	TextCommentOperatorKeywordNameStringNumberPunctuationErrorNimrodLexerc            "       :  a  ] tR t^t o RtRtRtRR.tRR.tR.t	R	t
]P                  ]P                  ,          tR
 t. RNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNR NR!NR"NR#NR$NR%NR&NR'NR(NR)NR*NR+NR,NR-NR.NR/NR0NR1NR2NR3NR4NR5NR6NR7NR8NR9NR:NR;NR<NR=NR>NR?NR@NRANRBNt. ROt. ROt. ROtRCRD]P*                  RE3RF]P*                  3RG]P.                  RH3RI]3RJ]P0                  RK3RL]3RM]3RN]! ]P:                  ]]P:                  4      RO3RP]RQ3RR]P>                  RS3RT]RU3RV]P@                  RW3RX]! ]4       RY2]PB                  3RZ]! ]]P:                  4      R[3RX]! ]4       RY2]3R\PE                  ]! . RO4      4      ]PF                  3R]]PH                  3RX]! ]4       RY2]%PL                  3RX]! ]4       RY2]PN                  3R^]%3R_](PR                  R3Rb](PT                  Rc3Rd](PV                  Rc3Re](PX                  Rc3Rf](PZ                  Rc3Rg]P:                  3Rh].3.RWRi]P^                  3RV]P@                  Rj3Rk]P@                  3.RlRm]P`                  3Rn]3Ro]3Rp]3.RERq]P*                  3RD]P*                  Rr3Rs]P*                  Rj3Rt]P*                  3.RHRq]P.                  3RG]P.                  Rr3Ru]P.                  Rj3Rt]P.                  3.RURv]P^                  3RT]Rj3]1! Rl4      .RQRw]Rj3Rx]P^                  3]1! Rl4      .RSRR]P>                  Rj3]1! Rl4      Ry]P>                  3.R[Rz]%Pd                  Rj3R{]%Pd                  Rj3.R|Ry]3.RaR}](PR                  3R~](PR                  3]3! Rj4      .R`R](PR                  3]3! Rj4      .RcR](PZ                  Ph                  3R](PZ                  3]3! Rj4      .ROR]3R]P:                  3R]Rj3R]%Pj                  3.RKR]3R]P:                  3R]P0                  Rj3R]P0                  3./t6Rt7V t8R# )r   z
For Nim source code.
Nimrodzhttp://nim-lang.org/nimrodnimz*.nimz*.nimrodz
text/x-nimz1.5c                    . p. pV  FP  pV F%  pVP                  V4       VP                  R 4       K'  	  VP                  RP                  V4      4       . pKR  	  RP                  V4      # )z_? |)appendjoin)wordsnewWordsnewwordchs   &    ;/usr/lib/python3.14/site-packages/pygments/lexers/nimrod.pyunderscorizeNimrodLexer.underscorize"   sc    D

2

4   OOBGGCL)C  xx!!    addrandasasmbindblockbreakcasecastconceptconstcontinue	converterdeferdiscarddistinctdivdoelifelseendenumexceptexportfinallyforifinyield	interfaceisisnotiteratorletmixinmodnotnotinobjectoforoutptrraiserefreturnshlshrstatictrytupletypeusingwhenwhilexorrootz##\[
doccommentz##.*$z#\[commentz#.*$z\{\.pragmaz[*=><+\-/@$~&%!?|\\\[\]]z<\.\.|\.|,|\[\.|\.\]|\{\.|\.\}|\(\.|\.\)|\{|\}|\(|\)|:|\^|`|;z(\n\s*)(of)(\s)
casebranchz
(?:[\w]+)"rdqsz"""tdqs"dqs'chars(z)\bz0(proc|func|method|macro|template)(\s)(?![(\[\]])funcnamez({})\bz(v_?a_?r)\bz&\b((?![_\d])\w)(((?!_)\w)|(_(?!_)\w))*z![0-9][0-9_]*(?=([e.]|\'f(32|64)))float-suffixfloat-numberz0x[a-f0-9][a-f0-9_]*z
int-suffixz0b[01][01_]*z0o[0-7][0-7_]*z[0-9][0-9_]*z\s+z.+$z-\\([\\abcefnrtvl"\']|x[a-f0-9]{2}|[0-9]{1,3})z#pop.stringsz(?<!\$)\$(\d+|#|\w+)+z[^\\\'"$\n]+z[\'"\\]z\$z[^\]#]+z#pushz\]##z[\]#]z\]#z0\\([\\abcefnrtvl"\']|\n|x[a-f0-9]{2}|[0-9]{1,3})z"(?!")z""z\nz$((?![\d_])\w)(((?!_)\w)|(_(?!_)\w))*z`.+`nlz\.(?!\.)[0-9_]*[f]*ze[+-]?[0-9][0-9_]*z
\'f(32|64)z
\'i(32|64)z	\'i(8|16),z[\n ]+:z\w+|[^:]z[:,]z\.\}z\w+|\W+|[^.}] N)niltruefalse)r#   rJ   rF   rY   rP   rQ   r2   rE   r=   rG   r@   rA   )intint8int16int32int64floatfloat32float64boolcharrangearrayseqsetstring)fromimportr   r9   )rg   rh   )9__name__
__module____qualname____firstlineno____doc__nameurlaliases	filenames	mimetypesversion_addedre	MULTILINE
IGNORECASEflagsr   keywordskeywordsPseudoopWordstypesr   Docr   	MultilineOtherr   r   r   r   
Whitespacer	   DoubleCharWordformat	NamespaceDeclarationr
   BuiltinPseudor   FloatHexBinOctIntegerr   EscapeInterpolr   Functionr   LongLabeltokens__static_attributes____classdictcell__)__classdict__s   @r   r   r      s     D
 CG*%IIMLL2==(E	"				"	$*	,3	5<	>D			"	$.	0;	=D	FO	 		 	  	 "(	 *0	 27	 9?	 AI	 			 		 #		 %)		 +/		 18		 :E		
 		
 	
 "	
 $)	
 +2	
 49	 		 	 !	 #'	 )-	 /4	 6;	 =D	 		 	 	 !&	 (0	 27	 		 	 !	 #)	 +2	 49	HNG
E 	fjj,/vzz"W&&	2g fllH- )(3L  $//7*.//";<HJ FF+V]]F+&%  &++w' ,w'(,hmm<@gt/=,x()-w7l+RST W001,u%&c*DLL9,~./s3W^^D 7= 2\\;=$fjj,?fjj,7

L9fnnl; T__%UOg4
j 	=v}}M6;;'6;;

 	%v7f% FO
 	$fjj'*fjj&)vzz"	
 	**+W&&0W&&/w(()	
 	@]]66"I	
 	'FMM"I

 	V]]F+IFMM"

 	4dmmVLdmmV,
 	FO
 	#V\\2"FLL1FO

 	FLL)FO
 	FNN//06>>*FO

 	;(8V$$**%	
 	dO(fllF+v||,	
wAFr!   )r   r   pygments.lexerr   r   r   r   pygments.tokenr   r   r   r	   r
   r   r   r   r   __all__r   rn   r!   r   <module>r      s;    
 A A   /s* sr!   