o ‡ÎÖa¬ ã@sVdZddlmZmZddlmZmZmZmZm Z m Z m Z m Z dgZ Gdd„deƒZdS)zÐ pygments.lexers.snobol ~~~~~~~~~~~~~~~~~~~~~~ Lexers for the SNOBOL language. :copyright: Copyright 2006-2021 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 j d fd e j dfd e dfgde dfd e fde j fde fdefdefdefdejfdejfde dfde fg de dfd e fdefdee e j e ƒ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 ÚSnobolÚsnobolz*.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)ÚrootrrrN)Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚnameÚaliasesÚ filenamesÚ mimetypesrr rÚLabelrÚBuiltinrr r ÚIntegerÚFloatrrÚHeredocÚtokens©r"r"ú8/usr/lib/python3/dist-packages/pygments/lexers/snobol.pyr sJ   ú üë ÿü ÿ ÒN)rÚpygments.lexerrrÚpygments.tokenrrrrrr r r Ú__all__r r"r"r"r#Ús  (