|e \dZddlmZmZddlmZmZmZmZm Z m Z m Z m Z dgZ GddeZy)z pygments.lexers.snobol ~~~~~~~~~~~~~~~~~~~~~~ Lexers for the SNOBOL language. :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. ) RegexLexerbygroups)TextCommentOperatorKeywordNameStringNumber Punctuation SnobolLexerc beZdZdZdZdgZdgZdgZdefde dfd efd e jd fd e jdfd e dfgde dfd e fde jfde fdefdefdefdej"fdej$fde dfde fg de dfd e fdefdee e je fgdej*fgdZy) 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 Snobolsnobolz*.snobolz text/x-snobolz\*.*\nz[+.] statementz-.*\nzEND\s*\nheredocz[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__namealiases filenames mimetypesrr r LabelrBuiltinrr r IntegerFloatrrHeredoctokens8/usr/lib/python3/dist-packages/pygments/lexers/snobol.pyr r s: DjG I !I {K 0 w  $**i 0 [ 9 T; '  tV $ TNM\\    %)( 3   #FNN 3 5v|| D ; ' + &+ 2tX & TN W  ( k4::{ ; =  fnn % ]1Fr%N)rpygments.lexerrrpygments.tokenrrrrr r r r __all__r r$r%r&r*s50 /@*@r%