|eM XdZddlmZddlmZmZmZmZmZm Z m Z m Z dgZ GddeZ y)z pygments.lexers.apl ~~~~~~~~~~~~~~~~~~~ Lexers for APL. :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. ) RegexLexer)CommentOperatorKeywordNameStringNumber Punctuation WhitespaceAPLLexerceZdZdZdZdZdgZgdZddefde jfd e jfd e jfd e fd e jfd ej fdej"fdefdej&fdefdej*fdej"j,fdej0fdej2j4fdej6fgiZy)r z8 A simple APL lexer. .. versionadded:: 2.0 APLz:https://en.m.wikipedia.org/wiki/APL_(programming_language)apl)z*.aplz*.aplfz*.aploz*.aplnz*.aplcz*.apliz*.dyalogrootz\s+u [⍝#].*$z\'((\'\')|[^\'])*\'z"(("")|[^"])*"u [⋄◇()]z[\[\];]u*⎕[A-Za-zΔ∆⍙][A-Za-zΔ∆⍙_¯0-9]*u([A-Za-zΔ∆⍙_][A-Za-zΔ∆⍙_¯0-9]*u¯?(0[Xx][0-9A-Fa-f]+|[0-9]*\.?[0-9]+([Ee][+¯]?[0-9]+)?|¯|∞)([Jj]¯?(0[Xx][0-9A-Fa-f]+|[0-9]*\.?[0-9]+([Ee][+¯]?[0-9]+)?|¯|∞))?u3[\.\\\/⌿⍀¨⍣⍨⍠⍤∘⌸&⌶@⌺⍥⍛⍢]u[+\-×÷⌈⌊∣|⍳?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⌸⍯↗⊆⊇⍸√⌾…⍮]u⍬u[⎕⍞]u[←→]u[⍺⍵⍶⍹∇:]z[{}]N)__name__ __module__ __qualname____doc__nameurlaliases filenamesr rSinglerDoubler RegexrFunctionVariabler AttributerConstantGlobalr DeclarationBuiltinPseudoTypetokens5/usr/lib/python3/dist-packages/pygments/lexers/apl.pyr r s D FCgGI Z 7>> *$V]] 3  . K (  & ;DMM J9$-- HX   DT^^ T|   T]] #$--.. /'-- .#DLL$7$7 8 gll #KF HFr'N)rpygments.lexerrpygments.tokenrrrrrr r r __all__r r&r'r(r,s5&$$$ ,VzVr'