U
    luf”  ã                   @   sb   d 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dlmZ dgZG dd„ deƒZdS )zÑ
    pygments.lexers.futhark
    ~~~~~~~~~~~~~~~~~~~~~~~

    Lexer for the Futhark language

    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    )Ú
RegexLexerÚbygroups)ÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚ
Whitespace)Ú	unistringÚFutharkLexerc                   @   sÆ  e Zd ZdZdZdZdgZdgZdgZdZ	dZ
d	Zd
Zdd e	¡ ZdZdejfdefdefdd e¡ ejfdd e	e
 ¡ ejfdejfdeef efdefdefdefde ejfde ejfde ejfde ejfde ejfde ejfde ejfdej dfd ed!fd"ejfdej!fgd#ej d$fdej"d%fdej d$fgd&efdej"d%fd ed$fgd'ej"d$fd(e#j$ d) ej"d$fd e¡ej"d$fd*ej"d$fd+ej"d$fd,ej"d$fd-e%eej"ƒd$fgd.œZ&d/S )0r   z4
    A Futhark lexer

    .. versionadded:: 2.8
    ZFutharkzhttps://futhark-lang.org/Zfutharkz*.futztext/x-futhark)
Úi8Zi16Zi32Zi64Úu8Úu16Úu32Zu64Zf32Zf64)Úbool)ÚifZthenÚelseÚdefZletZloopÚinÚwithÚtypeztype~ztype^ÚvalÚentryÚforÚwhileZdoZcaseÚmatchÚincludeÚimportÚmoduleÚopenÚlocalÚassertÚ_)ÚNULZSOHz[SE]TXZEOTZENQZACKÚBELZBSZHTZLFÚVTZFFÚCRzS[OI]ZDLEzDC[1-4]ZNAKZSYNZETBZCANZEMZSUBZESCz[FGRU]SÚSPZDELz(%s)?ú|z[a-zA-Z_][a-zA-Z_0-9']*z--(.*?)$z\s+z\(\)z\b(%s)(?!\')\bz#\[([a-zA-Z_\(\) ]*)\]z[#!]?(%s\.)*%sz\\z[-+/%=!><|&*^][-+/%=!><|&*^.]*z[][(),:;`{}?.\'~^]z40[xX]_*[\da-fA-F](_*[\da-fA-F])*_*[pP][+-]?\d(_*\d)*zR0[xX]_*[\da-fA-F](_*[\da-fA-F])*\.[\da-fA-F](_*[\da-fA-F])*(_*[pP][+-]?\d(_*\d)*)?z\d(_*\d)*_*[eE][+-]?\d(_*\d)*z+\d(_*\d)*\.\d(_*\d)*(_*[eE][+-]?\d(_*\d)*)?z0[bB]_*[01](_*[01])*z 0[xX]_*[\da-fA-F](_*[\da-fA-F])*z	\d(_*\d)*ú'Ú	characterú"Ústringz\[[a-zA-Z_\d]*\]z[^\\']'z#popÚescapez[^\\"]+z[abfnrtv"\'&\\]z\^[][z@^_]zo[0-7]+zx[\da-fA-F]+z\d+z	(\s+)(\\))Úrootr,   r.   r/   N)'Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚaliasesÚ	filenamesÚ	mimetypesZ	num_typesZother_typesÚreservedÚasciiÚjoinZnum_postfixZidentifier_rer   ÚSingler   r
   r   ZReservedÚTypeZPreprocr   r   r	   ZFloatZBinZHexZIntegerr   ÚCharZBuiltinZEscapeÚuniZLur   Útokens© rB   rB   ú;/tmp/pip-unpacked-wheel-7eq1ciah/pygments/lexers/futhark.pyr      sr   ÿÿÿ
á#


ü
ý



ùÒN)r4   Zpygments.lexerr   r   Zpygments.tokenr   r   r   r   r   r	   r
   r   Zpygmentsr   r@   Ú__all__r   rB   rB   rB   rC   Ú<module>   s
   
(