B
    bX                 @   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-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    N)
RegexLexerwords)Comment
WhitespaceOperatorKeywordStringNumberNamePunctuationComal80Lexerc            E   @   s  e Zd ZdZdZdZddgZddgZej	Z
dZd	Zd
ejfdefdefde ejfedddddddddg	edejfeddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVg?edejfedWdXdYdZd[d\d]d^d_d`g
edejfedadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}gedejfed~ddgedejfdedfed ejfed efdejfdejfdejfdejfde fgdefdej!fdedfgdZ"dS )r   z#
    For COMAL-80 source code.
    zCOMAL-80z#https://en.wikipedia.org/wiki/COMALZcomalZcomal80z*.cmlz*.comalu   \b(?!['\[\]←£\\])u   [a-z]['\[\]←£\\\w]*z//.*\nz\s+u   :[=+-]|\<\>|[-+*/^↑<>=]z(and +then|or +else)andZbitandZbitorZbitxorZdivinmodnotor)suffixappendZatZcasechainclosecopyZcreateZcursordatadeletedirZdoelifelseendZendcaseZendifZendforZendloopZendtrapZendwhileexecexitfileforZgotoZhandlerifinputZletZloopZmountZnullZofopenZ	otherwiseoutputZpagepassZpokeprintZrandomreadrepeatZreportreturnrenameZrestoreZselectstepstopsysZthentoZtrapZunitzunit$ZuntilZusingZwhenwhilewriteZzoneclosedZdimZendfuncZendprocZexternalfuncimportprocrefZuseabsZatnzchr$ZcosZeodeoferrZerrfileZerrtextZescZexpintzkey$lenlogordpeekZ	randomizeZrndZsgnZsinzspc$Zsqrzstatus$zstr$ZtabZtanZtimevalZfalseZ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)rootrA   N)#__name__
__module____qualname____doc__nameZurlaliases	filenamesre
IGNORECASEflagsZ_suffixZ_identifierr   Singler   r   ZWordr   r   ZReservedZDeclarationr
   ZBuiltinZConstantr   ZLabelr	   ZBinZHexZFloatZIntegerr   ZEscapetokens rO   rO   4lib/python3.7/site-packages/pygments/lexers/comal.pyr      sZ   
)rF   rJ   Zpygments.lexerr   r   Zpygments.tokenr   r   r   r   r   r	   r
   r   __all__r   rO   rO   rO   rP   <module>	   s
   (