B
    ¿ÂûbÅ  ã               @   sx   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mZ ddlmZ dgZe d¡ZG dd„ deƒZdS )	zÑ
    pygments.lexers.futhark
    ~~~~~~~~~~~~~~~~~~~~~~~

    Lexer for the Futhark language

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    N)Ú
RegexLexerÚbygroups)	ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚ
Whitespace)Ú	unistringÚFutharkLexerz.*?
c               @   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)
Z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ÚmatchZincludeÚimportÚmoduleÚopenZlocalÚassertÚ_)ZNULZSOHz[SE]TXZEOTZENQZACKZBELZBSZHTZLFZVTZFFZCRzS[OI]ZDLEzDC[1-4]ZNAKZSYNZETBZCANZEMZSUBZESCz[FGRU]SZ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__ÚnameZurlÚaliasesÚ	filenamesZ	mimetypesZ	num_typesZother_typesZreservedÚasciiÚjoinZnum_postfixZidentifier_rer   ÚSingler   r   r   ZReservedZTypeZPreprocr   r   r
   ZFloatZBinZHexZIntegerr	   ZCharZBuiltinZEscapeÚuniZLur   Útokens© r6   r6   ú6lib/python3.7/site-packages/pygments/lexers/futhark.pyr      s`   










)r-   ÚreZpygments.lexerr   r   Zpygments.tokenr   r   r   r   r   r	   r
   r   r   Zpygmentsr   r4   Ú__all__ÚcompileZline_rer   r6   r6   r6   r7   Ú<module>	   s   ,
