a
    ñ»jËK  ã                   @   s^   d Z ddlmZmZmZmZ ddlmZmZm	Z	m
Z
mZmZmZmZ dgZG dd„ deƒZdS )zÓ
    pygments.lexers.factor
    ~~~~~~~~~~~~~~~~~~~~~~

    Lexers for the Factor language.

    :copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    )Ú
RegexLexerÚbygroupsÚdefaultÚwords)ÚTextÚCommentÚKeywordÚNameÚStringÚNumberÚ
WhitespaceÚPunctuationÚFactorLexerc                A   @   s   e Zd ZdZdZdZdgZdgZdgZdZ	e
dd	d
�Ze
dd	d
�Ze
dd	d
�Ze
dd	d
�Ze
dd	d
�Ze
dd	d
�Ze
dd	d
�Ze
dd	d
�Ze
dd	d
�Ze
dd	d
�Ze
dd	d
�Zdejfedƒgdefdeeeejƒfdeeeejeejƒfdeeeejeejƒfdeeeejƒfdeeeejeejƒfdeejeƒdfdeeeƒfd eejeƒd!fd"eejeejƒfd#eejeejeejƒfd$eejeejeƒd%fd&eejeejeejee eejƒ	fd'eejeejeejƒfd(eejeejƒfd)eeeejee eejƒd*fd+eeeejƒd*fd,eeeejƒfd-eeeejee eejƒfd.eeeejeejƒfd/eeeejƒfd0eeeejƒfd1ed2fd3eeeejƒfd4eeeƒd%fd5eeeƒfd6eeeƒfd7eeeejƒfd8eejee!eejee ee!e eƒfd9eejee!eejeejee ee!e eƒfd:eejeƒfd;e"fd<e"fd=ee"ee"ƒfd>ee"j#ee"j#eƒfd?efd@efdAefdBej$fdCej$fdDej$fdEe%fdFe%fdGe%fdHe%fdIe%j&fdJe%j'fdKe%fdLe%fdMefeeej(eƒfeeej(eƒfeeej(eƒfeeej(eƒfeeej(eƒfeeej(eƒfeeej(eƒfeeej(eƒfeeej(eƒfeeej(eƒfeeej(eƒfdNe!fg>defdOeejeƒdfdPeejeƒdQfdReejeƒfdNej)fgdefdSeeeƒdQfdTee!eej)ee!ee!eƒfdNej)fgdefdSeeeƒdQfdNejfgdefdSeeeƒdQfdNejfgdefdSeeeƒdQfdNejfgdUœZ*dVS )Wr   z(
    Lexer for the Factor language.
    ÚFactorzhttp://factorcode.orgÚfactorz*.factorztext/x-factorz1.4)oz-rotZ2biz2bi@z2bi*Z2curryZ2dipZ2dropZ2dupZ2keepZ2nipZ2overZ2triz2tri@z2tri*Z3biZ3curryZ3dipZ3dropZ3dupZ3keepZ3triZ4dipZ4dropZ4dupZ4keepz	<wrapper>ú=z>booleanÚcloneú?z?executez?ifÚandÚassertzassert=zassert?Zbizbi-curryz	bi-curry@z	bi-curry*zbi@zbi*ÚboaÚbooleanzboolean?zboth?ÚbuildÚcallZ	callstackzcallstack>arrayz
