o aL @sVdZddlmZddlmZmZmZmZmZm Z m Z m Z m Z dgZ GdddeZdS)z pygments.lexers.apl ~~~~~~~~~~~~~~~~~~~ Lexers for APL. :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. ) RegexLexer) TextCommentOperatorKeywordNameStringNumber Punctuation WhitespaceAPLLexerc@seZdZdZdZdgZgdZddefdej fde j fd e j fd e fd e j fd ejfd ejfdefdejfdefdejfdejjfdejfdejjfdejfgiZdS)r zx A simple `APL `_ lexer. .. versionadded:: 2.0 APLapl)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__namealiases filenamesr rSinglerDoubler RegexrFunctionVariabler AttributerConstantGlobalr DeclarationBuiltinPseudoTypetokensr$r$5/usr/lib/python3/dist-packages/pygments/lexers/apl.pyr s8   N)rpygments.lexerrpygments.tokenrrrrrrr r r __all__r r$r$r$r%s  ,