| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/pygments/lexers/__pycache__/ |
Upload File : |
a
SҼaj � @ sp d Z ddlZddlmZ ddlmZmZmZmZm Z m
Z
mZmZ ddl
mZ dgZe�d�ZG dd� de�ZdS ) z�
pygments.lexers.futhark
~~~~~~~~~~~~~~~~~~~~~~~
Lexer for the Futhark language
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)�
RegexLexer)�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation)� unistring�FutharkLexerz.*?
c @ s� e Zd ZdZdZdgZdgZdgZej ej
B ZdZdZ
dZd Zd
d�e� ZdZd
ejfdejfdefdd�e� ejfdd�ee
� ejfdejfdeef efdefdefdefde ejfde ejfde ejfde ejfde ej fde ej!fde ej"fde#j$dfde#d fd!ejfdej%fgd"e#j$d#fde#j&d$fde#j$d#fgd%e#fde#j&d$fde#d#fgd&e#j&d#fd'e'j( d( e#j&d#fd�e�e#j&d#fd)e#j&d#fd*e#j&d#fd+e#j&d#fd,e#j&d#fgd-�Z)d.S )/r z4
A Futhark lexer
.. versionadded:: 2.8
ZFutharkZfutharkz*.futztext/x-futhark)
Zi8Zi16Zi32Zi64�u8�u16�u32Zu64Zf32Zf64)�bool)�ifZthen�elseZletZloop�in�with�type�val�entry�for�whileZdoZcase�matchZinclude�import�module�open�local�assert�_)�NULZSOHz[SE]TXZEOTZENQZACKZBELZBSZHTZLF�VTZFFZCRzS[OI]ZDLEzDC[1-4]ZNAKZSYNZETBZCANZEMZSUBZESCz[FGRU]SZSPZDELz(%s)?�|z[a-zA-Z_][a-zA-Z_0-9']*z --(.*?)\nz\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)*)?z0[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@^_]zo[0-7]+zx[\da-fA-F]+z\d+z\s+\\)�rootr% r'