3

V'íc¬
ã@sVdZddlmZmZddlmZmZmZmZm	Z	m
Z
mZmZdgZ
Gdd„deƒZdS)zÐ
    pygments.lexers.snobol
    ~~~~~~~~~~~~~~~~~~~~~~

    Lexers for the SNOBOL language.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é)Ú
RegexLexerÚbygroups)ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚSnobolLexerc
@sÜeZdZdZdZdgZdgZdgZdefde	dfd	efd
e
jdfde
jdfd
edfgdedfd
efde
j
fde
fdefdefdefdejfdejfde	dfde	fgdedfd
efdefdee	e
je	ƒfgdejfgdœZdS) rzÕ
    Lexer for the SNOBOL4 programming language.

    Recognizes the common ASCII equivalents of the original SNOBOL4 operators.
    Does not require spaces around binary operators.

    .. versionadded:: 1.5
    ZSnobolZsnobolz*.snobolz
text/x-snobolz\*.*\nz[+.] Ú	statementz-.*\nzEND\s*\nÚheredocz[A-Za-z$][\w$]*z\s+z\s*\nz#popzò(?<=[^\w.])(LT|LE|EQ|NE|GE|GT|INTEGER|IDENT|DIFFER|LGT|SIZE|REPLACE|TRIM|DUPL|REMDR|DATE|TIME|EVAL|APPLY|OPSYN|LOAD|UNLOAD|LEN|SPAN|BREAK|ANY|NOTANY|TAB|RTAB|REM|POS|RPOS|FAIL|FENCE|ABORT|ARB|ARBNO|BAL|SUCCEED|INPUT|OUTPUT|TERMINAL)(?=[^\w.])z[A-Za-z][\w.]*z\*\*|[?$.!%*/#+\-@|&\\=]z"[^"]*"z'[^']*'z[0-9]+(?=[^.EeDd])z%[0-9]+(\.[0-9]*)?([EDed][-+]?[0-9]+)?ú:Úgotoz[()<>,;]z#pop:2zF|Sz(\()([A-Za-z][\w.]*)(\))z.*\n)Úrootr
rrN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesÚ	mimetypesrrrZLabelrZBuiltinrr	r
ZIntegerZFloatrrZHeredocÚtokens©rrú:/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/snobol.pyrs:


N)rZpygments.lexerrrZpygments.tokenrrrrrr	r
rÚ__all__rrrrrÚ<module>	s(