3

V'ícöã@s^dZddlmZmZmZmZddlmZmZm	Z	m
Z
mZmZm
Z
mZdgZGdd„deƒZdS)zÌ
    pygments.lexers.j
    ~~~~~~~~~~~~~~~~~

    Lexer for the J programming language.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é)Ú
RegexLexerÚwordsÚincludeÚbygroups)ÚCommentÚKeywordÚNameÚNumberÚOperatorÚPunctuationÚStringÚ
WhitespaceÚJLexercb@sÈeZdZdZdZdZdgZdgZdgZdZ	de
jfd	e
jfd
e
ee
jƒdfde
ee
jƒfd
efdedfdejdfde
ejeejeƒdfdejdfde
ejeejƒdfedœe	ddejfedddejfe	ejfedžƒejfdƒefd„efd…ejfd†ejfd‡ejfdˆed‰fedŠƒgd‹e
jfdŒe
jdfdŽe
jfgdejfedƒd‹efdŒejdfdŽefgd‘efd’efd“ejfd”ej j!fd•ej fgd–efdŒejdfdŽefgd—edfedƒedƒgd˜efd™efdedfgdšœZ"d›S)Ÿrz7
    For J source code.

    .. versionadded:: 2.1
    ÚJzhttp://jsoftware.com/Újz*.ijsztext/x-jz
\b[a-zA-Z]\w*z#!.*$zNB\..*z(\n+\s*)(Note)Úcommentz
(\s*)(Note.*)z\s+ú'Úsinglequotez	0\s+:\s*0ÚnounDefinitionz(noun)(\s+)(define)(\s*)$z([1-4]|13)\s+:\s*0\bÚexplicitDefinitionz3(adverb|conjunction|dyad|monad|verb)(\s+)(define)\bÚfor_Úgoto_Úlabel_z\.)ÚsuffixÚassertÚbreakÚcaseÚcatchÚcatchdÚcatchtÚcontinueÚdoÚelseÚelseifÚendÚfcaseÚforÚifÚreturnÚselectÚthrowÚtryÚwhileÚwhilstÚARGVÚCRÚCRLFÚDELÚDebugÚEAVÚEMPTYÚFFÚJVERSIONÚLFÚLF2ÚNoteÚTABÚalpha17Úalpha27ÚapplyÚbindÚboxopenÚboxxopenÚbxÚclearÚcutLFÚcutopenÚdatatypeÚdefÚdfhÚdropÚeachÚechoÚemptyÚeraseÚeveryÚevtloopÚexitÚexpandÚfetchÚfile2urlÚ	fixdotdotÚfliprgbÚgetargsÚgetenvÚhfdÚinvÚinverseÚiospathÚisattyÚisutf8ÚitemsÚleafÚlistÚ	nameclassÚnamelistÚnamesÚncÚnlÚonÚpickÚrowsÚscriptÚscriptdÚsignÚsminfoÚsmoutputÚsortÚsplitÚstderrÚstdinÚstdoutÚtableÚtakeÚ
timespacexÚtimexÚtmoutputÚtoCRLFÚtoHOSTÚtoJÚtolowerÚtoupperÚtypeÚucpÚucpcountÚusleepÚutf8Úuucpz=[.:]z![-=+*#$%@!~`^&";:.,<>{}\[\]\\|/?]z[abCdDeEfHiIjLMoprtT]\.z[aDiLpqsStux]\:z
(_[0-9])\:z\(ÚparenthesesÚnumbersz[^)]z^\)z#popz[)]z\b[nmuvxy]\bÚrootz
\b_{1,2}\bz)_?\d+(\.\d+)?(\s*[ejr]\s*)_?\d+(\.?=\d+)?z_?\d+\.(?=\d+)z_?\d+xz_?\d+z[^)]+z\)z[^']+z'')r„rrrƒrr‚rN)rrr)rrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-)Tr.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rr€r)#Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚaliasesÚ	filenamesÚ	mimetypesZ	validNamerZPreprocÚSinglerr
Z	MultilinerrÚEntityZFunctionrZLabelÚVariabler
rZReservedÚConstantrrZ	Decoratorr	ZFloatZIntegerZLongÚtokens©r“r“ú5/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/j.pyrsž







N)rˆZpygments.lexerrrrrZpygments.tokenrrrr	r
rrr
Ú__all__rr“r“r“r”Ú<module>	s(