K i`dZddlmZmZmZddlmZmZmZm Z m Z m Z m Z m Z dgZGddeZy)z pygments.lexers.meson ~~~~~~~~~~~~~~~~~~~~~ Pygments lexer for the Meson build system :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. ) RegexLexerwordsinclude)CommentNameNumber PunctuationOperatorKeywordString Whitespace MesonLexerc eZdZdZdZdZddgZddgZdgZdZ d e fd e jfd e jfd e jfd e j fedededdefdefg de fde fgeddefgdej.fdefdefeddej2fededdej4j6fgeddd ej8fd!ej:fgd"Zy#)$raAMeson language lexer. The grammar definition use to transcribe the syntax was retrieved from https://mesonbuild.com/Syntax.html#grammar for version 0.58. Some of those definitions are improperly transcribed, so the Meson++ implementation was also checked: https://github.com/dcbaker/meson-plus-plus. Mesonzhttps://mesonbuild.com/mesonz meson.buildzmeson_options.txtz text/x-mesonz2.10z#.*?$z'''.*'''z [1-9][0-9]*z0o[0-7]+z0x[a-fA-F0-9]+stringkeywordsexprz[a-zA-Z_][a-zA-Z_0-9]*z\s+z([']{3}([']{0,2}([^\\']|\\(.|\n)))*[']{3}z'.*?(?rss865    .yyrn