K iL XdZddlmZddlmZmZmZmZmZm Z m Z m Z dgZ GddeZ y)z pygments.lexers.apl ~~~~~~~~~~~~~~~~~~~ Lexers for APL. :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. ) RegexLexer)CommentOperatorKeywordNameStringNumber Punctuation WhitespaceAPLLexerceZdZdZdZdZdgZgdZdZdde fd e jfd e jfd e jfd efd e jfdej"fdej$fdefdej(fdefdej,fdej$j.fdej2fdej4j6fdej8fgiZy)r z A simple APL lexer. APLz:https://en.m.wikipedia.org/wiki/APL_(programming_language)apl)z*.aplz*.aplfz*.aploz*.aplnz*.aplcz*.apliz*.dyalogz2.0rootz\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 filenames version_addedr rSinglerDoubler RegexrFunctionVariabler AttributerConstantGlobalr DeclarationBuiltinPseudoTypetokensY/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/pygments/lexers/apl.pyr r s D FCgGIM 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&$$$ ,UzUr(