callstack?Úclearz(clone)Zcomposezcompose?Úcurryzcurry?Z	datastackZdieZdipÚdoZdropÚdupZdupdzeither?zeq?zequal?ÚexecuteZhashcodez	hashcode*zidentity-hashcodezidentity-tuplezidentity-tuple?Úifzif*ZkeepÚloopZmostÚnewZnipÚnotÚnullÚobjectÚorZoverÚpickZpreposeZretainstackZrotzsame?ZswapZswapdÚthrowZtriz	tri-curryz
tri-curry@z
tri-curry*ztri@ztri*Útupleztuple?Zunlesszunless*ZuntilÚwhenzwhen*ÚwhileÚwithÚwrapperzwrapper?Úxorz(\s+))Úsuffix)@Z2cachez<enum>z>alistz?atz?ofZassocz
assoc-all?z
assoc-any?zassoc-clone-likezassoc-combinez
assoc-diffzassoc-diff!zassoc-differz
assoc-eachzassoc-empty?zassoc-filterzassoc-filter!zassoc-filter-asz
assoc-findzassoc-hashcodezassoc-intersectz
assoc-likez	assoc-mapzassoc-map-aszassoc-partitionzassoc-refinez
assoc-sizezassoc-stackzassoc-subset?zassoc-unionzassoc-union!zassoc=z	assoc>mapzassoc?Úatzat+zat*Úcachez	change-atzclear-assocz	delete-atz
delete-at*Úenumzenum?zextract-keyszinc-atzkey?Úkeysz	map>assoczmaybe-set-atz	new-assocZofzpush-atz	rename-atzset-atz	sift-keyszsift-valuesÚ
substituteZunzipzvalue-atz	value-at*zvalue?ÚvaluesÚzip)Z2cleavez2cleave>quotZ3cleavez3cleave>quotZ4cleavez4cleave>quotz
alist>quotzcall-effectÚcasez	case-findz	case>quotZcleavezcleave>quotZcondz	cond>quotzdeep-spread>quotzexecute-effectzlinear-case-quotzno-casezno-case?zno-condzno-cond?zrecursive-hashcodezshallow-spread>quotZspreadzto-fixed-pointzwrong-valueszwrong-values?)cú-ú/z/fz/iz/modz2/z2^ú<z<=z<fp-nan>ú>z>=z>bignumz>fixnumz>floatz>integerz(all-integers?)z(each-integer)z(find-integer)Ú*ú+z?1+ÚabsÚalignzall-integers?Zbignumzbignum?zbit?ZbitandZbitnotZbitorzbits>doublez
bits>floatZbitxorÚcomplexzcomplex?Údenominatorzdouble>bitszeach-integerzeven?zfind-integerzfind-last-integerZfixnumzfixnum?Úfloatz
float>bitszfloat?zfp-bitwise=zfp-infinity?zfp-nan-payloadzfp-nan?zfp-qnan?zfp-signzfp-snan?zfp-special?zif-zerozimaginary-partÚintegerzinteger>fixnumzinteger>fixnum-strictzinteger?Úlog2zlog2-expects-positivezlog2-expects-positive?ÚmodÚnegzneg?z
next-floatznext-power-of-2Únumberznumber=znumber?Ú	numeratorzodd?zout-of-fixnum-rangezout-of-fixnum-range?zpower-of-2?z
prev-floatÚratiozratio?Zrationalz	rational?Úrealz	real-partzreal?ZrecipÚremZsgnÚshiftÚsqÚtimeszu<zu<=zu>zu>=zunless-zeroz
unordered?z	when-zerozzero?)êZ	1sequencez2all?Z2eachZ2mapz2map-asz2map-reduceZ2reduceZ	2selectorZ	2sequenceZ3appendz
3append-asZ3eachZ3mapz3map-asZ	3sequenceZ	4sequencez<repetition>z
<reversed>z<slice>z?firstz?lastz?nthz?secondz?set-nthÚ
accumulatezaccumulate!zaccumulate-aszall?zany?Úappendzappend!z	append-aszassert-sequencezassert-sequence=zassert-sequence?zbinary-reducezbounds-checkzbounds-check?zbounds-errorzbounds-error?zbut-lastzbut-last-slicezcartesian-eachzcartesian-mapzcartesian-productz
change-nthzcheck-slicezcheck-slice-errorz
clone-likezcollapse-sliceÚ	collectorzcollector-forÚconcatz	concat-asÚcopyÚcountÚcutz	cut-slicezcut*z
delete-allzdelete-slicezdrop-prefixZeachz	each-fromz
each-indexzempty?ZexchangeÚfilterzfilter!z	filter-asÚfindz	find-fromz
find-indexzfind-index-fromz	find-lastzfind-last-fromÚfirstZfirst2Zfirst3Zfirst4ÚflipÚfollowZfourthZglueZhalvesZharvestÚheadz
head-slicezhead-slice*zhead*zhead?zif-emptyZ	immutablezimmutable-sequencezimmutable-sequence?z
immutable?Úindexz
index-fromÚindicesZinfimumz
infimum-byz
insert-nthÚ
interleaveÚiotaz
iota-tupleziota-tuple?Újoinzjoin-asÚlastz
last-indexzlast-index-fromÚlengthZlengthenZlikeZlongerzlonger?ZlongestÚmapzmap!zmap-aszmap-findzmap-find-lastz	map-indexzmap-integersz
map-reducezmap-sumz
max-lengthz
member-eq?zmember?z	midpoint@z
min-lengthZmismatchÚmoveznew-likeznew-resizableznew-sequenceznon-negative-integer-expectedznon-negative-integer-expected?ZnthZnthszpad-headzpad-tailÚpaddingÚ	partitionÚpopzpop*ÚprefixÚprependz
prepend-asZproducez
produce-asÚproductÚpushzpush-allzpush-eitherzpush-ifÚreducezreduce-indexÚremovezremove!z	remove-eqz
remove-eq!z
remove-nthzremove-nth!Z
repetitionzrepetition?zreplace-sliceZ	replicatezreplicate-asÚrestz
rest-sliceÚreversezreverse!Úreversedz	reversed?ÚsecondÚselectorzselector-forÚsequencezsequence-hashcodez	sequence=z	sequence?z	set-firstz
set-fourthzset-lastz
set-lengthzset-nthz
set-secondz	set-thirdÚshortÚshortenZshorterzshorter?ZshortestZsiftÚslicezslice-errorzslice-error?zslice?Zsnipz
snip-sliceÚstartzstart*Zsubseqzsubseq?r.   zsuffix!Úsumzsum-lengthsZsupremumzsupremum-byZsurroundÚtailz
tail-sliceztail-slice*ztail*ztail?ÚthirdZtrimz	trim-headztrim-head-slicez
trim-slicez	trim-tailztrim-tail-sliceZunclipzunclip-lastzunclip-last-slicezunclip-slicezunless-emptyzvirtual-exemplarzvirtual-sequencezvirtual-sequence?zvirtual@z
when-empty)z+@Zchangezchange-globalÚcounterÚdecÚgetz
get-globalÚglobalÚinczinit-namespacesZ
initializez	is-globalz
make-assocÚ	namespaceZ	namestackÚoffÚonÚsetz
set-globalzset-namestackÚtogglezwith-globalz
with-scopezwith-variablezwith-variables)Z1arrayZ2arrayZ3arrayZ4arrayz<array>z>arrayÚarrayzarray?Úpairzpair?zresize-array)Yz(each-stream-block-slice)z(each-stream-block)z(stream-contents-by-block)z(stream-contents-by-element)z$(stream-contents-by-length-or-block)z(stream-contents-by-length)z+byte+z+character+zbad-seek-typezbad-seek-type?ÚblÚcontentsz
each-blockzeach-block-sizezeach-block-slicez	each-linezeach-morselzeach-stream-blockzeach-stream-block-slicezeach-stream-linezerror-streamÚflushzinput-streamzinput-stream?zinvalid-read-bufferzinvalid-read-buffer?ÚlinesÚnlzoutput-streamzoutput-stream?ÚprintÚreadz	read-intozread-partialzread-partial-intoz
read-untilÚread1Zreadlnzseek-absolutezseek-absolute?zseek-endz	seek-end?z
seek-inputzseek-outputzseek-relativezseek-relative?z	stream-blzstream-contentszstream-contents*zstream-copyzstream-copy*zstream-element-typezstream-flushzstream-lengthzstream-linesz	stream-nlzstream-printzstream-readzstream-read-intozstream-read-partialzstream-read-partial-intozstream-read-partial-unsafezstream-read-unsafezstream-read-untilzstream-read1zstream-readlnzstream-seekzstream-seekable?zstream-tellzstream-writezstream-write1z
tell-inputztell-outputzwith-error-streamzwith-error-stream*zwith-error>outputzwith-input-output+error-streamsz with-input-output+error-streams*zwith-input-streamzwith-input-stream*zwith-output-streamzwith-output-stream*zwith-output>errorzwith-output+error-streamzwith-output+error-stream*zwith-streamszwith-streams*ÚwriteZwrite1)Z1stringz<string>z>stringzresize-stringÚstringzstring?)Z1vectorz<vector>z>vectorz?pushZvectorzvector?)(z<condition>z<continuation>z	<restart>zattempt-allzattempt-all-errorzattempt-all-error?zcallback-error-hookZcallcc0Zcallcc1Úcleanupzcompute-restartsÚ	conditionz
condition?Zcontinuationzcontinuation?Úcontinuezcontinue-restartzcontinue-withzcurrent-continuationÚerrorzerror-continuationzerror-in-threadzerror-threadZifcczignore-errorszin-callback?zoriginal-errorZrecoverZrestartzrestart?ZrestartsZrethrowzrethrow-restartsÚreturnzreturn-continuationzthread-error-hookzthrow-continuezthrow-restartszwith-datastackzwith-returnz#!.*$Úbasez\s+z&((?:MACRO|MEMO|TYPED)?:[:]?)(\s+)(\S+)z(M:[:]?)(\s+)(\S+)(\s+)(\S+)z(C:)(\s+)(\S+)(\s+)(\S+)z(GENERIC:)(\s+)(\S+)z$(HOOK:|GENERIC#)(\s+)(\S+)(\s+)(\S+)z(\()(\s)Ústackeffectz(;)(\s)z(USING:)(\s+)Úvocabsz&(USE:|UNUSE:|IN:|QUALIFIED:)(\s+)(\S+)z%(QUALIFIED-WITH:)(\s+)(\S+)(\s+)(\S+)z#(FROM:|EXCLUDE:)(\s+)(\S+)(\s+=>\s)r   z0(RENAME:)(\s+)(\S+)(\s+)(\S+)(\s+)(=>)(\s+)(\S+)z%(ALIAS:|TYPEDEF:)(\s+)(\S+)(\s+)(\S+)z$(DEFER:|FORGET:|POSTPONE:)(\s+)(\S+)z+(TUPLE:|ERROR:)(\s+)(\S+)(\s+)(<)(\s+)(\S+)Úslotsz"(TUPLE:|ERROR:|BUILTIN:)(\s+)(\S+)z'(MIXIN:|UNION:|INTERSECTION:)(\s+)(\S+)z((PREDICATE:)(\s+)(\S+)(\s+)(<)(\s+)(\S+)z(INSTANCE:)(\s+)(\S+)(\s+)(\S+)z(SLOT:)(\s+)(\S+)z(SINGLETON:)(\s+)(\S+)zSINGLETONS:Úclassesz)(CONSTANT:|SYMBOL:|MAIN:|HELP:)(\s+)(\S+)z(SYMBOLS:)(\s+)z(SYNTAX:)(\s+)z(ALIEN:)(\s+)z(STRUCT:)(\s+)(\S+)z<(FUNCTION:)(\s+)(\S+)(\s+)(\S+)(\s+)(\()(\s+)([^)]+)(\))(\s)zL(FUNCTION-ALIAS:)(\s+)(\S+)(\s+)(\S+)(\s+)(\S+)(\s+)(\()(\s+)([^)]+)(\))(\s)z(<PRIVATE|PRIVATE>)(\s)z"""\s[\s\S]*?\s"""z"(?:\\\\|\\"|[^"])*"z (\S+")(\s+)((?:\\\\|\\"|[^"])*")z)(CHAR:)(\s+)(\\[\\abfnrstv]|[^\\]\S*)(\s)z!\s+.*$z#!\s+.*$z/\*\s+[\s\S]*?\s\*/z[tf]\bz[\\$]\s+\S+zM\\\s+\S+\s+\S+z9[+-]?(?:[\d,]*\d)?\.(?:\d([\d,]*\d)?)?(?:[eE][+-]?\d+)?\sz'[+-]?\d(?:[\d,]*\d)?(?:[eE][+-]?\d+)?\sz<0x[a-fA-F\d](?:[a-fA-F\d,]*[a-fA-F\d])?(?:p\d([\d,]*\d)?)?\szANAN:\s+[a-fA-F\d](?:[a-fA-F\d,]*[a-fA-F\d])?(?:p\d([\d,]*\d)?)?\sz	0b[01]+\sz
0o[0-7]+\sz5(?:\d([\d,]*\d)?)?\+\d(?:[\d,]*\d)?/\d(?:[\d,]*\d)?\sz7(?:\-\d([\d,]*\d)?)?\-\d(?:[\d,]*\d)?/\d(?:[\d,]*\d)?\sz:(?:deprecated|final|foldable|flushable|inline|recursive)\sz\S+z	(\()(\s+)z	(\))(\s+)z#popz	(--)(\s+)z(;)(\s+)z((\{)(\s+)(\S+)(\s+)([^}]+)(\s+)(\})(\s+))Úrootr•   r–   r˜   r—   r™   r   N)+Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚaliasesÚ	filenamesÚ	mimetypesÚversion_addedr   Zbuiltin_kernelZbuiltin_assocsZbuiltin_combinatorsZbuiltin_mathZbuiltin_sequencesZbuiltin_namespacesZbuiltin_arraysZ
builtin_ioZbuiltin_stringsZbuiltin_vectorsZbuiltin_continuationsr   ÚPreprocr   r   r   r   r	   ÚFunctionÚClassÚ	Namespacer   r   r
   ÚCharÚConstantr   ÚBinÚOctÚBuiltinÚVariableÚtokens© r°   r°   ú<E:\soccer\ml_env\Lib\site-packages\pygments/lexers/factor.pyr      s¦  òôúî*Ö,ûþäþþ
öýÿÿÿÿÿÿÿÿÿÿÿÿÿþ
þÿÿÿÿÿþÿÿÿÿÿÿ

þý

ýü

ÿÿÿ€ ý ûÿÿú	ýýý€ ÜN)rž   Zpygments.lexerr   r   r   r   Zpygments.tokenr   r   r   r	   r
   r   r   r   Ú__all__r   r°   r°   r°   r±   Ú<module>   s   
(