a
    €˜ëjn  ã                   @   s^   d Z ddlZddlmZmZ ddlmZmZmZm	Z	m
Z
mZmZmZ dgZG dd„ deƒZdS )zÅ
    pygments.lexers.comal
    ~~~~~~~~~~~~~~~~~~~~~

    Lexer for COMAL-80.

    :copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    N)Ú
RegexLexerÚwords)ÚCommentÚ
WhitespaceÚOperatorÚKeywordÚStringÚNumberÚNameÚPunctuationÚComal80Lexerc                   @   s"  e Zd ZdZdZdZddgZddgZdZe	j
Zd	Zd
Zdejfdefdefde ejfeg d¢ed�ejfeg d¢ed�ejfeg d¢ed�ejfeg d¢ed�ejfeg d¢ed�ejfdedfed ejfed efdejfdejfdejfdej fde!fgdefdej"fded fgd!œZ#d"S )#r   z#
    For COMAL-80 source code.
    zCOMAL-80z#https://en.wikipedia.org/wiki/COMALZcomalZcomal80z*.cmlz*.comalÚ u   \b(?!['\[\]â†�Â£\\])u   [a-z]['\[\]â†�Â£\\\w]*z//.*\nz\s+u   :[=+-]|\<\>|[-+*/^â†‘<>=]z(and +then|or +else))	ÚandZbitandZbitorZbitxorÚdivÚinÚmodÚnotÚor)Úsuffix)?ÚappendÚatZcaseÚchainÚcloseÚcopyÚcreateÚcursorÚdataÚdeleteÚdirZdoÚelifÚelseÚendZendcaseÚendifZendforZendloopZendtrapZendwhileÚexecÚexitÚfileÚforÚgotoÚhandlerÚifÚinputZletZloopÚmountÚnullZofÚopenZ	otherwiseÚoutputÚpageÚpassZpokeÚprintÚrandomÚreadÚrepeatÚreportÚreturnÚrenameÚrestoreÚselectÚstepÚstopÚsysZthenÚtoZtrapÚunitzunit$ZuntilZusingÚwhenÚwhileÚwriteÚzone)
ÚclosedZdimZendfuncZendprocZexternalÚfuncÚimportÚprocÚrefZuse)ÚabsZatnzchr$ÚcosZeodÚeofÚerrZerrfileZerrtextÚescÚexpÚintzkey$ÚlenÚlogÚordÚpeekZ	randomizeZrndZsgnÚsinzspc$Zsqrzstatus$zstr$ÚtabÚtanÚtimeÚval)ÚfalseÚpiÚtrueú"Ústringz:(?=[ \n/])z[$#]?z%[01]+z\$[0-9a-f]+z\d*\.\d*(e[-+]?\d+)?z\d+z[(),:;]z[^"]+z"[0-9]*"z#pop)Úrootr\   N)$Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚaliasesÚ	filenamesZversion_addedÚreÚ
IGNORECASEÚflagsZ_suffixZ_identifierr   ÚSingler   r   ÚWordr   r   ZReservedZDeclarationr
   ZBuiltinÚConstantr   ZLabelr	   ZBinZHexZFloatZIntegerr   ZEscapeÚtokens© rm   rm   úT/mnt/bigstor/www/usecases/.venv/lib/python3.9/site-packages/pygments/lexers/comal.pyr      s`   þþø	÷
þþüü
Þ%ýÛ)ra   rf   Zpygments.lexerr   r   Zpygments.tokenr   r   r   r   r   r	   r
   r   Ú__all__r   rm   rm   rm   rn   Ú<module>   s
   
(