+
    TBiP                     n    R t ^ RIHtHtHtHtHt ^ RIHtH	t	H
t
HtHtHtHtHtHt R.t ! R R]4      tR# )z
pygments.lexers.ampl
~~~~~~~~~~~~~~~~~~~~

Lexers for the AMPL language.

:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
)
RegexLexerbygroupsusingthiswords)	TextCommentOperatorKeywordNameStringNumberPunctuation
Whitespace	AmplLexerc                      ] tR t^tRtRtRtR.tR.tRt	RR]
3R	]3R
]P                  3R]P                  3]! RRR7      ]P"                  3R]P$                  3R]P(                  3R]P                  3R]3R]! ]P0                  ]]P"                  4      3R]! ]P2                  ]]P0                  4      3R]! ]P2                  ]]]]P0                  ]]]]P0                  4	      3R]! ]P2                  ]]! ]4      ]]P0                  4      3]! RRRR7      ]P8                  3R]3]! R RR7      ]P"                  3R]P>                  3R]P@                  3R]P@                  3R]
3./t!Rt"R# )!r   z
For AMPL source code.
Amplzhttp://ampl.com/amplz*.runz2.2rootz\nz\s+z#.*?\nz/[*](.|\n)*?[*]/z\b)suffixzF(integer|binary|symbolic|ordered|circular|reversed|INOUT|IN|OUT|LOCAL)z\".*?\"z\'.*?\'z[()\[\]{},;:]+zu\b(\w+)(\.)(astatus|init0|init|lb0|lb1|lb2|lb|lrc|lslack|rc|relax|slack|sstatus|status|ub0|ub1|ub2|ub|urc|uslack|val)zr(set|param|var|arc|minimize|maximize|subject to|s\.t\.|subj to|node|table|suffix|read table|write table)(\s+)(\w+)z0(param)(\s*)(:)(\s*)(\w+)(\s*)(:)(\s*)((\w|\s)+)z+(let|fix|unfix)(\s*)((?:\{.*\})?)(\s*)(\w+))prefixr   z>(\+|\-|\*|/|\*\*|=|<=|>=|==|\||\^|<|>|\!|\.\.|:=|\&|\!=|<<|>>)z*(\d+\.(?!\.)\d*|\.(?!.)\d+)([eE][+-]?\d+)?z\d+([eE][+-]?\d+)?z[+-]?Infinityz(\w+|(\.(?!\.))) N);callcdclosecommandsdatadeletedisplaydropendenvironexitexpandincludeloadmodel	objectiveoptionproblempurgequit	redeclarereloadremoveresetrestoreshellshow	solexpandsolutionsolveupdateunloadxrefcoeffcoefcoverobjintervaldefaultfromtoto_comenet_innet_outdimen	dimensioncheckcomplementswritefunctionpipeformatifthenelseinwhilerepeatfor)<absacosacoshaliasasinasinhatanatan2atanhceilctimecosexpfloorloglog10maxmin	precisionroundsinsinhsqrttantanhtimetruncBetaCauchyExponentialGammaIrand224NormalNormal01PoissonUniform	Uniform01numnum0icharcharlengthsubstrsprintfmatchsubgsubprintprintfnextnextwprevprevwfirstlastordord0cardarity
indexarity)orexistsforallandrO   notwithinuniondiff
differencesymdiffinter	intersectintersectioncrosssetofbylesssumprodproductdivmod)#__name__
__module____qualname____firstlineno____doc__nameurlaliases	filenamesversion_addedr   r   r   Single	Multiliner   r
   ReservedTyper   Doubler   r   r   VariableDeclarationr   r   Builtinr	   r   FloatIntegertokens__static_attributes__r       9/usr/lib/python3.14/site-packages/pygments/lexers/ampl.pyr   r      s    D
ChG	IM 	DMZ ' '"3"34 
  %
& (/'7'7
9 W\\'',# dmm['2B2BCEDg)):t}}EG Ag)):{JmmZj$--YZ <g)):uT{Jmm%&  	 ',E	; =ALL	J O ) 27	8
  ;FLLI"FNN3v~~. $'o8
;Fr   N)r   pygments.lexerr   r   r   r   r   pygments.tokenr   r   r	   r
   r   r   r   r   r   __all__r   r   r   r   <module>r      s9    D C$ $ $ -E
 Er   