3
V'ícü ã @ s¶ d Z ddlZddlmZmZmZmZmZ ddlm Z m
Z
mZmZm
Z
mZmZmZmZ ddddd gZG d
d deZG dd deZG dd deZG d
d deZG dd d eZdS )zÈ
pygments.lexers.ml
~~~~~~~~~~~~~~~~~~
Lexers for ML family languages.
:copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
é N)Ú
RegexLexerÚincludeÚbygroupsÚdefaultÚwords) ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚErrorÚSMLLexerÚ
OcamlLexerÚOpaLexerÚReasonLexerÚ
FStarLexerc ) @ s e Zd ZdZdZdgZdddgZddgZd d
ddd
ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1h)Zd2d3d4d5d6d7d8hZ d9d:d;d<d=d>d?d@dAdBh
Z
dCZdDZdEdF Z
dGdH ZdIdJ ZdKdL ZdMefdNejdOfgdPedQfdRedSfdTejdfdUejdQfdVejdSfgdWdXjdYdZ e
D efd[ejd\fd]ejd^fd_ejfd`ejfdaejfdbejfdcejfddejfdeejfdfej fdge ej fdhe ej fdiejdjfdkejdlfdmejdnfdoejdpfdqej!fdre edsfdWe efdWe efgdre efdWe edSfdWe edSfdMe"fdte"fge#dQge$dudvejdwfdxejdfe$d{e$d|dte"fge$dud}efdNejdOfd~ejdzfdejdfd3edzfdejdfe$d{e$d|dte"fg
e
eje
ejddXje edSfge$due$ddWe ej%fe#dSge$dudqej!fdedfdWe ej&dSfdWe ej&dSfe#dSge$dudqej!fdedfd
eef e'ej(eedSfd
eef e'ej(eedSfdWe ej(dSfdWe ej(dSfe#dSge$due$ddqej!fdedfde edfdWe ej)fdWe ej)fdte"dSfge$dudejdfe$de$d|dte"dSfge$due$ddqej!fdedfde'eeejdSfde ed fdWe ej)fdWe ej)fdte"dSfg e$dudejd¡fdejd¢fdejfde e'eeej*fde e'eeej*fe$de$d|dte"fg e$dude e'ejeej*fde e'ejeej*fdejfdeef ej*fe#dSge$dudWe ej*dSfdWe ej*dSfdte"dSfgd}efdNejdOfdqej!feefd?efdedSfeefgdejfdNejdfdejdSfdejfgdZ+dS )£r zB
For the Standard ML language.
.. versionadded:: 1.5
zStandard MLZsmlz*.smlz*.sigz*.funztext/x-standardmlzapplication/x-standardmlZabstypeÚandZandalsoÚasÚcaseÚdatatypeÚdoÚelseÚendÚ exceptionÚfnÚfunÚhandleÚifÚinZinfixZinfixrÚletÚlocalZnonfixÚofÚopÚopenZorelseÚraiseÚrecÚthenÚtypeÚvalÚwithZwithtypeÚwhileZeqtypeÚfunctorr ZsharingÚsigÚ signatureÚstructZ structureÚwhereú:z\|ú=z=>z->ú#z:>ú(ú)ú[ú]Ú{Ú}ú,ú;z...Ú_z[a-zA-Z][\w']*z[!%&$#+\-/:<=>?@\\~`^|*]+c C s: d| fdt jfdt jfdt jfdt jfdt jfd| dfgS ) Nz[^"\\]z\\[\\"abtnvfr]z\\\^[\x40-\x5e]z
\\[0-9]{3}z\\u[0-9a-fA-F]{4}z\\\s+\\ú"z#pop)r ÚEscapeZInterpol)Zwhatkind© rA ú6/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/ml.pyÚstringy<