diff options
| author | robot-piglet <[email protected]> | 2026-05-22 23:54:15 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2026-05-23 00:31:16 +0300 |
| commit | 88de1fde2ead7a8a664f403cf8c6a29cc3f718eb (patch) | |
| tree | a06fe19732b21ca5bf728b6e091f06a9aa8a59b0 /contrib/python/Pygments/py3/pygments/lexers | |
| parent | a4934b97e2fbc92ceda3743e051dff0e1d6e2708 (diff) | |
Intermediate changes
commit_hash:a0d2bdedf870db96a3096f257f9ad580475d6d26
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/lexers')
260 files changed, 1264 insertions, 601 deletions
diff --git a/contrib/python/Pygments/py3/pygments/lexers/__init__.py b/contrib/python/Pygments/py3/pygments/lexers/__init__.py index da5100095cd..2a10d7c7862 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/__init__.py +++ b/contrib/python/Pygments/py3/pygments/lexers/__init__.py @@ -4,7 +4,7 @@ Pygments lexers. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_ada_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_ada_builtins.py index a2491fb38ef..bf76c421657 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_ada_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_ada_builtins.py @@ -4,7 +4,7 @@ Ada builtins. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_asy_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_asy_builtins.py index 976e1bc6244..9f9b3a6cdd9 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_asy_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_asy_builtins.py @@ -9,7 +9,7 @@ TODO: perl/python script in Asymptote SVN similar to asy-list.pl but only for function and variable names. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_cl_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_cl_builtins.py index 6e4516d6895..1a8ac20b612 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_cl_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_cl_builtins.py @@ -4,7 +4,7 @@ ANSI Common Lisp builtins. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_cocoa_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_cocoa_builtins.py index ef0a9682fdf..1398d7d3b8b 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_cocoa_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_cocoa_builtins.py @@ -7,7 +7,7 @@ File may be also used as standalone generator for above. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_csound_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_csound_builtins.py index 3431819edce..9f0ea6ae30b 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_csound_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_csound_builtins.py @@ -2,7 +2,7 @@ pygments.lexers._csound_builtins ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_css_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_css_builtins.py index 72953195a37..4e8149347aa 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_css_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_css_builtins.py @@ -4,7 +4,7 @@ This file is autogenerated by scripts/get_css_properties.py - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_googlesql_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_googlesql_builtins.py index 13ef3a2b0c9..250c1a39fe8 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_googlesql_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_googlesql_builtins.py @@ -4,7 +4,7 @@ Autogenerated data files for the GoogleSQL lexer. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_julia_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_julia_builtins.py index 2849afe58b4..cbb83d78c5a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_julia_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_julia_builtins.py @@ -4,7 +4,7 @@ Julia builtins. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_lasso_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_lasso_builtins.py index a559847e361..eb3b7edd0f7 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_lasso_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_lasso_builtins.py @@ -4,7 +4,7 @@ Built-in Lasso types, traits, methods, and members. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_lilypond_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_lilypond_builtins.py index b00dbbfd47d..2d5074ff421 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_lilypond_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_lilypond_builtins.py @@ -4,12 +4,12 @@ LilyPond builtins. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ -# Contents generated by the script lilypond-builtins-generator.ly -# found in the external/ directory of the source tree. +# Contents generated by the script `lilypond-builtins-generator.ly` +# found in the `external/` directory of the source tree. keywords = [ "accepts", @@ -84,7 +84,13 @@ clefs = [ "mensural-c4", "mensural-c5", "mensural-f", + "mensural-f2", + "mensural-f3", + "mensural-f4", + "mensural-f5", "mensural-g", + "mensural-g1", + "mensural-g2", "mezzosoprano", "moderntab", "neomensural-c1", @@ -160,7 +166,6 @@ chord_modifiers = [ ] pitch_language_names = [ - "arabic", "catalan", "català ", "deutsch", @@ -186,12 +191,8 @@ pitches = [ "a-natural", "a-sharp", "a-sharpsharp", - "ab", "acousticbassdrum", "acousticsnare", - "ad", - "adb", - "add", "aeh", "aes", "aeseh", @@ -201,8 +202,6 @@ pitches = [ "aessess", "af", "aff", - "afhb", - "afhd", "agh", "agl", "ah", @@ -220,13 +219,9 @@ pitches = [ "asas", "aseh", "ases", - "ashb", - "ashd", "ass", "asseh", "assess", - "atqb", - "atqd", "atqf", "atqs", "ax", @@ -240,8 +235,6 @@ pitches = [ "bb", "bd", "bda", - "bdb", - "bdd", "beh", "bes", "beseh", @@ -249,8 +242,6 @@ pitches = [ "bess", "bf", "bff", - "bfhb", - "bfhd", "bih", "bis", "bisih", @@ -264,11 +255,7 @@ pitches = [ "bqf", "bqs", "bs", - "bshb", - "bshd", "bss", - "btqb", - "btqd", "btqf", "btqs", "bx", @@ -281,9 +268,6 @@ pitches = [ "cab", "cabasa", "cb", - "cd", - "cdb", - "cdd", "ceh", "ces", "ceseh", @@ -293,8 +277,6 @@ pitches = [ "cessess", "cf", "cff", - "cfhb", - "cfhd", "cgh", "cghm", "cgho", @@ -319,11 +301,7 @@ pitches = [ "crashcymbala", "crashcymbalb", "cs", - "cshb", - "cshd", "css", - "ctqb", - "ctqd", "ctqf", "ctqs", "cuim", @@ -343,10 +321,6 @@ pitches = [ "d-natural", "d-sharp", "d-sharpsharp", - "db", - "dd", - "ddb", - "ddd", "deh", "des", "deseh", @@ -356,8 +330,6 @@ pitches = [ "dessess", "df", "dff", - "dfhb", - "dfhd", "dih", "dis", "disih", @@ -400,11 +372,7 @@ pitches = [ "dqf", "dqs", "ds", - "dshb", - "dshd", "dss", - "dtqb", - "dtqd", "dtqf", "dtqs", "dx", @@ -414,10 +382,6 @@ pitches = [ "e-natural", "e-sharp", "e-sharpsharp", - "eb", - "ed", - "edb", - "edd", "eeh", "ees", "eeseh", @@ -427,8 +391,6 @@ pitches = [ "eessess", "ef", "eff", - "efhb", - "efhd", "eh", "eih", "eis", @@ -443,13 +405,9 @@ pitches = [ "es", "eseh", "eses", - "eshb", - "eshd", "ess", "esseh", "essess", - "etqb", - "etqd", "etqf", "etqs", "ex", @@ -491,10 +449,6 @@ pitches = [ "fatqd", "fatqs", "fax", - "fb", - "fd", - "fdb", - "fdd", "feh", "fes", "feseh", @@ -504,8 +458,6 @@ pitches = [ "fessess", "ff", "fff", - "ffhb", - "ffhd", "fih", "fis", "fisih", @@ -516,11 +468,7 @@ pitches = [ "fqf", "fqs", "fs", - "fshb", - "fshd", "fss", - "ftqb", - "ftqd", "ftqf", "ftqs", "fx", @@ -530,10 +478,6 @@ pitches = [ "g-natural", "g-sharp", "g-sharpsharp", - "gb", - "gd", - "gdb", - "gdd", "geh", "ges", "geseh", @@ -543,8 +487,6 @@ pitches = [ "gessess", "gf", "gff", - "gfhb", - "gfhd", "gih", "gis", "gisih", @@ -555,11 +497,7 @@ pitches = [ "gqf", "gqs", "gs", - "gshb", - "gshd", "gss", - "gtqb", - "gtqd", "gtqf", "gtqs", "gui", @@ -581,6 +519,7 @@ pitches = [ "hhho", "hho", "hhp", + "hhs", "hiagogo", "hibongo", "hiconga", @@ -809,6 +748,7 @@ pitches = [ "soltqs", "solx", "splashcymbal", + "splashhihat", "ss", "ssh", "ssl", @@ -851,12 +791,16 @@ music_functions = [ "alternative", "ambitusAfter", "appendToTag", + "appendToTagMarkup", "applyContext", "applyMusic", "applyOutput", "appoggiatura", "assertBeamQuant", "assertBeamSlope", + "atLeft", + "atRight", + "augmentum", "autoChange", "balloonGrobText", "balloonText", @@ -876,6 +820,7 @@ music_functions = [ "codaMark", "compoundMeter", "compressMMRests", + "contextPropertyCheck", "crossStaff", "cueClef", "cueClefUnset", @@ -904,6 +849,7 @@ music_functions = [ "inStaffSegno", "incipit", "inherit-acceptability", + "initialContextFrom", "instrumentSwitch", "inversion", "invertChords", @@ -915,6 +861,7 @@ music_functions = [ "language", "languageRestore", "languageSaveAndChange", + "ligature", "magnifyMusic", "magnifyStaff", "makeClusters", @@ -923,6 +870,7 @@ music_functions = [ "markupMap", "modalInversion", "modalTranspose", + "musicLength", "musicMap", "noPageBreak", "noPageTurn", @@ -950,6 +898,7 @@ music_functions = [ "pointAndClickOff", "pointAndClickOn", "pointAndClickTypes", + "popContextProperty", "preBend", "preBendHold", "propertyOverride", @@ -957,7 +906,9 @@ music_functions = [ "propertySet", "propertyTweak", "propertyUnset", + "pushContextProperty", "pushToTag", + "pushToTagMarkup", "quoteDuring", "raiseNote", "reduceChords", @@ -965,6 +916,7 @@ music_functions = [ "removeWithTag", "repeat", "resetRelativeOctave", + "responsum", "retrograde", "revert", "revertTimeSignatureSettings", @@ -1006,11 +958,13 @@ music_functions = [ "unfoldRepeats", "unfolded", "unset", + "versus", "voices", "void", "volta", "vshape", "withMusicProperty", + "withRelativeDir", "xNote", ] @@ -1060,8 +1014,11 @@ articulations = [ "]", "^", "accent", + "accentus", "arpeggio", + "bachschleifer", "breakDynamicSpan", + "circulus", "coda", "dashBang", "dashDash", @@ -1085,6 +1042,7 @@ articulations = [ "haydnturn", "henzelongfermata", "henzeshortfermata", + "ictus", "laissezVibrer", "lheel", "lineprall", @@ -1105,6 +1063,7 @@ articulations = [ "rheel", "rtoe", "segno", + "semicirculus", "shortfermata", "signumcongruentiae", "slashturn", @@ -1141,6 +1100,8 @@ articulations = [ ] music_commands = [ + "IIJ", + "IJ", "[", "]", "aikenHeads", @@ -1155,6 +1116,8 @@ music_commands = [ "arpeggioNormal", "arpeggioParenthesis", "arpeggioParenthesisDashed", + "ascendens", + "auctum", "autoBeamOff", "autoBeamOn", "autoBreaksOff", @@ -1173,6 +1136,7 @@ music_commands = [ "break", "cadenzaOff", "cadenzaOn", + "cavum", "compressEmptyMeasures", "crescHairpin", "crescTextCresc", @@ -1180,14 +1144,19 @@ music_commands = [ "deadNotesOn", "defaultNoteHeads", "defaultTimeSignature", + "deminutum", "deprecatedcresc", "deprecateddim", "deprecatedendcresc", "deprecatedenddim", + "descendens", "dimHairpin", "dimTextDecr", "dimTextDecresc", "dimTextDim", + "divisioMaior", + "divisioMaxima", + "divisioMinima", "dotsDown", "dotsNeutral", "dotsUp", @@ -1198,7 +1167,11 @@ music_commands = [ "easyHeadsOn", "endSkipNCs", "expandEmptyMeasures", + "finalis", "fine", + "flagStyleDefault", + "flagStyleStacked", + "flexa", "frenchChords", "funkHeads", "funkHeadsMinor", @@ -1209,12 +1182,16 @@ music_commands = [ "hideStaffSwitch", "huge", "ignatzekExceptionMusic", + "iij", + "ij", "improvisationOff", "improvisationOn", + "inclinatum", "italianChords", "kievanOff", "kievanOn", "large", + "linea", "markLengthOff", "markLengthOn", "medianChordGridStyle", @@ -1229,6 +1206,7 @@ music_commands = [ "normalsize", "numericTimeSignature", "oneVoice", + "oriscus", "palmMuteOff", "partCombineApart", "partCombineAutomatic", @@ -1236,6 +1214,7 @@ music_commands = [ "partCombineSoloI", "partCombineSoloII", "partCombineUnisono", + "pes", "phrasingSlurDashed", "phrasingSlurDotted", "phrasingSlurDown", @@ -1246,11 +1225,14 @@ music_commands = [ "phrasingSlurUp", "predefinedFretboardsOff", "predefinedFretboardsOn", + "quilisma", "romanStringNumbers", "sacredHarpHeads", "sacredHarpHeadsMinor", "section", "semiGermanChords", + "senzaMisuraTimeSignatureOff", + "senzaMisuraTimeSignatureX", "setDefaultDurationToQuarter", "shiftOff", "shiftOn", @@ -1276,6 +1258,7 @@ music_commands = [ "startGraceMusic", "startMeasureCount", "startMeasureSpanner", + "startOptionalMaterial", "startSlashedGraceMusic", "startStaff", "stemDown", @@ -1286,9 +1269,11 @@ music_commands = [ "stopGraceMusic", "stopMeasureCount", "stopMeasureSpanner", + "stopOptionalMaterial", "stopSlashedGraceMusic", "stopStaff", "stopStaffHighlight", + "stropha", "tabFullNotation", "teeny", "textLengthOff", @@ -1309,6 +1294,8 @@ music_commands = [ "tupletNeutral", "tupletUp", "unHideNotes", + "virga", + "virgula", "voiceFour", "voiceFourStyle", "voiceNeutralStyle", @@ -1328,11 +1315,16 @@ music_commands = [ markup_commands = [ "abs-fontsize", + "abs-hspace", + "abs-vspace", "accidental", "align-on-other", + "annotate-moving", + "append-to-tag", "arrow-head", "auto-footnote", "backslashed-digit", + "bar-line", "beam", "bold", "box", @@ -1389,12 +1381,14 @@ markup_commands = [ "hspace", "huge", "if", + "image", "italic", "justified-lines", "justify", "justify-field", "justify-line", "justify-string", + "keep-with-tag", "large", "larger", "left-align", @@ -1409,13 +1403,13 @@ markup_commands = [ "markletter", "markup", "markuplist", - "medium", "multi-measure-rest-by-number", "musicglyph", "natural", "normal-size-sub", "normal-size-super", "normal-text", + "normal-weight", "normalsize", "note", "note-by-number", @@ -1439,8 +1433,11 @@ markup_commands = [ "polygon", "postscript", "property-recursive", + "push-to-tag", "put-adjacent", + "qr-code", "raise", + "remove-with-tag", "replace", "rest", "rest-by-number", @@ -1448,7 +1445,6 @@ markup_commands = [ "right-align", "right-brace", "right-column", - "roman", "rotate", "rounded-box", "sans", @@ -1458,6 +1454,7 @@ markup_commands = [ "segno", "semiflat", "semisharp", + "serif", "sesquiflat", "sesquisharp", "sharp", @@ -1477,8 +1474,15 @@ markup_commands = [ "super", "table", "table-of-contents", + "tag", + "tag-list", "teeny", - "text", + "text-accidental", + "text-doubleflat", + "text-doublesharp", + "text-flat", + "text-natural", + "text-sharp", "tie", "tied-lyric", "tiny", @@ -1494,6 +1498,7 @@ markup_commands = [ "varcoda", "vcenter", "verbatim-file", + "volta-number", "vspace", "whiteout", "with-color", @@ -1614,6 +1619,7 @@ grobs = [ "NoteHead", "NoteName", "NoteSpacing", + "OptionalMaterialBracket", "OttavaBracket", "PaperColumn", "Parentheses", @@ -1700,6 +1706,7 @@ contexts = [ "GregorianTranscriptionStaff", "GregorianTranscriptionVoice", "InternalGregorianStaff", + "InternalMensuralStaff", "KievanStaff", "KievanVoice", "Lyrics", @@ -1722,6 +1729,7 @@ contexts = [ "TabVoice", "Timing", "VaticanaLyrics", + "VaticanaScore", "VaticanaStaff", "VaticanaVoice", "Voice", @@ -1792,6 +1800,7 @@ translators = [ "Grid_point_engraver", "Grob_pq_engraver", "Horizontal_bracket_engraver", + "Horizontal_script_engraver", "Hyphen_engraver", "Instrument_name_engraver", "Instrument_switch_engraver", @@ -1826,6 +1835,7 @@ translators = [ "Note_name_engraver", "Note_performer", "Note_spacing_engraver", + "Optional_material_bracket_engraver", "Ottava_spanner_engraver", "Output_property_engraver", "Page_turn_engraver", @@ -1896,6 +1906,7 @@ scheme_functions = [ "*parser*", "Alteration_glyph_engraver", "Beat_performer", + "Bend_engraver", "Bend_spanner_engraver", "Breathing_sign_engraver", "Centered_bar_number_align_engraver", @@ -1907,21 +1918,27 @@ scheme_functions = [ "Finger_glide_engraver", "G_", "Grid_chord_name_engraver", + "Horizontal_script_engraver", "Lyric_repeat_count_engraver", "Measure_counter_engraver", + "Measure_grouping_engraver", "Measure_spanner_engraver", "Merge_mmrest_numbers_engraver", "Merge_rests_engraver", + "Optional_material_bracket_engraver", "Show_control_points_engraver", "Signum_repetitionis_engraver", "Skip_typesetting_engraver", "Span_stem_engraver", "Spanner_tracking_engraver", "Staff_highlight_engraver", + "Tab_tie_follow_engraver", "Text_mark_engraver", "Trill_spanner_engraver", "_i", "abs-fontsize-markup", + "abs-hspace-markup", + "abs-vspace-markup", "accidental->markup", "accidental->markup-italian", "accidental-interface::calc-alteration", @@ -1929,12 +1946,9 @@ scheme_functions = [ "accidental-invalid?", "accidental-markup", "add-bar-glyph-print-procedure", - "add-font", "add-grace-property", "add-music", - "add-music-fonts", "add-new-clef", - "add-pango-fonts", "add-point", "add-quotable", "add-score", @@ -1946,6 +1960,7 @@ scheme_functions = [ "align-on-other-markup", "aligned-text-stencil-function", "alist->hash-table", + "alist-keys", "alist<?", "alist?", "all-bar-numbers-visible", @@ -1960,15 +1975,20 @@ scheme_functions = [ "ancestor-lookup-initialize", "angle-0-2pi", "angle-0-360", + "annotate-moving-markup", "annotate-spacing-spec", "annotate-y-interval", "any-mmrest-events", + "append-to-tag-markup", "apply-durations", "apply-group-draw-rule-series", + "apply-tag-operating-markup", + "array-copy/subarray!", "arrow-head-markup", "arrow-stencil", "arrow-stencil-maker", "assemble-stencils", + "assert", "assoc-get", "assoc-keys", "assoc-values", @@ -1978,6 +1998,7 @@ scheme_functions = [ "average", "b", "backslashed-digit-markup", + "bar-line-markup", "bar-line::bar-y-extent", "bar-line::calc-blot", "bar-line::calc-break-visibility", @@ -1986,7 +2007,6 @@ scheme_functions = [ "bar-line::compound-bar-line", "bar-line::draw-filled-box", "bar-line::widen-bar-extent-on-span", - "base-length", "bass-clarinet-rh-ees-key-stencil", "bassoon-bend-info-maker", "bassoon-cc-six-key-stencil", @@ -2018,11 +2038,13 @@ scheme_functions = [ "beam-exceptions", "beam-markup", "beam::align-with-broken-parts", + "beam::calc-right-extreme-vertical-count", "beam::get-kievan-positions", "beam::get-kievan-quantized-positions", "beam::place-broken-parts-individually", + "beam::slashed-stencil", "beam::slope-like-broken-parts", - "beat-grouping-internal", + "beat-base", "beat-structure", "bend-spanner::print", "bend::arrow-head-stencil", @@ -2038,9 +2060,13 @@ scheme_functions = [ "bend::text-string", "bezier-head-for-stencil", "binary-search", + "bit-list->byte-list", + "bit-list->int", "bold-markup", "book-first-page", + "boolean-or-fraction?", "boolean-or-number?", + "boolean-or-symbol-or-symbol-list?", "boolean-or-symbol?", "bounding-note-heads-pitches", "box-grob-stencil", @@ -2053,20 +2079,23 @@ scheme_functions = [ "break-alignment-list", "breathe::midi-length", "buildflag", + "byte-list->bit-list", "cached-file-contents", "caesura-script-interface::before-line-breaking", "caesura-to-bar-line-or-divisio", "caesura-to-divisio", "calc-harmonic-pitch", "calc-line-thickness", + "calc-measure-length", + "calc-pattern-element", "calc-repeat-slash-count", - "calculate-complex-compound-time", - "calculate-compound-base-beat", - "calculate-compound-base-beat-full", + "calculate-compound-beat-base", + "calculate-compound-beat-base-as-moment", "calculate-compound-beat-grouping", "calculate-compound-measure-length", - "calculate-time-fraction", + "calculate-compound-measure-length-as-moment", "call-after-session", + "call-with-output-bytevector", "caps-markup", "car-or-identity", "car<", @@ -2077,6 +2106,7 @@ scheme_functions = [ "centered-spanner-interface::calc-x-offset", "centered-stencil", "chain-assoc-get", + "change-el->music", "change-pitches", "char-markup", "cheap-list?", @@ -2123,12 +2153,14 @@ scheme_functions = [ "clarinet-rh-one-key-stencil", "clarinet-rh-three-key-stencil", "clarinet-rh-two-key-stencil", + "clef-modifier::print", "clef-transposition-markup", "clef::print-modern-tab-if-set", "clip-systems-to-region-stencils", "clipped-systems-stencils", "close-enough?", "close-port-rename", + "closest-staff-line", "coda-markup", "collect-book-music-for-book", "collect-bookpart-for-book", @@ -2140,6 +2172,7 @@ scheme_functions = [ "column-lines-markup-list", "column-markup", "combine-markup", + "combine-tag-markup-additions", "comparable-note-events", "comparator-from-key", "compile-all-markup-args", @@ -2180,6 +2213,7 @@ scheme_functions = [ "cue-substitute", "current-or-previous-voice-states", "customTabClef-markup", + "custos::print", "cyclic-base-value", "debugf", "def-grace-function", @@ -2187,6 +2221,8 @@ scheme_functions = [ "default-flag", "default-paren-color", "define-bar-line", + "define-color", + "define-deprecated-property", "define-event-class", "define-event-function", "define-fonts", @@ -2206,6 +2242,10 @@ scheme_functions = [ "define-void-function", "degree-first-true", "degrees->radians", + "deprecated-getter-object-property", + "deprecated-setter-object-property", + "deprecated-translation-getter-description", + "deprecated-translation-setter-description", "descend-to-context", "determine-frets", "determine-split-list", @@ -2214,6 +2254,7 @@ scheme_functions = [ "dimension-arrows", "dir-basename", "dir-column-markup", + "direction-scaled", "display-lily-music", "display-music", "display-scheme-music", @@ -2238,7 +2279,6 @@ scheme_functions = [ "dump-zombies", "duration", "duration-dot-factor", - "duration-length", "duration-line::calc", "duration-line::calc-thickness", "duration-line::print", @@ -2253,8 +2293,8 @@ scheme_functions = [ "ellipse-markup", "ellipse-radius", "ellipse-stencil", - "empty-music", "end-broken-spanner?", + "ensure-list", "entry-greater-than-x?", "eps-file->stencil", "epsfile-markup", @@ -2280,7 +2320,9 @@ scheme_functions = [ "extract-typed-music", "eyeglasses-markup", "fermata-markup", + "figured-bass-continuation::print", "figured-bass-markup", + "fill-integer-interval", "fill-line-markup", "fill-with-pattern-markup", "filled-box-markup", @@ -2288,6 +2330,7 @@ scheme_functions = [ "find-pitch-entry", "find-value-to-offset", "finger-glide::print", + "finger-key-glide", "finger-markup", "fingering::calc-text", "first-assoc", @@ -2300,6 +2343,7 @@ scheme_functions = [ "flared-hairpin", "flat-flag", "flat-markup", + "flat-zip-longest", "flatten-alist", "flatten-list", "flip-stencil", @@ -2316,11 +2360,9 @@ scheme_functions = [ "flute-rh-ees-key-stencil", "flute-rh-gz-key-stencil", "fold-some-music", - "font-children", - "font-default", + "fold-values", "font-name-split", "font-name-style", - "font-qualifier", "fontCaps-markup", "fontsize-markup", "footnote-markup", @@ -2329,7 +2371,6 @@ scheme_functions = [ "format", "format-bass-figure", "format-coda-mark", - "format-compound-time", "format-dal-segno-text", "format-dal-segno-text-brief", "format-mark-alphabet", @@ -2349,10 +2390,6 @@ scheme_functions = [ "format-segno-mark", "format-segno-mark-considering-bar-lines", "format-sign-with-number", - "format-time-element", - "format-time-fraction", - "format-time-list", - "format-time-numerator", "format-varcoda-mark", "fraction->moment", "fraction-markup", @@ -2372,7 +2409,6 @@ scheme_functions = [ "fromproperty-markup", "function-chain", "g", - "g-lookup-font", "general-align-markup", "general-column", "generate-bassoon-family-entry", @@ -2388,7 +2424,7 @@ scheme_functions = [ "get-chord-shape", "get-current-filename", "get-current-suffix", - "get-fill-space", + "get-fill-spaces", "get-key", "get-named-spreadsheet-column", "get-next-unique-voice-name", @@ -2420,6 +2456,7 @@ scheme_functions = [ "grob::all-objects", "grob::calc-property-by-copy", "grob::compose-function", + "grob::directional-value", "grob::display-objects", "grob::has-interface", "grob::inherit-parent-property", @@ -2427,6 +2464,7 @@ scheme_functions = [ "grob::name", "grob::objects-from-interface", "grob::offset-function", + "grob::relay-directional-property", "grob::relay-other-property", "grob::rhythmic-location", "grob::show-skylines-if-debug-skylines-set", @@ -2435,8 +2473,10 @@ scheme_functions = [ "group-automate-rule", "group-draw-rule", "group-extra-offset-rule", + "group-into-ranges", "gs-cmd-args", "gs-safe-run", + "gulp-file-with-encoding", "hairpin::calc-grow-direction", "halign-markup", "harp-pedal-check", @@ -2451,15 +2491,21 @@ scheme_functions = [ "header-to-file", "headers-property-alist-chain", "hook-stencil", + "horizontal-bracket::calc-break-overshoot", + "horizontal-script::calc-staff-position", + "horizontal-script::extra-spacing-height", "horizontal-slash-interval", "hspace-markup", "huge-markup", "if-markup", "ignatzek-chord-names", + "image-markup", "index-cell", + "index-map", "index-or-markup?", "index?", "insert-markups", + "int->bit-list", "internal-set-paper-size", "interpret-markup", "interpret-markup-list", @@ -2488,6 +2534,7 @@ scheme_functions = [ "justify-line-markup", "justify-markup", "justify-string-markup", + "keep-with-tag-markup", "key-crawler", "key-entry-alteration", "key-entry-bar-number", @@ -2504,12 +2551,15 @@ scheme_functions = [ "keyword->make-markup", "large-markup", "larger-markup", + "last-or-identity", "layout-blot-diameter", "layout-extract-page-properties", "layout-line-thickness", "layout-set-absolute-staff-size", "layout-set-absolute-staff-size-in-module", "layout-set-staff-size", + "ledger-lines::positions-from-ledgered-grob", + "left-align-at-split-notes", "left-align-markup", "left-brace-markup", "left-column-markup", @@ -2526,10 +2576,12 @@ scheme_functions = [ "list-element-index", "list-insert-separator", "list-join", + "list-map", + "list-pad-left", + "list-pad-right", "listener->once-listener", "little-elliptical-key-stencil", "long-midline-stencil", - "lookup-font", "lookup-markup", "lookup-markup-command", "lookup-markup-command-aux", @@ -2557,6 +2609,7 @@ scheme_functions = [ "ly:all-stencil-expressions", "ly:alternative-sequence-iterator::constructor", "ly:angle", + "ly:append-to-option", "ly:apply-context-iterator::constructor", "ly:arpeggio::brew-chord-bracket", "ly:arpeggio::brew-chord-slur", @@ -2583,15 +2636,17 @@ scheme_functions = [ "ly:balloon-interface::pure-height", "ly:balloon-interface::remove-irrelevant-spanner", "ly:balloon-interface::width", - "ly:bar-check-iterator::constructor", "ly:bar-line::calc-anchor", "ly:bar-line::calc-bar-extent", + "ly:bar-line::calc-short-bar-extent", "ly:bar-line::print", + "ly:base64-encode", "ly:basic-progress", "ly:beam::calc-beam-segments", "ly:beam::calc-beaming", "ly:beam::calc-cross-staff", "ly:beam::calc-direction", + "ly:beam::calc-knee", "ly:beam::calc-normal-stems", "ly:beam::calc-stem-shorten", "ly:beam::calc-x-positions", @@ -2600,6 +2655,7 @@ scheme_functions = [ "ly:beam::quanting", "ly:beam::rest-collision-callback", "ly:beam::set-stem-lengths", + "ly:beam::tremolo-springs-and-rods", "ly:bezier-extent", "ly:bezier-extract", "ly:book-add-bookpart!", @@ -2648,6 +2704,7 @@ scheme_functions = [ "ly:command-line-code", "ly:command-line-options", "ly:connect-dispatchers", + "ly:context-children", "ly:context-current-moment", "ly:context-def-lookup", "ly:context-def-modify", @@ -2664,8 +2721,13 @@ scheme_functions = [ "ly:context-output-def", "ly:context-parent", "ly:context-property", + "ly:context-property-pop", + "ly:context-property-push", + "ly:context-property-stack-pop", + "ly:context-property-stack-push", "ly:context-property-where-defined", "ly:context-pushpop-property", + "ly:context-schedule-moment", "ly:context-set-property!", "ly:context-specced-music-iterator::constructor", "ly:context-unset-property", @@ -2680,11 +2742,12 @@ scheme_functions = [ "ly:dispatcher?", "ly:dot-column::calc-positioning-done", "ly:dots::print", + "ly:duration->moment", + "ly:duration->number", "ly:duration->string", "ly:duration-compress", "ly:duration-dot-count", "ly:duration-factor", - "ly:duration-length", "ly:duration-log", "ly:duration-scale", "ly:duration::less?", @@ -2702,6 +2765,7 @@ scheme_functions = [ "ly:event-chord-iterator::constructor", "ly:event-deep-copy", "ly:event-iterator::constructor", + "ly:event-length", "ly:event-property", "ly:event-set-property!", "ly:event-warning", @@ -2710,7 +2774,6 @@ scheme_functions = [ "ly:expect-warning", "ly:extract-subfont-from-collection", "ly:figured-bass-continuation::center-on-figures", - "ly:figured-bass-continuation::print", "ly:find-file", "ly:fine-iterator::constructor", "ly:fingering-column::calc-positioning-done", @@ -2727,13 +2790,11 @@ scheme_functions = [ "ly:font-design-size", "ly:font-file-name", "ly:font-get-glyph", - "ly:font-glyph-name-to-charcode", "ly:font-glyph-name-to-index", "ly:font-index-to-charcode", "ly:font-magnification", "ly:font-metric?", "ly:font-name", - "ly:font-sub-fonts", "ly:format", "ly:format-output", "ly:generic-bound-extent", @@ -2772,6 +2833,7 @@ scheme_functions = [ "ly:grob-property-data", "ly:grob-pure-height", "ly:grob-pure-property", + "ly:grob-pure-relative-coordinate", "ly:grob-relative-coordinate", "ly:grob-robust-relative-extent", "ly:grob-script-priority-less", @@ -2823,6 +2885,7 @@ scheme_functions = [ "ly:horizontal-line-spanner::calc-right-bound-info", "ly:in-event-class?", "ly:inch", + "ly:initial-context-music-iterator::constructor", "ly:input-both-locations", "ly:input-file-line-char-column", "ly:input-location?", @@ -2874,10 +2937,11 @@ scheme_functions = [ "ly:make-output-def", "ly:make-page-label-marker", "ly:make-page-permission-marker", - "ly:make-pango-description-string", "ly:make-paper-outputter", "ly:make-pitch", "ly:make-prob", + "ly:make-rand-seed", + "ly:make-regex", "ly:make-rotation", "ly:make-scale", "ly:make-scaling", @@ -2886,11 +2950,11 @@ scheme_functions = [ "ly:make-spring", "ly:make-stencil", "ly:make-stream-event", + "ly:make-tmpfile-name", "ly:make-transform", "ly:make-translation", "ly:make-unpure-pure-container", "ly:measure-grouping::print", - "ly:measure-spanner::calc-connect-to-neighbors", "ly:measure-spanner::print", "ly:melody-spanner::calc-neutral-stem-direction", "ly:mensural-ligature::brew-ligature-primitive", @@ -2961,6 +3025,8 @@ scheme_functions = [ "ly:note-head::print", "ly:note-head::stem-attachment", "ly:note-head::stem-x-shift", + "ly:note-scale?", + "ly:number->duration", "ly:number->string", "ly:number-pair->string", "ly:one-line-auto-height-breaking", @@ -2982,6 +3048,7 @@ scheme_functions = [ "ly:output-def-set-variable!", "ly:output-def?", "ly:output-description", + "ly:output-file-name-for-input-file-name", "ly:output-find-context-def", "ly:outputter-close", "ly:outputter-dump-stencil", @@ -3006,12 +3073,12 @@ scheme_functions = [ "ly:paper-get-number", "ly:paper-outputscale", "ly:paper-score-paper-systems", - "ly:paper-system-minimum-distance", "ly:paper-system?", "ly:parse-file", "ly:parse-init", "ly:parse-string-expression", "ly:parsed-undead-list!", + "ly:parser-append-to-include-path", "ly:parser-clear-error", "ly:parser-clone", "ly:parser-define!", @@ -3023,8 +3090,6 @@ scheme_functions = [ "ly:parser-parse-string", "ly:parser-set-note-names", "ly:part-combine-iterator::constructor", - "ly:partial-iterator::constructor", - "ly:partial-iterator::finalization", "ly:percent-repeat-interface::beat-slash", "ly:percent-repeat-interface::double-percent", "ly:percent-repeat-interface::percent", @@ -3043,9 +3108,10 @@ scheme_functions = [ "ly:pitch-steps", "ly:pitch-tones", "ly:pitch-transpose", - "ly:pitch::less?", "ly:pitch<?", "ly:pitch?", + "ly:png->eps-dump", + "ly:png-dimensions", "ly:pointer-group-interface::add-grob", "ly:pop-property-iterator::constructor", "ly:position-on-line?", @@ -3066,7 +3132,17 @@ scheme_functions = [ "ly:pure-from-neighbor-interface::calc-pure-relevant-grobs", "ly:push-property-iterator::constructor", "ly:quote-iterator::constructor", - "ly:randomize-rand-seed", + "ly:regex-exec", + "ly:regex-exec->list", + "ly:regex-match-positions", + "ly:regex-match-prefix", + "ly:regex-match-substring", + "ly:regex-match-suffix", + "ly:regex-match?", + "ly:regex-quote", + "ly:regex-replace", + "ly:regex-split", + "ly:regex?", "ly:register-stencil-expression", "ly:register-translator", "ly:relative-group-extent", @@ -3075,6 +3151,7 @@ scheme_functions = [ "ly:relative-octave-music::relative-callback", "ly:rename-file", "ly:reset-all-fonts", + "ly:reset-options", "ly:rest-collision::calc-positioning-done", "ly:rest-collision::force-shift-callback-rest", "ly:rest::calc-cross-staff", @@ -3113,7 +3190,6 @@ scheme_functions = [ "ly:semi-tie::calc-control-points", "ly:separation-item::calc-skylines", "ly:sequential-iterator::constructor", - "ly:set-color-names", "ly:set-default-scale", "ly:set-grob-creation-callback", "ly:set-grob-modification-callback", @@ -3121,6 +3197,7 @@ scheme_functions = [ "ly:set-option", "ly:set-origin!", "ly:set-property-cache-callback", + "ly:set-rand-seed", "ly:side-position-interface::calc-cross-staff", "ly:side-position-interface::move-to-extremal-staff", "ly:side-position-interface::pure-y-aligned-side", @@ -3164,8 +3241,10 @@ scheme_functions = [ "ly:span-bar::width", "ly:spanner-bound", "ly:spanner-broken-into", + "ly:spanner-broken-neighbor", "ly:spanner-set-bound!", "ly:spanner::bounds-width", + "ly:spanner::calc-connect-to-neighbors", "ly:spanner::calc-normalized-endpoints", "ly:spanner::kill-zero-spanned-time", "ly:spanner::set-spacing-rods", @@ -3178,6 +3257,7 @@ scheme_functions = [ "ly:staff-symbol-referencer::callback", "ly:staff-symbol-staff-radius", "ly:staff-symbol-staff-space", + "ly:staff-symbol::calc-line-positions", "ly:staff-symbol::height", "ly:staff-symbol::print", "ly:stderr-redirect", @@ -3239,8 +3319,8 @@ scheme_functions = [ "ly:system::get-vertical-alignment", "ly:system::height", "ly:system::vertical-skyline-elements", + "ly:text-interface::grob-interpret-markup", "ly:text-interface::interpret-markup", - "ly:text-interface::interpret-string", "ly:text-interface::print", "ly:tie-column::before-line-breaking", "ly:tie-column::calc-positioning-done", @@ -3248,6 +3328,11 @@ scheme_functions = [ "ly:tie::calc-direction", "ly:tie::print", "ly:time-signature::print", + "ly:time-signature::print-x", + "ly:time-tracer-include-and-remove-file", + "ly:time-tracer-restart", + "ly:time-tracer-set-file", + "ly:time-tracer-stop", "ly:transform->list", "ly:transform?", "ly:translate-cpp-warning-scheme", @@ -3259,19 +3344,18 @@ scheme_functions = [ "ly:transpose-key-alist", "ly:ttf->pfa", "ly:ttf-ps-name", - "ly:tuplet-bracket::calc-connect-to-neighbors", + "ly:tuplet-bracket::calc-beam", "ly:tuplet-bracket::calc-cross-staff", "ly:tuplet-bracket::calc-direction", "ly:tuplet-bracket::calc-positions", + "ly:tuplet-bracket::calc-potential-beam", "ly:tuplet-bracket::calc-x-positions", "ly:tuplet-bracket::print", + "ly:tuplet-description?", "ly:tuplet-iterator::constructor", - "ly:tuplet-number::calc-cross-staff", "ly:tuplet-number::calc-x-offset", "ly:tuplet-number::calc-y-offset", "ly:tuplet-number::print", - "ly:type1->pfa", - "ly:unit", "ly:unpure-call", "ly:unpure-pure-container-pure-part", "ly:unpure-pure-container-unpure-part", @@ -3298,16 +3382,21 @@ scheme_functions = [ "magstep", "maj7-modifier", "make-abs-fontsize-markup", + "make-abs-hspace-markup", + "make-abs-vspace-markup", "make-accidental-dodecaphonic-rule", "make-accidental-markup", "make-accidental-rule", "make-align-on-other-markup", + "make-annotate-moving-markup", + "make-append-to-tag-markup", "make-apply-context", "make-arrow-head-markup", "make-articulation", "make-auto-footnote-markup", "make-autochange-music", "make-backslashed-digit-markup", + "make-bar-line-markup", "make-beam-markup", "make-bezier-sandwich-stencil", "make-bold-markup", @@ -3340,7 +3429,6 @@ scheme_functions = [ "make-cue-clef-unset", "make-customTabClef-markup", "make-dashed-bar-line", - "make-default-fonts-tree", "make-dir-column-markup", "make-dotted-bar-line", "make-doubleflat-markup", @@ -3370,8 +3458,6 @@ scheme_functions = [ "make-finger-markup", "make-first-visible-markup", "make-flat-markup", - "make-font-tree-leaf", - "make-font-tree-node", "make-fontCaps-markup", "make-fontsize-markup", "make-footnote-markup", @@ -3396,12 +3482,15 @@ scheme_functions = [ "make-hspace-markup", "make-huge-markup", "make-if-markup", + "make-image-markup", + "make-initial-context-music", "make-italic-markup", "make-justified-lines-markup-list", "make-justify-field-markup", "make-justify-line-markup", "make-justify-markup", "make-justify-string-markup", + "make-keep-with-tag-markup", "make-key-alist", "make-key-symbols", "make-kievan-bar-line", @@ -3422,7 +3511,6 @@ scheme_functions = [ "make-markalphabet-markup", "make-markletter-markup", "make-markup", - "make-medium-markup", "make-modal-inverter", "make-modal-transposer", "make-multi-measure-rest", @@ -3437,6 +3525,7 @@ scheme_functions = [ "make-normal-size-sub-markup", "make-normal-size-super-markup", "make-normal-text-markup", + "make-normal-weight-markup", "make-normalsize-markup", "make-note-by-number-markup", "make-note-markup", @@ -3454,14 +3543,15 @@ scheme_functions = [ "make-pad-markup-markup", "make-pad-to-box-markup", "make-pad-x-markup", + "make-padding", "make-page-link-markup", "make-page-ref-markup", - "make-pango-font-tree", "make-parenthesis-stencil", "make-parenthesize-markup", "make-part-combine-context-changes", "make-part-combine-marks", "make-partial-ellipse-stencil", + "make-partial-set", "make-path-markup", "make-path-stencil", "make-pattern-markup", @@ -3472,10 +3562,13 @@ scheme_functions = [ "make-property-recursive-markup", "make-property-set", "make-property-unset", + "make-push-to-tag-markup", "make-put-adjacent-markup", + "make-qr-code-markup", "make-raise-markup", "make-relative", "make-relative::to-relative-callback", + "make-remove-with-tag-markup", "make-repeat", "make-replace-markup", "make-rest-by-number-markup", @@ -3486,7 +3579,6 @@ scheme_functions = [ "make-right-brace-markup", "make-right-column-markup", "make-right-hand-key-addresses", - "make-roman-markup", "make-rotate-markup", "make-rounded-box-markup", "make-sans-markup", @@ -3500,6 +3592,7 @@ scheme_functions = [ "make-semisharp-markup", "make-semitone->pitch", "make-sequential-music", + "make-serif-markup", "make-sesquiflat-markup", "make-sesquisharp-markup", "make-session-variable", @@ -3531,8 +3624,15 @@ scheme_functions = [ "make-symbol-alist", "make-tab-heads-transparent", "make-table-markup-list", + "make-tag-list-markup-list", + "make-tag-markup", "make-teeny-markup", - "make-text-markup", + "make-text-accidental-markup", + "make-text-doubleflat-markup", + "make-text-doublesharp-markup", + "make-text-flat-markup", + "make-text-natural-markup", + "make-text-sharp-markup", "make-thick-bar-line", "make-tick-bar-line", "make-tie-markup", @@ -3565,6 +3665,7 @@ scheme_functions = [ "make-voice-props-revert", "make-voice-props-set", "make-voice-states", + "make-volta-number-markup", "make-volta-set", "make-vspace-markup", "make-whiteout-markup", @@ -3586,8 +3687,6 @@ scheme_functions = [ "make-wordwrap-markup", "make-wordwrap-string-internal-markup-list", "make-wordwrap-string-markup", - "map-alist-keys", - "map-alist-vals", "map-markup-commands-markup-list", "map-selected-alist-keys", "map-some-music", @@ -3606,6 +3705,7 @@ scheme_functions = [ "markup-expression->make-markup", "markup-function-as-string-method", "markup-function-category", + "markup-function-internal?", "markup-function-properties", "markup-function?", "markup-join", @@ -3619,14 +3719,15 @@ scheme_functions = [ "markup-typecheck?", "markup?", "match-predicate", + "matrix-rotate-counterclockwise", "measure-counter::text", - "medium-markup", "mensural-flag", "merge-details", "metronome-markup", "middle-broken-spanner?", "midi-program", "midline-stencil", + "minmax/cmp", "minor-modifier", "mkdir-if-not-exist", "mm-rest-child-list", @@ -3655,6 +3756,10 @@ scheme_functions = [ "music-selective-map", "music-separator?", "music-type-predicate", + "musical-length->number", + "musical-length-as-moment?", + "musical-length-as-number?", + "musical-length?", "musicglyph-markup", "n-true-entries", "narrow-glyph?", @@ -3663,11 +3768,13 @@ scheme_functions = [ "negate-extent", "neo-modern-accidental-rule", "no-flag", + "non-negative-number?", "normal-flag", "normal-size-sub-markup", "normal-size-super-markup", "normal-text-markup", - "normalize-fraction", + "normal-weight-markup", + "normalize-color", "normalsize-markup", "not-first-broken-spanner?", "not-last-broken-spanner?", @@ -3686,12 +3793,13 @@ scheme_functions = [ "note-to-cluster", "notes-to-clusters", "null-markup", - "number->octal-string", "number-column-stencil", "number-format", "number-list?", "number-markup", + "number-or-false?", "number-or-grob?", + "number-or-number-pair?", "number-or-pair?", "number-or-string?", "number-pair-list?", @@ -3733,6 +3841,7 @@ scheme_functions = [ "old-straight-flag", "on-the-fly-markup", "only-if-beamed", + "optional-material-bracket::positions", "ordered-cons", "other-axis", "output-module?", @@ -3759,16 +3868,18 @@ scheme_functions = [ "pango-pf-font-name", "pango-pf-fontindex", "paper-variable", - "parentheses-interface::calc-angled-bracket-stencils", + "parentheses-interface::calc-Y-extent", + "parentheses-interface::calc-Y-offset", "parentheses-interface::calc-parenthesis-stencils", + "parentheses-interface::calc-pure-Y-offset", + "parentheses-interface::maybe-pure-Y-offset", "parentheses-interface::print", - "parentheses-interface::y-extent", - "parenthesize-elements", "parenthesize-markup", "parenthesize-stencil", "parse-and-check-version", "parse-lily-version", "parse-terse-string", + "passage-delimiter::break-visibility", "path-markup", "pattern-markup", "percussion?", @@ -3781,6 +3892,14 @@ scheme_functions = [ "polar->rectangular", "polygon-markup", "position-true-endpoint", + "positive-exact-integer?", + "positive-exact-rational?", + "positive-fraction?", + "positive-integer-or-false?", + "positive-musical-length-as-moment?", + "positive-musical-length-as-number?", + "positive-musical-length?", + "positive-number?", "postprocess-output", "postscript->pdf", "postscript->png", @@ -3800,13 +3919,18 @@ scheme_functions = [ "print-keys-verbose", "process-fill-value", "property-recursive-markup", + "props-with-tag-additions", + "props-with-tags-to-keep", + "props-with-tags-to-remove", "pure-chain-offset-callback", "pure-from-neighbor-interface::account-for-span-bar", "pure-from-neighbor-interface::extra-spacing-height", "pure-from-neighbor-interface::extra-spacing-height-at-beginning-of-line", "pure-from-neighbor-interface::extra-spacing-height-including-staff", "pure-from-neighbor-interface::pure-height", + "push-to-tag-markup", "put-adjacent-markup", + "qr-code-markup", "quarterdiff->string", "quote-substitute", "raise-markup", @@ -3819,17 +3943,15 @@ scheme_functions = [ "recent-enough?", "recompute-music-length", "recording-group-emulate", - "regexp-split", "relevant-book-systems", "relevant-dump-systems", "remove-grace-property", "remove-step", "remove-whitespace", - "repeat-tie::handle-tab-note-head", + "remove-with-tag-markup", "replace-markup", "replace-step", "replicate-modify", - "reset-stencil-colors", "rest-by-number-markup", "rest-markup", "retrieve-glyph-flag", @@ -3865,10 +3987,11 @@ scheme_functions = [ "right-column-markup", "ring-column-circle-stencil", "robust-bar-number-function", - "roman-markup", "rotate-markup", "rounded-box-markup", "rounded-box-stencil", + "sane-simple-time-signature?", + "sane-time-signature?", "sans-markup", "sans-serif-stencil", "saxophone-lh-T-key-stencil", @@ -3907,8 +4030,11 @@ scheme_functions = [ "scorify-music", "script-interface::calc-x-offset", "script-or-side-position-cross-staff", + "script::ledger-lines", "search-executable", "seconds->moment", + "segment->music", + "segment-el->music", "segno-markup", "select-head-glyph", "select-option", @@ -3918,6 +4044,7 @@ scheme_functions = [ "semiflat-markup", "semisharp-markup", "sequential-music-to-chord-exceptions", + "serif-markup", "sesquiflat-markup", "sesquisharp-markup", "session-replay", @@ -3928,7 +4055,6 @@ scheme_functions = [ "set-bar-number-visibility", "set-counter-text!", "set-default-paper-size", - "set-global-fonts", "set-global-staff-size", "set-mus-properties!", "set-output-property", @@ -3945,6 +4071,7 @@ scheme_functions = [ "sign", "silence-events", "simple-markup", + "simple-split->state", "simple-stencil-alist", "skip->rest", "skip-as-needed", @@ -3964,25 +4091,28 @@ scheme_functions = [ "split-at-predicate", "split-index", "split-list", + "split-list-by-group-lengths", "split-list-by-separator", + "splits-to-states-using", "stack-lines", "stack-stencil-line", "stack-stencils", "stack-stencils-padding-list", "stack-thirds", - "staff-ellipsis::calc-y-extent", "staff-ellipsis::print", + "staff-ellipsis::pure-height", "staff-highlight::height", "staff-highlight::print", "staff-highlight::width", "staff-magnification-is-changing?", "staff-symbol-line-count", - "staff-symbol-line-positions", "staff-symbol-line-span", - "staff-symbol-y-extent-from-line-positions", "staff-symbol::calc-widened-extent", "standard-e-stencil", "standard-path-stencil", + "state+moment", + "states-to-change-list", + "states-to-segments", "stderr", "stem-connectable?", "stem-is-root?", @@ -3997,6 +4127,7 @@ scheme_functions = [ "stencil-fretboard-extent", "stencil-fretboard-offset", "stencil-markup", + "stencil-pad-around", "stencil-true-extent", "stencil-whiteout", "stencil-whiteout-box", @@ -4012,7 +4143,6 @@ scheme_functions = [ "string-or-music?", "string-or-pair?", "string-or-symbol?", - "string-regexp-substitute", "string-startswith", "string-thickness", "strip-string-annotation", @@ -4036,10 +4166,12 @@ scheme_functions = [ "symlink-or-copy-if-not-exist", "symmetric-interval", "synced?", + "syntax-function-procedure-arguments", "system-start-text::calc-x-offset", "system-start-text::calc-y-offset", "system-start-text::print", "tab-note-head::calc-glyph-name", + "tab-note-head::handle-ties", "tab-note-head::print", "tab-note-head::print-custom-fret-label", "tab-note-head::whiteout-if-style-set", @@ -4048,18 +4180,29 @@ scheme_functions = [ "tabvoice::draw-double-stem-for-half-notes", "tabvoice::make-double-stem-width-for-half-notes", "tag-group-get", + "tag-list-markup-list", + "tag-markup", "tags-keep-predicate", "tags-remove-predicate", + "tags-visible?", "teaching-accidental-rule", "teeny-markup", + "text-accidental-markup", + "text-doubleflat-markup", + "text-doublesharp-markup", "text-fill-translate", + "text-flat-markup", "text-mark-interface::calc-break-visibility", "text-mark-interface::calc-self-alignment-X", - "text-markup", + "text-natural-markup", + "text-sharp-markup", "tie-markup", - "tie::handle-tab-note-head", "tied-lyric-markup", + "time-signature->fraction", + "time-signature->list", + "time-signature?", "tiny-markup", + "to-staff-space", "translate-draw-instructions", "translate-key-instruction", "translate-markup", @@ -4067,9 +4210,12 @@ scheme_functions = [ "translator-property-description", "transparent-markup", "transposer-factory", + "traverse-state-machine", "triangle-markup", "trill-pitch-group::pure-height", "true-entry?", + "tsig-abbr-expand", + "tsig-fraction-abbr-expand", "tuning", "tuplet-number::append-note-wrapper", "tuplet-number::calc-denominator-text", @@ -4095,6 +4241,7 @@ scheme_functions = [ "unity-if-multimeasure", "universal-color", "unless-markup", + "unspecified-music?", "update-possb-list", "upper-key-stencil", "upright-markup", @@ -4110,8 +4257,10 @@ scheme_functions = [ "voicify-list", "voicify-music", "void?", + "volta-bracket-interface::calc-text", "volta-bracket-interface::pure-height", "volta-bracket::calc-hook-visibility", + "volta-number-markup", "volta-spec-music", "vspace-markup", "whiteout-markup", @@ -4158,15 +4307,17 @@ context_properties = [ "autoBeamCheck", "autoBeaming", "autoCautionaries", - "barCheckLastFail", + "autoExtenders", "barCheckSynchronize", "barExtraVelocity", "barNumberFormatter", "barNumberVisibility", - "baseMoment", "beamExceptions", "beamHalfMeasure", + "beamMaximumSubdivision", "beamMelismaBusy", + "beamMinimumSubdivision", + "beatBase", "beatExtraVelocity", "beatStructure", "breathMarkDefinitions", @@ -4212,6 +4363,7 @@ context_properties = [ "currentMusicalColumn", "currentPerformanceMarkEvent", "currentRehearsalMarkEvent", + "currentTupletDescription", "dalSegnoTextFormatter", "decrescendoSpanner", "decrescendoText", @@ -4306,8 +4458,6 @@ context_properties = [ "midiReverbLevel", "midiSkipOffset", "minimumFret", - "minimumPageTurnLength", - "minimumRepeatLengthForPageTurn", "minorChordModifier", "noChordSymbol", "noteNameFunction", @@ -4318,6 +4468,8 @@ context_properties = [ "ottavation", "ottavationMarkups", "output", + "pageTurnMinimumRepeatLength", + "pageTurnMinimumRestLength", "partCombineForced", "partCombineTextsOnNote", "partialBusy", @@ -4329,10 +4481,13 @@ context_properties = [ "pedalUnaCordaStyle", "predefinedDiagramTable", "printAccidentalNames", + "printInitialRepeatBar", "printKeyCancellation", "printNotesLanguage", "printOctaveNames", "printPartCombineTexts", + "printTrivialVoltaRepeats", + "propertyStacks", "proportionalNotationDuration", "quotedCueEventTypes", "quotedEventTypes", @@ -4340,6 +4495,7 @@ context_properties = [ "rehearsalMarkFormatter", "repeatCommands", "repeatCountVisibility", + "respectIncompleteBeams", "restCompletionBusy", "restNumberThreshold", "restrainOpenStrings", @@ -4383,13 +4539,14 @@ context_properties = [ "suspendRestMerging", "systemStartDelimiter", "systemStartDelimiterHierarchy", + "tabFullNotation", "tabStaffLineLayoutFunction", "tablatureFormat", "tempoHideNote", "tempoWholesPerMinute", "tieMelismaBusy", "tieWaitForNote", - "timeSignatureFraction", + "timeSignature", "timeSignatureSettings", "timing", "tonic", @@ -4400,16 +4557,18 @@ context_properties = [ "underlyingRepeatBarType", "useBassFigureExtenders", "vocalName", - "voltaSpannerDuration", + "voltaBracketMusicalLength", "whichBar", ] grob_properties = [ "X-align-on-main-noteheads", + "X-alignment-extent", "X-attachment", "X-common", "X-extent", "X-offset", + "X-padding", "X-positions", "Y-attachment", "Y-common", @@ -4417,6 +4576,7 @@ grob_properties = [ "Y-offset", "accidental-grob", "accidental-grobs", + "accidental-padding", "add-cauda", "add-join", "add-stem", @@ -4428,6 +4588,7 @@ grob_properties = [ "all-elements", "allow-loose-spacing", "allow-span-bar", + "allow-span-bar-above", "alteration", "alteration-alist", "alteration-glyph-name-alist", @@ -4439,6 +4600,7 @@ grob_properties = [ "arrow-width", "ascendens", "auctum", + "auto-generated", "auto-knee-gap", "automatically-numbered", "average-spacing-wishes", @@ -4449,7 +4611,8 @@ grob_properties = [ "axis-group-parent-X", "axis-group-parent-Y", "bar-extent", - "bars", + "bars-left", + "bars-right", "base-shortest-duration", "baseline-skip", "beam", @@ -4482,6 +4645,9 @@ grob_properties = [ "break-alignment", "break-overshoot", "break-visibility", + "break-visibility-passage-default", + "break-visibility-passage-end", + "break-visibility-passage-start", "breakable", "broken-bound-padding", "c0-position", @@ -4516,12 +4682,12 @@ grob_properties = [ "default-staff-staff-spacing", "delta-position", "deminutum", + "denominator-style", "descendens", "details", "digit-names", "direction", "direction-source", - "display-cautionary", "dot", "dot-count", "dot-negative-kern", @@ -4561,6 +4727,9 @@ grob_properties = [ "font-series", "font-shape", "font-size", + "font-stretch", + "font-variant", + "fonts", "footnote", "footnote-music", "footnote-stencil", @@ -4594,6 +4763,7 @@ grob_properties = [ "has-span-bar", "head-direction", "head-width", + "head-x-offset", "heads", "height", "height-limit", @@ -4608,8 +4778,8 @@ grob_properties = [ "implicit", "important-column-ranks", "in-note-direction", - "in-note-padding", "in-note-stencil", + "in-note-system-padding", "inclinatum", "index", "inspect-quants", @@ -4629,6 +4799,7 @@ grob_properties = [ "ledger-positions", "ledger-positions-function", "left-bound-info", + "left-down-stem", "left-items", "left-neighbor", "left-number-text", @@ -4647,6 +4818,7 @@ grob_properties = [ "main-extent", "make-dead-when", "max-beam-connect", + "max-slope-factor", "max-symbol-separation", "maximum-gap", "maybe-loose", @@ -4660,6 +4832,7 @@ grob_properties = [ "merge-differently-headed", "meta", "minimum-X-extent", + "minimum-X-space", "minimum-Y-extent", "minimum-distance", "minimum-distances", @@ -4668,7 +4841,11 @@ grob_properties = [ "minimum-length-fraction", "minimum-space", "minimum-translations-alist", + "musical-length", "neighbors", + "nested-fraction-mixed", + "nested-fraction-orientation", + "nested-fraction-relative-font-size", "neutral-direction", "neutral-position", "next", @@ -4685,9 +4862,13 @@ grob_properties = [ "note-collision", "note-collision-threshold", "note-columns", + "note-dots-direction", + "note-flag-style", "note-head", + "note-head-style", "note-heads", "note-names", + "note-staff-position", "number-range-separator", "number-type", "numbering-assertion-function", @@ -4710,10 +4891,12 @@ grob_properties = [ "parenthesis-friends", "parenthesis-id", "parenthesized", + "passage-direction", "pedal-text", "pes-or-flexa", "positioning-done", "positions", + "potential-beam", "prefer-dotted-right", "prefix-set", "primitive", @@ -4727,11 +4910,13 @@ grob_properties = [ "quantize-position", "quantized-positions", "quilisma", + "range-collapse-threshold", "rank-on-page", "ratio", "remove-empty", "remove-first", "remove-layer", + "remove-short-autoextender", "replacement-alist", "rest", "rest-collision", @@ -4739,10 +4924,13 @@ grob_properties = [ "rests", "rhythmic-location", "right-bound-info", + "right-down-stem", "right-items", + "right-justified", "right-neighbor", "right-number-text", "right-padding", + "right-up-stem", "rotation", "round-up-exceptions", "round-up-to-longer-rest", @@ -4755,8 +4943,10 @@ grob_properties = [ "segno-kern", "self-alignment-X", "self-alignment-Y", + "senza-misura-stencil", "shape", "sharp-positions", + "short-bar-extent", "shorten", "shorten-pair", "shortest-duration-space", @@ -4784,6 +4974,7 @@ grob_properties = [ "spacing-increment", "spacing-pair", "spacing-wishes", + "span-all-note-heads", "span-start", "spanner-broken", "spanner-id", @@ -4830,11 +5021,9 @@ grob_properties = [ "tremolo-flag", "tuplet-number", "tuplet-slur", - "tuplet-start", "tuplets", "uniform-stretching", "usable-duration-logs", - "use-skylines", "used", "vertical-alignment", "vertical-skyline-elements", @@ -4842,69 +5031,121 @@ grob_properties = [ "virga", "visible-over-note-heads", "voiced-position", + "volta-number-offset", + "volta-numbers", "when", "whiteout", + "whiteout-color", "whiteout-style", "widened-extent", "width", "woodwind-diagram-details", "word-space", - "x-offset", "zigzag-length", "zigzag-width", ] paper_variables = [ + "annotate-spacing", "auto-first-page-number", "basic-distance", "binding-offset", + "blank-after-score-page-penalty", "blank-last-page-penalty", "blank-page-penalty", + "blot-diameter", + "book-title", + "book-title-properties", "bookTitleMarkup", + "bookpart-level-page-numbering", "bottom-margin", + "bp", "check-consistency", + "clip-regions", + "cm", + "debug-beam-scoring", + "debug-slur-scoring", + "debug-tie-scoring", + "dimension-variables", "evenFooterMarkup", "evenHeaderMarkup", "first-page-number", + "footnote-footer-padding", + "footnote-number-raise", + "footnote-numbering-function", + "footnote-padding", "footnote-separator-markup", "horizontal-shift", + "in", + "in-note-padding", + "in-note-system-padding", + "incipit-width", "indent", "inner-margin", + "is-last-bookpart", + "label-alist-table", + "label-page-table", + "landscape", "last-bottom-spacing", "left-margin", + "line-thickness", "line-width", + "make-footer", + "make-header", "markup-markup-spacing", "markup-system-spacing", "max-systems-per-page", "min-systems-per-page", "minimum-distance", + "mm", + "number-footnote-table", "oddFooterMarkup", "oddHeaderMarkup", + "orphan-penalty", "outer-margin", + "output-filename", + "output-scale", + "output-suffix", "padding", "page-breaking", "page-breaking-system-system-spacing", "page-count", "page-number-type", + "page-post-process", "page-spacing-weight", "paper-height", "paper-width", + "papersizename", "print-all-headers", "print-first-page-number", + "print-page-number", + "property-defaults", + "pt", "ragged-bottom", "ragged-last", "ragged-last-bottom", "ragged-right", + "reset-footnotes-on-new-page", "right-margin", "score-markup-spacing", "score-system-spacing", + "score-title", + "score-title-properties", "scoreTitleMarkup", "short-indent", + "staff-height", + "staff-space", "stretchability", "system-count", "system-separator-markup", "system-system-spacing", "systems-per-page", + "tagline", + "text-font-size", + "tocFormatMarkup", + "tocIndentMarkup", + "tocItemMarkup", + "tocTitleMarkup", "top-margin", "top-markup-spacing", "top-system-spacing", @@ -4921,6 +5162,17 @@ header_variables = [ "lsrtags", "meter", "opus", + "pdfarranger", + "pdfauthor", + "pdfcomposer", + "pdfcopyright", + "pdfcreationDate", + "pdfkeywords", + "pdfmodDate", + "pdfpoet", + "pdfsubject", + "pdfsubtitle", + "pdftitle", "piece", "poet", "subsubtitle", diff --git a/contrib/python/Pygments/py3/pygments/lexers/_lua_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_lua_builtins.py index e0977a0a420..9ce4a6d9610 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_lua_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_lua_builtins.py @@ -10,7 +10,7 @@ Run with `python -I` to regenerate. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_luau_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_luau_builtins.py index 9e06b07b932..d63971ee940 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_luau_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_luau_builtins.py @@ -4,7 +4,7 @@ Includes the builtins for Luau and Roblox. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_mapping.py b/contrib/python/Pygments/py3/pygments/lexers/_mapping.py index cfc534d40fd..a7a5e6cbc2c 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_mapping.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_mapping.py @@ -101,9 +101,8 @@ LEXERS = { 'Comal80Lexer': ('pygments.lexers.comal', 'COMAL-80', ('comal', 'comal80'), ('*.cml', '*.comal'), ()), 'CommonLispLexer': ('pygments.lexers.lisp', 'Common Lisp', ('common-lisp', 'cl', 'lisp'), ('*.cl', '*.lisp'), ('text/x-common-lisp',)), 'ComponentPascalLexer': ('pygments.lexers.oberon', 'Component Pascal', ('componentpascal', 'cp'), ('*.cp', '*.cps'), ('text/x-component-pascal',)), - 'CoqLexer': ('pygments.lexers.theorem', 'Coq', ('coq',), ('*.v',), ('text/x-coq',)), 'CplintLexer': ('pygments.lexers.cplint', 'cplint', ('cplint',), ('*.ecl', '*.prolog', '*.pro', '*.pl', '*.P', '*.lpad', '*.cpl'), ('text/x-cplint',)), - 'CppLexer': ('pygments.lexers.c_cpp', 'C++', ('cpp', 'c++'), ('*.cpp', '*.hpp', '*.c++', '*.h++', '*.cc', '*.hh', '*.cxx', '*.hxx', '*.C', '*.H', '*.cp', '*.CPP', '*.tpp'), ('text/x-c++hdr', 'text/x-c++src')), + 'CppLexer': ('pygments.lexers.c_cpp', 'C++', ('cpp', 'c++'), ('*.cpp', '*.hpp', '*.c++', '*.h++', '*.cc', '*.hh', '*.cxx', '*.hxx', '*.C', '*.H', '*.cp', '*.CPP', '*.tpp', '*.cppm', '*.ixx', '*.mxx'), ('text/x-c++hdr', 'text/x-c++src')), 'CppObjdumpLexer': ('pygments.lexers.asm', 'cpp-objdump', ('cpp-objdump', 'c++-objdumb', 'cxx-objdump'), ('*.cpp-objdump', '*.c++-objdump', '*.cxx-objdump'), ('text/x-cpp-objdump',)), 'CrmshLexer': ('pygments.lexers.dsls', 'Crmsh', ('crmsh', 'pcmk'), ('*.crmsh', '*.pcmk'), ()), 'CrocLexer': ('pygments.lexers.d', 'Croc', ('croc',), ('*.croc',), ('text/x-crocsrc',)), @@ -168,7 +167,7 @@ LEXERS = { 'FancyLexer': ('pygments.lexers.ruby', 'Fancy', ('fancy', 'fy'), ('*.fy', '*.fancypack'), ('text/x-fancysrc',)), 'FantomLexer': ('pygments.lexers.fantom', 'Fantom', ('fan',), ('*.fan',), ('application/x-fantom',)), 'FelixLexer': ('pygments.lexers.felix', 'Felix', ('felix', 'flx'), ('*.flx', '*.flxh'), ('text/x-felix',)), - 'FennelLexer': ('pygments.lexers.lisp', 'Fennel', ('fennel', 'fnl'), ('*.fnl',), ()), + 'FennelLexer': ('pygments.lexers.lisp', 'Fennel', ('fennel', 'fnl'), ('*.fnl', '*.fnlm'), ('text/x-fennel',)), 'FiftLexer': ('pygments.lexers.fift', 'Fift', ('fift', 'fif'), ('*.fif',), ()), 'FishShellLexer': ('pygments.lexers.shell', 'Fish', ('fish', 'fishshell'), ('*.fish', '*.load'), ('application/x-fish',)), 'FlatlineLexer': ('pygments.lexers.dsls', 'Flatline', ('flatline',), (), ('text/x-flatline',)), @@ -254,7 +253,7 @@ LEXERS = { 'Json5Lexer': ('pygments.lexers.json5', 'JSON5', ('json5',), ('*.json5',), ()), 'JsonBareObjectLexer': ('pygments.lexers.data', 'JSONBareObject', (), (), ()), 'JsonLdLexer': ('pygments.lexers.data', 'JSON-LD', ('jsonld', 'json-ld'), ('*.jsonld',), ('application/ld+json',)), - 'JsonLexer': ('pygments.lexers.data', 'JSON', ('json', 'json-object'), ('*.json', '*.jsonl', '*.ndjson', 'Pipfile.lock'), ('application/json', 'application/json-object', 'application/x-ndjson', 'application/jsonl', 'application/json-seq')), + 'JsonLexer': ('pygments.lexers.data', 'JSON', ('json', 'json-object'), ('*.json', '*.jsonl', '*.ndjson', 'Pipfile.lock', '*.module', '*.xc'), ('application/json', 'application/json-object', 'application/x-ndjson', 'application/jsonl', 'application/json-seq')), 'JsonnetLexer': ('pygments.lexers.jsonnet', 'Jsonnet', ('jsonnet',), ('*.jsonnet', '*.libsonnet'), ()), 'JspLexer': ('pygments.lexers.templates', 'Java Server Page', ('jsp',), ('*.jsp',), ('application/x-jsp',)), 'JsxLexer': ('pygments.lexers.jsx', 'JSX', ('jsx', 'react'), ('*.jsx', '*.react'), ('text/jsx', 'text/typescript-jsx')), @@ -314,11 +313,11 @@ LEXERS = { 'MarkdownLexer': ('pygments.lexers.markup', 'Markdown', ('markdown', 'md'), ('*.md', '*.markdown'), ('text/x-markdown',)), 'MaskLexer': ('pygments.lexers.javascript', 'Mask', ('mask',), ('*.mask',), ('text/x-mask',)), 'MasonLexer': ('pygments.lexers.templates', 'Mason', ('mason',), ('*.m', '*.mhtml', '*.mc', '*.mi', 'autohandler', 'dhandler'), ('application/x-mason',)), - 'MathematicaLexer': ('pygments.lexers.algebra', 'Mathematica', ('mathematica', 'mma', 'nb'), ('*.nb', '*.cdf', '*.nbp', '*.ma'), ('application/mathematica', 'application/vnd.wolfram.mathematica', 'application/vnd.wolfram.mathematica.package', 'application/vnd.wolfram.cdf')), + 'MathematicaLexer': ('pygments.lexers.algebra', 'Mathematica', ('mathematica', 'mma', 'nb', 'wl', 'wolfram'), ('*.nb', '*.cdf', '*.nbp', '*.ma', '*.wl', '*.wls'), ('application/mathematica', 'application/vnd.wolfram.mathematica', 'application/vnd.wolfram.mathematica.package', 'application/vnd.wolfram.cdf', 'application/vnd.wolfram.wl')), 'MatlabLexer': ('pygments.lexers.matlab', 'Matlab', ('matlab',), ('*.m',), ('text/matlab',)), 'MatlabSessionLexer': ('pygments.lexers.matlab', 'Matlab session', ('matlabsession',), (), ()), 'MaximaLexer': ('pygments.lexers.maxima', 'Maxima', ('maxima', 'macsyma'), ('*.mac', '*.max'), ()), - 'MesonLexer': ('pygments.lexers.meson', 'Meson', ('meson', 'meson.build'), ('meson.build', 'meson_options.txt'), ('text/x-meson',)), + 'MesonLexer': ('pygments.lexers.meson', 'Meson', ('meson', 'meson.build'), ('meson.build', 'meson.options', 'meson_options.txt'), ('text/x-meson',)), 'MiniDLexer': ('pygments.lexers.d', 'MiniD', ('minid',), (), ('text/x-minidsrc',)), 'MiniScriptLexer': ('pygments.lexers.scripting', 'MiniScript', ('miniscript', 'ms'), ('*.ms',), ('text/x-minicript', 'application/x-miniscript')), 'ModelicaLexer': ('pygments.lexers.modeling', 'Modelica', ('modelica',), ('*.mo',), ('text/x-modelica',)), @@ -416,7 +415,7 @@ LEXERS = { 'Python2Lexer': ('pygments.lexers.python', 'Python 2.x', ('python2', 'py2'), (), ('text/x-python2', 'application/x-python2')), 'Python2TracebackLexer': ('pygments.lexers.python', 'Python 2.x Traceback', ('py2tb',), ('*.py2tb',), ('text/x-python2-traceback',)), 'PythonConsoleLexer': ('pygments.lexers.python', 'Python console session', ('pycon', 'python-console'), (), ('text/x-python-doctest',)), - 'PythonLexer': ('pygments.lexers.python', 'Python', ('python', 'py', 'sage', 'python3', 'py3', 'bazel', 'starlark', 'pyi'), ('*.py', '*.pyw', '*.pyi', '*.jy', '*.sage', '*.sc', 'SConstruct', 'SConscript', '*.bzl', 'BUCK', 'BUILD', 'BUILD.bazel', 'WORKSPACE', '*.tac'), ('text/x-python', 'application/x-python', 'text/x-python3', 'application/x-python3')), + 'PythonLexer': ('pygments.lexers.python', 'Python', ('python', 'py', 'sage', 'python3', 'py3', 'bazel', 'starlark', 'pyi'), ('*.py', '*.pyw', '*.pyi', '*.jy', '*.sage', '*.sc', 'SConstruct', 'SConscript', '*.bzl', 'BUCK', 'BUILD', 'BUILD.bazel', 'WORKSPACE', '*.tac', '*.pye'), ('text/x-python', 'application/x-python', 'text/x-python3', 'application/x-python3')), 'PythonTracebackLexer': ('pygments.lexers.python', 'Python Traceback', ('pytb', 'py3tb'), ('*.pytb', '*.py3tb'), ('text/x-python-traceback', 'text/x-python3-traceback')), 'PythonUL4Lexer': ('pygments.lexers.ul4', 'Python+UL4', ('py+ul4',), ('*.pyul4',), ()), 'QBasicLexer': ('pygments.lexers.basic', 'QBasic', ('qbasic', 'basic'), ('*.BAS', '*.bas'), ('text/basic',)), @@ -444,6 +443,7 @@ LEXERS = { 'RedcodeLexer': ('pygments.lexers.esoteric', 'Redcode', ('redcode',), ('*.cw',), ()), 'RegeditLexer': ('pygments.lexers.configs', 'reg', ('registry',), ('*.reg',), ('text/x-windows-registry',)), 'RegoLexer': ('pygments.lexers.rego', 'Rego', ('rego',), ('*.rego',), ('text/x-rego',)), + 'RellLexer': ('pygments.lexers.rell', 'Rell', ('rell',), ('*.rell',), ('text/x-rell',)), 'ResourceLexer': ('pygments.lexers.resource', 'ResourceBundle', ('resourcebundle', 'resource'), (), ()), 'RexxLexer': ('pygments.lexers.scripting', 'Rexx', ('rexx', 'arexx'), ('*.rexx', '*.rex', '*.rx', '*.arexx'), ('text/x-rexx',)), 'RhtmlLexer': ('pygments.lexers.templates', 'RHTML', ('rhtml', 'html+erb', 'html+ruby'), ('*.rhtml',), ('text/html+ruby',)), @@ -452,6 +452,7 @@ LEXERS = { 'RoboconfGraphLexer': ('pygments.lexers.roboconf', 'Roboconf Graph', ('roboconf-graph',), ('*.graph',), ()), 'RoboconfInstancesLexer': ('pygments.lexers.roboconf', 'Roboconf Instances', ('roboconf-instances',), ('*.instances',), ()), 'RobotFrameworkLexer': ('pygments.lexers.robotframework', 'RobotFramework', ('robotframework',), ('*.robot', '*.resource'), ('text/x-robotframework',)), + 'RocqLexer': ('pygments.lexers.theorem', 'Rocq Prover', ('coq', 'rocq', 'rocq-prover'), ('*.v',), ('text/x-coq', 'text/x-rocq')), 'RqlLexer': ('pygments.lexers.sql', 'RQL', ('rql',), ('*.rql',), ('text/x-rql',)), 'RslLexer': ('pygments.lexers.dsls', 'RSL', ('rsl',), ('*.rsl',), ('text/rsl',)), 'RstLexer': ('pygments.lexers.markup', 'reStructuredText', ('restructuredtext', 'rst', 'rest'), ('*.rst', '*.rest'), ('text/x-rst', 'text/prs.fallenstein.rst')), @@ -583,7 +584,7 @@ LEXERS = { 'XQueryLexer': ('pygments.lexers.webmisc', 'XQuery', ('xquery', 'xqy', 'xq', 'xql', 'xqm'), ('*.xqy', '*.xquery', '*.xq', '*.xql', '*.xqm'), ('text/xquery', 'application/xquery')), 'XmlDjangoLexer': ('pygments.lexers.templates', 'XML+Django/Jinja', ('xml+django', 'xml+jinja'), ('*.xml.j2', '*.xml.jinja2'), ('application/xml+django', 'application/xml+jinja')), 'XmlErbLexer': ('pygments.lexers.templates', 'XML+Ruby', ('xml+ruby', 'xml+erb'), (), ('application/xml+ruby',)), - 'XmlLexer': ('pygments.lexers.html', 'XML', ('xml',), ('*.xml', '*.xsl', '*.rss', '*.xslt', '*.xsd', '*.wsdl', '*.wsf'), ('text/xml', 'application/xml', 'image/svg+xml', 'application/rss+xml', 'application/atom+xml')), + 'XmlLexer': ('pygments.lexers.html', 'XML', ('xml',), ('*.xml', '*.xsl', '*.rss', '*.xslt', '*.xsd', '*.wsdl', '*.wsf', '*.xbrl', '*.pom'), ('text/xml', 'application/xml', 'image/svg+xml', 'application/rss+xml', 'application/atom+xml')), 'XmlPhpLexer': ('pygments.lexers.templates', 'XML+PHP', ('xml+php',), (), ('application/xml+php',)), 'XmlSmartyLexer': ('pygments.lexers.templates', 'XML+Smarty', ('xml+smarty',), (), ('application/xml+smarty',)), 'XorgLexer': ('pygments.lexers.xorg', 'Xorg', ('xorg.conf',), ('xorg.conf',), ()), diff --git a/contrib/python/Pygments/py3/pygments/lexers/_mql_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_mql_builtins.py index 181c25d55b4..f1c88a2090b 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_mql_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_mql_builtins.py @@ -4,7 +4,7 @@ Builtins for the MqlLexer. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ types = ( diff --git a/contrib/python/Pygments/py3/pygments/lexers/_mysql_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_mysql_builtins.py index d4a9099ed22..b1c82f57c0d 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_mysql_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_mysql_builtins.py @@ -6,7 +6,7 @@ Run with `python -I` to update. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -32,6 +32,12 @@ MYSQL_CONSTANTS = ( # This list is also used to strip data types out of the list of # MySQL keywords, which is automatically updated later in the file. # +# For future updates, these pages may be helpful references +# when looking for additional data types and aliases: +# +# https://dev.mysql.com/doc/refman/9.4/en/data-types.html +# https://dev.mysql.com/doc/refman/9.4/en/other-vendor-data-types.html +# MYSQL_DATATYPES = ( # Numeric data types 'bigint', @@ -71,6 +77,7 @@ MYSQL_DATATYPES = ( # String data types 'binary', 'blob', + 'byte', 'char', 'enum', 'long', @@ -167,6 +174,7 @@ MYSQL_FUNCTIONS = ( 'dayofyear', 'degrees', 'elt', + 'etag', 'exp', 'export_set', 'extract', @@ -180,6 +188,7 @@ MYSQL_FUNCTIONS = ( 'from_base64', 'from_days', 'from_unixtime', + 'from_vector', 'get_dd_column_privileges', 'get_dd_create_options', 'get_dd_index_private_data', @@ -187,6 +196,7 @@ MYSQL_FUNCTIONS = ( 'get_dd_property_key_value', 'get_dd_schema_options', 'get_dd_tablespace_private_data', + 'get_jdv_property_key_value', 'get_lock', 'greatest', 'group_concat', @@ -238,6 +248,7 @@ MYSQL_FUNCTIONS = ( 'internal_tablespace_type', 'internal_tablespace_version', 'internal_update_time', + 'internal_use_terminology_previous', 'is_free_lock', 'is_ipv4', 'is_ipv4_compat', @@ -254,6 +265,7 @@ MYSQL_FUNCTIONS = ( 'json_contains', 'json_contains_path', 'json_depth', + 'json_duality_object', 'json_extract', 'json_insert', 'json_keys', @@ -455,6 +467,7 @@ MYSQL_FUNCTIONS = ( 'stddev_samp', 'str_to_date', 'strcmp', + 'string_to_vector', 'subdate', 'substr', 'substring', @@ -470,6 +483,7 @@ MYSQL_FUNCTIONS = ( 'to_base64', 'to_days', 'to_seconds', + 'to_vector', 'trim', 'ucase', 'uncompress', @@ -485,6 +499,8 @@ MYSQL_FUNCTIONS = ( 'var_pop', 'var_samp', 'variance', + 'vector_dim', + 'vector_to_string', 'version', 'wait_for_executed_gtid_set', 'wait_until_sql_thread_after_gtids', @@ -541,6 +557,7 @@ MYSQL_OPTIMIZER_HINTS = ( MYSQL_KEYWORDS = ( + 'absent', 'accessible', 'account', 'action', @@ -552,6 +569,7 @@ MYSQL_KEYWORDS = ( 'aggregate', 'algorithm', 'all', + 'allow_missing_files', 'alter', 'always', 'analyze', @@ -566,21 +584,25 @@ MYSQL_KEYWORDS = ( 'at', 'attribute', 'authentication', + 'auto', 'auto_increment', + 'auto_refresh', + 'auto_refresh_source', 'autoextend_size', 'avg', 'avg_row_length', 'backup', 'before', 'begin', + 'bernoulli', 'between', 'binlog', 'block', 'both', 'btree', 'buckets', + 'bulk', 'by', - 'byte', 'cache', 'call', 'cascade', @@ -675,6 +697,7 @@ MYSQL_KEYWORDS = ( 'do', 'drop', 'dual', + 'duality', 'dumpfile', 'duplicate', 'dynamic', @@ -710,6 +733,8 @@ MYSQL_KEYWORDS = ( 'export', 'extended', 'extent_size', + 'external', + 'external_format', 'factor', 'failed_login_attempts', 'false', @@ -719,6 +744,11 @@ MYSQL_KEYWORDS = ( 'fields', 'file', 'file_block_size', + 'file_format', + 'file_name', + 'file_pattern', + 'file_prefix', + 'files', 'filter', 'finish', 'first', @@ -736,6 +766,7 @@ MYSQL_KEYWORDS = ( 'fulltext', 'function', 'general', + 'generate', 'generated', 'geomcollection', 'get', @@ -750,9 +781,11 @@ MYSQL_KEYWORDS = ( 'grouping', 'groups', 'gtid_only', + 'gtids', 'handler', 'hash', 'having', + 'header', 'help', 'high_priority', 'histogram', @@ -783,6 +816,7 @@ MYSQL_KEYWORDS = ( 'insert_method', 'install', 'instance', + 'intersect', 'interval', 'into', 'invisible', @@ -816,6 +850,7 @@ MYSQL_KEYWORDS = ( 'left', 'less', 'level', + 'library', 'like', 'limit', 'linear', @@ -828,10 +863,12 @@ MYSQL_KEYWORDS = ( 'lock', 'locked', 'locks', + 'log', 'logfile', 'logs', 'loop', 'low_priority', + 'manual', 'master', 'master_auto_position', 'master_bind', @@ -934,6 +971,9 @@ MYSQL_KEYWORDS = ( 'owner', 'pack_keys', 'page', + 'parallel', + 'parameters', + 'parse_tree', 'parser', 'partial', 'partition', @@ -965,6 +1005,7 @@ MYSQL_KEYWORDS = ( 'profiles', 'proxy', 'purge', + 'qualify', 'quarter', 'query', 'quick', @@ -984,6 +1025,7 @@ MYSQL_KEYWORDS = ( 'references', 'regexp', 'registration', + 'relational', 'relay', 'relay_log_file', 'relay_log_pos', @@ -1040,6 +1082,7 @@ MYSQL_KEYWORDS = ( 'row_number', 'rows', 'rtree', + 's3', 'savepoint', 'schedule', 'schema', @@ -1139,6 +1182,7 @@ MYSQL_KEYWORDS = ( 'stored', 'straight_join', 'stream', + 'strict_load', 'string', 'subclass_origin', 'subject', @@ -1153,6 +1197,7 @@ MYSQL_KEYWORDS = ( 'table_checksum', 'table_name', 'tables', + 'tablesample', 'tablespace', 'temporary', 'temptable', @@ -1190,6 +1235,8 @@ MYSQL_KEYWORDS = ( 'until', 'update', 'upgrade', + 'uri', + 'url', 'usage', 'use', 'use_frm', @@ -1204,6 +1251,8 @@ MYSQL_KEYWORDS = ( 'values', 'variables', 'vcpu', + 'vector', + 'verify_key_constraints', 'view', 'virtual', 'visible', @@ -1238,7 +1287,7 @@ if __name__ == '__main__': # pragma: no cover from pygments.util import format_lines # MySQL source code - SOURCE_URL = 'https://github.com/mysql/mysql-server/raw/8.0' + SOURCE_URL = 'https://github.com/mysql/mysql-server/raw/trunk' LEX_URL = SOURCE_URL + '/sql/lex.h' ITEM_CREATE_URL = SOURCE_URL + '/sql/item_create.cc' diff --git a/contrib/python/Pygments/py3/pygments/lexers/_openedge_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_openedge_builtins.py index 33a1333e4d5..7e0555deaf3 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_openedge_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_openedge_builtins.py @@ -4,7 +4,7 @@ Builtin list for the OpenEdgeLexer. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_php_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_php_builtins.py index 19825fa2d9f..1f93215d78a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_php_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_php_builtins.py @@ -7,7 +7,7 @@ Run with `python -I` to regenerate. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -3254,7 +3254,7 @@ if __name__ == '__main__': # pragma: no cover import tarfile from urllib.request import urlretrieve - PHP_MANUAL_URL = 'http://us3.php.net/distributions/manual/php_manual_en.tar.gz' + PHP_MANUAL_URL = 'https://us3.php.net/distributions/manual/php_manual_en.tar.gz' PHP_MANUAL_DIR = './php-chunked-xhtml/' PHP_REFERENCE_GLOB = 'ref.*' PHP_FUNCTION_RE = r'<a href="function\..*?\.html">(.*?)</a>' @@ -3298,7 +3298,10 @@ if __name__ == '__main__': # pragma: no cover def get_php_references(): download = urlretrieve(PHP_MANUAL_URL) with tarfile.open(download[0]) as tar: - tar.extractall() + if hasattr(tarfile.TarFile, 'extraction_filter'): + tar.extractall(filter='data') + else: + tar.extractall() yield from glob.glob(f"{PHP_MANUAL_DIR}{PHP_REFERENCE_GLOB}") os.remove(download[0]) @@ -3318,7 +3321,7 @@ if __name__ == '__main__': # pragma: no cover print('>> Downloading Function Index') modules = get_php_functions() total = sum(len(v) for v in modules.values()) - print('%d functions found' % total) + print(f'{total} functions found') regenerate(__file__, modules) shutil.rmtree(PHP_MANUAL_DIR) diff --git a/contrib/python/Pygments/py3/pygments/lexers/_postgres_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_postgres_builtins.py index 80bc728e96f..7a0a5848c3c 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_postgres_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_postgres_builtins.py @@ -6,7 +6,7 @@ Run with `python -I` to update itself. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_qlik_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_qlik_builtins.py index c2fe0cf4bf6..78d4e9a5778 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_qlik_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_qlik_builtins.py @@ -4,7 +4,7 @@ Qlik builtins. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_scheme_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_scheme_builtins.py index c35a533d1b5..5c468ff3c9f 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_scheme_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_scheme_builtins.py @@ -4,7 +4,7 @@ Scheme builtins. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_scilab_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_scilab_builtins.py index af49b46a8e3..f5a14b314d9 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_scilab_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_scilab_builtins.py @@ -4,7 +4,7 @@ Builtin list for the ScilabLexer. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_sourcemod_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_sourcemod_builtins.py index c98478c6f9e..8e295436349 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_sourcemod_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_sourcemod_builtins.py @@ -8,7 +8,7 @@ Run with `python -I` to regenerate. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_sql_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_sql_builtins.py index 8b90e53e985..32c720a2273 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_sql_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_sql_builtins.py @@ -4,7 +4,7 @@ Data files for the SQL lexer. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_stan_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_stan_builtins.py index 8db10c32a66..3a0ccc17e38 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_stan_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_stan_builtins.py @@ -3,9 +3,9 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This file contains the names of functions for Stan used by - ``pygments.lexers.math.StanLexer. This is for Stan language version 2.29.0. + ``pygments.lexers.math.StanLexer. This is for Stan language version 2.36.0. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -20,6 +20,8 @@ KEYWORDS = ( 'reject', 'return', 'while', + 'fatal_error', + 'target' ) TYPES = ( @@ -38,10 +40,21 @@ TYPES = ( 'vector', 'void', 'array', - 'complex' + 'complex', + 'complex_vector', + 'complex_matrix', + 'complex_row_vector', + 'corr_matrix', + 'cholesky_factor_corr', + 'column_stochastic_matrix', + 'row_stochastic_matrix', + 'sum_to_zero_vector', + 'sum_to_zero_matrix' ) FUNCTIONS = ( + 'Phi', + 'Phi_approx', 'abs', 'acos', 'acosh', @@ -83,15 +96,22 @@ FUNCTIONS = ( 'beta_lcdf', 'beta_lpdf', 'beta_lupdf', + 'beta_neg_binomial_cdf', + 'beta_neg_binomial_lccdf', + 'beta_neg_binomial_lcdf', + 'beta_neg_binomial_lpmf', + 'beta_neg_binomial_lupmf', + 'beta_neg_binomial_rng', 'beta_proportion_lccdf', 'beta_proportion_lcdf', 'beta_proportion_rng', 'beta_rng', 'binary_log_loss', 'binomial_cdf', - 'binomial_coefficient_log', 'binomial_lccdf', 'binomial_lcdf', + 'binomial_logit_glm_lpmf', + 'binomial_logit_glm_lupmf', 'binomial_logit_lpmf', 'binomial_logit_lupmf', 'binomial_lpmf', @@ -122,16 +142,32 @@ FUNCTIONS = ( 'chi_square_rng', 'chol2inv', 'cholesky_decompose', + 'cholesky_factor_corr_constrain', + 'cholesky_factor_corr_jacobian', + 'cholesky_factor_corr_unconstrain', + 'cholesky_factor_cov_constrain', + 'cholesky_factor_cov_jacobian', + 'cholesky_factor_cov_unconstrain', 'choose', 'col', 'cols', 'columns_dot_product', 'columns_dot_self', + 'complex_schur_decompose', + 'complex_schur_decompose_t', + 'complex_schur_decompose_u', 'conj', + 'corr_matrix_constrain', + 'corr_matrix_jacobian', + 'corr_matrix_unconstrain', 'cos', 'cosh', 'cov_exp_quad', + 'cov_matrix_constrain', + 'cov_matrix_jacobian', + 'cov_matrix_unconstrain', 'crossprod', + 'csr_extract', 'csr_extract_u', 'csr_extract_v', 'csr_extract_w', @@ -149,6 +185,9 @@ FUNCTIONS = ( 'dims', 'dirichlet_lpdf', 'dirichlet_lupdf', + 'dirichlet_multinomial_lpmf', + 'dirichlet_multinomial_lupmf', + 'dirichlet_multinomial_rng', 'dirichlet_rng', 'discrete_range_cdf', 'discrete_range_lccdf', @@ -166,7 +205,11 @@ FUNCTIONS = ( 'double_exponential_lupdf', 'double_exponential_rng', 'e', + 'eigendecompose', + 'eigendecompose_sym', + 'eigenvalues', 'eigenvalues_sym', + 'eigenvectors', 'eigenvectors_sym', 'erf', 'erfc', @@ -185,9 +228,10 @@ FUNCTIONS = ( 'exponential_lpdf', 'exponential_lupdf', 'exponential_rng', - 'fabs', 'falling_factorial', 'fdim', + 'fft', + 'fft2', 'floor', 'fma', 'fmax', @@ -211,8 +255,13 @@ FUNCTIONS = ( 'gaussian_dlm_obs_lupdf', 'generalized_inverse', 'get_imag', - 'get_lp', 'get_real', + 'gp_dot_prod_cov', + 'gp_exp_quad_cov', + 'gp_exponential_cov', + 'gp_matern23_cov', + 'gp_matern52_cov', + 'gp_periodic_cov', 'gumbel_cdf', 'gumbel_lccdf', 'gumbel_lcdf', @@ -223,8 +272,12 @@ FUNCTIONS = ( 'hmm_hidden_state_prob', 'hmm_latent_rng', 'hmm_marginal', + 'hypergeometric_1F0', + 'hypergeometric_2F1', + 'hypergeometric_3F2', 'hypergeometric_lpmf', 'hypergeometric_lupmf', + 'hypergeometric_pFq', 'hypergeometric_rng', 'hypot', 'identity_matrix', @@ -236,6 +289,7 @@ FUNCTIONS = ( 'integrate_ode_bdf', 'integrate_ode_rk45', 'inv', + 'inv_Phi', 'inv_chi_square_cdf', 'inv_chi_square_lccdf', 'inv_chi_square_lcdf', @@ -244,16 +298,21 @@ FUNCTIONS = ( 'inv_chi_square_rng', 'inv_cloglog', 'inv_erfc', + 'inv_fft', + 'inv_fft2', 'inv_gamma_cdf', 'inv_gamma_lccdf', 'inv_gamma_lcdf', 'inv_gamma_lpdf', 'inv_gamma_lupdf', 'inv_gamma_rng', + 'inv_inc_beta', 'inv_logit', - 'inv_Phi', 'inv_sqrt', 'inv_square', + 'inv_wishart_cholesky_lpdf', + 'inv_wishart_cholesky_lupdf', + 'inv_wishart_cholesky_rng', 'inv_wishart_lpdf', 'inv_wishart_lupdf', 'inv_wishart_rng', @@ -313,6 +372,12 @@ FUNCTIONS = ( 'lognormal_lpdf', 'lognormal_lupdf', 'lognormal_rng', + 'lower_bound_constrain', + 'lower_bound_jacobian', + 'lower_bound_unconstrain', + 'lower_upper_bound_constrain', + 'lower_upper_bound_jacobian', + 'lower_upper_bound_unconstrain', 'machine_precision', 'map_rect', 'matrix_exp', @@ -339,6 +404,10 @@ FUNCTIONS = ( 'multi_normal_prec_lpdf', 'multi_normal_prec_lupdf', 'multi_normal_rng', + 'multi_student_cholesky_t_rng', + 'multi_student_t_cholesky_lpdf', + 'multi_student_t_cholesky_lupdf', + 'multi_student_t_cholesky_rng', 'multi_student_t_lpdf', 'multi_student_t_lupdf', 'multi_student_t_rng', @@ -348,7 +417,6 @@ FUNCTIONS = ( 'multinomial_lpmf', 'multinomial_lupmf', 'multinomial_rng', - 'multiply_log', 'multiply_lower_tri_self_transpose', 'neg_binomial_2_cdf', 'neg_binomial_2_lccdf', @@ -369,6 +437,8 @@ FUNCTIONS = ( 'neg_binomial_rng', 'negative_infinity', 'norm', + 'norm1', + 'norm2', 'normal_cdf', 'normal_id_glm_lpdf', 'normal_id_glm_lupdf', @@ -388,6 +458,9 @@ FUNCTIONS = ( 'ode_ckrk_tol', 'ode_rk45', 'ode_rk45_tol', + 'offset_multiplier_constrain', + 'offset_multiplier_jacobian', + 'offset_multiplier_unconstrain', 'one_hot_array', 'one_hot_int_array', 'one_hot_row_vector', @@ -396,6 +469,8 @@ FUNCTIONS = ( 'ones_int_array', 'ones_row_vector', 'ones_vector', + 'ordered_constrain', + 'ordered_jacobian', 'ordered_logistic_glm_lpmf', 'ordered_logistic_glm_lupmf', 'ordered_logistic_lpmf', @@ -404,6 +479,7 @@ FUNCTIONS = ( 'ordered_probit_lpmf', 'ordered_probit_lupmf', 'ordered_probit_rng', + 'ordered_unconstrain', 'owens_t', 'pareto_cdf', 'pareto_lccdf', @@ -417,8 +493,6 @@ FUNCTIONS = ( 'pareto_type_2_lpdf', 'pareto_type_2_lupdf', 'pareto_type_2_rng', - 'Phi', - 'Phi_approx', 'pi', 'poisson_cdf', 'poisson_lccdf', @@ -433,12 +507,16 @@ FUNCTIONS = ( 'poisson_rng', 'polar', 'positive_infinity', + 'positive_ordered_constrain', + 'positive_ordered_jacobian', + 'positive_ordered_unconstrain', 'pow', - 'print', 'prod', 'proj', + 'qr', 'qr_Q', 'qr_R', + 'qr_thin', 'qr_thin_Q', 'qr_thin_R', 'quad_form', @@ -453,7 +531,6 @@ FUNCTIONS = ( 'rayleigh_lupdf', 'rayleigh_rng', 'reduce_sum', - 'reject', 'rep_array', 'rep_matrix', 'rep_row_vector', @@ -474,6 +551,9 @@ FUNCTIONS = ( 'scaled_inv_chi_square_rng', 'sd', 'segment', + 'simplex_constrain', + 'simplex_jacobian', + 'simplex_unconstrain', 'sin', 'singular_values', 'sinh', @@ -491,6 +571,10 @@ FUNCTIONS = ( 'skew_normal_lupdf', 'skew_normal_rng', 'softmax', + 'solve_newton', + 'solve_newton_tol', + 'solve_powell', + 'solve_powell_tol', 'sort_asc', 'sort_desc', 'sort_indices_asc', @@ -502,10 +586,18 @@ FUNCTIONS = ( 'std_normal_cdf', 'std_normal_lccdf', 'std_normal_lcdf', + 'std_normal_log_qf', 'std_normal_lpdf', 'std_normal_lupdf', + 'std_normal_qf', 'std_normal_rng', 'step', + 'stochastic_column_constrain', + 'stochastic_column_jacobian', + 'stochastic_column_unconstrain', + 'stochastic_row_constrain', + 'stochastic_row_jacobian', + 'stochastic_row_unconstrain', 'student_t_cdf', 'student_t_lccdf', 'student_t_lcdf', @@ -515,6 +607,10 @@ FUNCTIONS = ( 'sub_col', 'sub_row', 'sum', + 'sum_to_zero_constrain', + 'sum_to_zero_jacobian', + 'sum_to_zero_unconstrain', + 'svd', 'svd_U', 'svd_V', 'symmetrize_from_lower_tri', @@ -527,6 +623,7 @@ FUNCTIONS = ( 'to_array_1d', 'to_array_2d', 'to_complex', + 'to_int', 'to_matrix', 'to_row_vector', 'to_vector', @@ -542,6 +639,12 @@ FUNCTIONS = ( 'uniform_lupdf', 'uniform_rng', 'uniform_simplex', + 'unit_vectors_constrain', + 'unit_vectors_jacobian', + 'unit_vectors_unconstrain', + 'upper_bound_constrain', + 'upper_bound_jacobian', + 'upper_bound_unconstrain', 'variance', 'von_mises_cdf', 'von_mises_lccdf', @@ -557,12 +660,16 @@ FUNCTIONS = ( 'weibull_rng', 'wiener_lpdf', 'wiener_lupdf', + 'wishart_cholesky_lpdf', + 'wishart_cholesky_lupdf', + 'wishart_cholesky_rng', 'wishart_lpdf', 'wishart_lupdf', 'wishart_rng', 'zeros_array', 'zeros_int_array', - 'zeros_row_vector' + 'zeros_row_vector', + 'zeros_vector' ) DISTRIBUTIONS = ( @@ -571,14 +678,17 @@ DISTRIBUTIONS = ( 'bernoulli_logit_glm', 'beta', 'beta_binomial', + 'beta_neg_binomial', 'binomial', 'binomial_logit', + 'binomial_logit_glm', 'categorical', 'categorical_logit', 'categorical_logit_glm', 'cauchy', 'chi_square', 'dirichlet', + 'dirichlet_multinomial', 'discrete_range', 'double_exponential', 'exp_mod_normal', @@ -591,6 +701,7 @@ DISTRIBUTIONS = ( 'inv_chi_square', 'inv_gamma', 'inv_wishart', + 'inv_wishart_cholesky', 'lkj_corr', 'lkj_corr_cholesky', 'logistic', @@ -602,6 +713,7 @@ DISTRIBUTIONS = ( 'multi_normal_cholesky', 'multi_normal_prec', 'multi_student_t', + 'multi_student_t_cholesky', 'multinomial', 'multinomial_logit', 'neg_binomial', @@ -629,6 +741,7 @@ DISTRIBUTIONS = ( 'weibull', 'wiener', 'wishart', + 'wishart_cholesky' ) RESERVED = ( diff --git a/contrib/python/Pygments/py3/pygments/lexers/_stata_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_stata_builtins.py index 6a36f0429c7..b6111a1a79f 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_stata_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_stata_builtins.py @@ -4,7 +4,7 @@ Builtins for Stata - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_tsql_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_tsql_builtins.py index 6fa1a1f1953..22079e53f2a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_tsql_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_tsql_builtins.py @@ -4,7 +4,7 @@ These are manually translated lists from https://msdn.microsoft.com. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_usd_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_usd_builtins.py index b0530a209c7..8d5a7422e07 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_usd_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_usd_builtins.py @@ -4,7 +4,7 @@ A collection of known USD-related keywords, attributes, and types. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_vbscript_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_vbscript_builtins.py index b1ae0ef0265..a4a6961fac6 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_vbscript_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_vbscript_builtins.py @@ -5,7 +5,7 @@ These are manually translated lists from http://www.indusoft.com/pdf/VBScript%20Reference.pdf. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/_vim_builtins.py b/contrib/python/Pygments/py3/pygments/lexers/_vim_builtins.py index abbbf993a35..5fbbf81e610 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/_vim_builtins.py +++ b/contrib/python/Pygments/py3/pygments/lexers/_vim_builtins.py @@ -4,7 +4,7 @@ This file is autogenerated by scripts/get_vimkw.py - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/actionscript.py b/contrib/python/Pygments/py3/pygments/lexers/actionscript.py index 3a6ba42911f..659cc2be6a3 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/actionscript.py +++ b/contrib/python/Pygments/py3/pygments/lexers/actionscript.py @@ -4,7 +4,7 @@ Lexers for ActionScript and MXML. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -195,8 +195,8 @@ class ActionScript3Lexer(RegexLexer): } def analyse_text(text): - if re.match(r'\w+\s*:\s*\w', text): - return 0.3 + if re.search(r'\bimport\s+flash\.', text): + return 0.2 return 0 diff --git a/contrib/python/Pygments/py3/pygments/lexers/ada.py b/contrib/python/Pygments/py3/pygments/lexers/ada.py index cb286ca7c74..7f6fec74928 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/ada.py +++ b/contrib/python/Pygments/py3/pygments/lexers/ada.py @@ -4,7 +4,7 @@ Lexers for Ada family languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/agile.py b/contrib/python/Pygments/py3/pygments/lexers/agile.py index cb22a13bf79..ac88cf67907 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/agile.py +++ b/contrib/python/Pygments/py3/pygments/lexers/agile.py @@ -4,7 +4,7 @@ Just export lexer classes previously contained in this module. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/algebra.py b/contrib/python/Pygments/py3/pygments/lexers/algebra.py index a899cfea839..1bb6e9ed8cd 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/algebra.py +++ b/contrib/python/Pygments/py3/pygments/lexers/algebra.py @@ -4,7 +4,7 @@ Lexers for computer algebra systems. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -151,16 +151,17 @@ class MathematicaLexer(RegexLexer): Lexer for Mathematica source code. """ name = 'Mathematica' - url = 'http://www.wolfram.com/mathematica/' - aliases = ['mathematica', 'mma', 'nb'] - filenames = ['*.nb', '*.cdf', '*.nbp', '*.ma'] + url = 'https://www.wolfram.com/language/' + aliases = ['mathematica', 'mma', 'nb', 'wl', 'wolfram'] + filenames = ['*.nb', '*.cdf', '*.nbp', '*.ma', '*.wl', '*.wls'] mimetypes = ['application/mathematica', 'application/vnd.wolfram.mathematica', 'application/vnd.wolfram.mathematica.package', - 'application/vnd.wolfram.cdf'] + 'application/vnd.wolfram.cdf', + 'application/vnd.wolfram.wl'] version_added = '2.0' - # http://reference.wolfram.com/mathematica/guide/Syntax.html + # https://reference.wolfram.com/language/guide/Syntax.html operators = ( ";;", "=", "=.", "!=" "==", ":=", "->", ":>", "/.", "+", "-", "*", "/", "^", "&&", "||", "!", "<>", "|", "/;", "?", "@", "//", "/@", "@@", diff --git a/contrib/python/Pygments/py3/pygments/lexers/ambient.py b/contrib/python/Pygments/py3/pygments/lexers/ambient.py index 3862eb0d94e..2da64d12d63 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/ambient.py +++ b/contrib/python/Pygments/py3/pygments/lexers/ambient.py @@ -4,7 +4,7 @@ Lexers for AmbientTalk language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/amdgpu.py b/contrib/python/Pygments/py3/pygments/lexers/amdgpu.py index c97ad617ef3..ead9ace8974 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/amdgpu.py +++ b/contrib/python/Pygments/py3/pygments/lexers/amdgpu.py @@ -4,7 +4,7 @@ Lexers for the AMDGPU ISA assembly. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/ampl.py b/contrib/python/Pygments/py3/pygments/lexers/ampl.py index bc4082b1b18..3e051eb1817 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/ampl.py +++ b/contrib/python/Pygments/py3/pygments/lexers/ampl.py @@ -4,7 +4,7 @@ Lexers for the AMPL language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/apdlexer.py b/contrib/python/Pygments/py3/pygments/lexers/apdlexer.py index 98beedfbe70..eca004e2495 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/apdlexer.py +++ b/contrib/python/Pygments/py3/pygments/lexers/apdlexer.py @@ -4,7 +4,7 @@ Lexers for ANSYS Parametric Design Language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/apl.py b/contrib/python/Pygments/py3/pygments/lexers/apl.py index a2ee3f47541..147a7e21c7b 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/apl.py +++ b/contrib/python/Pygments/py3/pygments/lexers/apl.py @@ -4,7 +4,7 @@ Lexers for APL. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/archetype.py b/contrib/python/Pygments/py3/pygments/lexers/archetype.py index 47f34af9efd..977b02f7516 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/archetype.py +++ b/contrib/python/Pygments/py3/pygments/lexers/archetype.py @@ -9,7 +9,7 @@ Contributed by Thomas Beale <https://github.com/wolandscat>, <https://bitbucket.org/thomas_beale>. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -35,8 +35,8 @@ class AtomsLexer(RegexLexer): (r'([ \t]*)(--.*)$', bygroups(Whitespace, Comment)), ], 'archetype_id': [ - (r'([ \t]*)(([a-zA-Z]\w+(\.[a-zA-Z]\w+)*::)?[a-zA-Z]\w+(-[a-zA-Z]\w+){2}' - r'\.\w+[\w-]*\.v\d+(\.\d+){,2}((-[a-z]+)(\.\d+)?)?)', + (r'([ \t]*)(([a-zA-Z]\w{1,100}(\.[a-zA-Z]\w{1,100})*::)?[a-zA-Z]\w{1,100}(-[a-zA-Z]\w{1,100}){2}' + r'\.\w{1,100}[\w-]*\.v\d+(\.\d+){,2}((-[a-z]+)(\.\d+)?)?)', bygroups(Whitespace, Name.Decorator)), ], 'date_constraints': [ @@ -293,7 +293,7 @@ class AdlLexer(AtomsLexer): # numbers and version ids (r'\d+(\.\d+)*', Literal), # Guids - (r'(\d|[a-fA-F])+(-(\d|[a-fA-F])+){3,}', Literal), + (r'[0-9a-fA-F]{1,36}(-[0-9a-fA-F]{1,36}){3,}', Literal), (r'\w+', Name.Class), (r'"', String, 'string'), (r'=', Operator), diff --git a/contrib/python/Pygments/py3/pygments/lexers/arrow.py b/contrib/python/Pygments/py3/pygments/lexers/arrow.py index e686cf1b66a..3e55725b95a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/arrow.py +++ b/contrib/python/Pygments/py3/pygments/lexers/arrow.py @@ -4,7 +4,7 @@ Lexer for Arrow. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/arturo.py b/contrib/python/Pygments/py3/pygments/lexers/arturo.py index 82fc089836b..c082a898173 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/arturo.py +++ b/contrib/python/Pygments/py3/pygments/lexers/arturo.py @@ -4,7 +4,7 @@ Lexer for the Arturo language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/asc.py b/contrib/python/Pygments/py3/pygments/lexers/asc.py index 243c996af98..49b82f5aa93 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/asc.py +++ b/contrib/python/Pygments/py3/pygments/lexers/asc.py @@ -4,7 +4,7 @@ Lexer for various ASCII armored files. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re diff --git a/contrib/python/Pygments/py3/pygments/lexers/asm.py b/contrib/python/Pygments/py3/pygments/lexers/asm.py index 74f4a5a8e44..2ce9c57777a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/asm.py +++ b/contrib/python/Pygments/py3/pygments/lexers/asm.py @@ -4,7 +4,7 @@ Lexers for assembly languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -397,7 +397,14 @@ class LlvmLexer(RegexLexer): ], 'whitespace': [ (r'(\n|\s+)+', Whitespace), - (r';.*?\n', Comment) + (r';.*?\n', Comment), + (r'/\*', Comment, 'c-comment'), + ], + 'c-comment': [ + (r'[^*]+', Comment), + (r'\*/', Comment, '#pop'), + # Consume lone asterisks as non-comment-ending content. + (r'\*', Comment), ], 'keyword': [ # Regular keywords diff --git a/contrib/python/Pygments/py3/pygments/lexers/asn1.py b/contrib/python/Pygments/py3/pygments/lexers/asn1.py index 6c7861bdb68..711801dc548 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/asn1.py +++ b/contrib/python/Pygments/py3/pygments/lexers/asn1.py @@ -4,7 +4,7 @@ Pygments lexers for ASN.1. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -136,7 +136,7 @@ class Asn1Lexer(RegexLexer): (r'--.*$', Comment.Single), (r'/\*', Comment.Multiline, 'comment'), # Numbers: - (r'\d+\.\d*([eE][-+]?\d+)?', Number.Float), + (r'\d+\.\d+([eE][-+]?\d+)?', Number.Float), (r'\d+', Number.Integer), # Identifier: (r"&?[a-z][-a-zA-Z0-9]*[a-zA-Z0-9]\b", Name.Variable), @@ -155,7 +155,7 @@ class Asn1Lexer(RegexLexer): # Type identifier: (r"&?[A-Z][-a-zA-Z0-9]*[a-zA-Z0-9]\b", Name.Type), # Operators: - (r"(::=|\.\.\.|\.\.|\[\[|\]\]|\||\^)", Operator), + (r"(::=|\.\.\.|\.\.|\[\[|\]\]|\||\^|-)", Operator), # Punctuation: (r"(\.|,|\{|\}|\(|\)|\[|\])", Punctuation), # String: diff --git a/contrib/python/Pygments/py3/pygments/lexers/automation.py b/contrib/python/Pygments/py3/pygments/lexers/automation.py index 4e9c678114f..9f834ac80b0 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/automation.py +++ b/contrib/python/Pygments/py3/pygments/lexers/automation.py @@ -4,7 +4,7 @@ Lexers for automation scripting languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/bare.py b/contrib/python/Pygments/py3/pygments/lexers/bare.py index d7167dc419f..ba512b9d0aa 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/bare.py +++ b/contrib/python/Pygments/py3/pygments/lexers/bare.py @@ -4,7 +4,7 @@ Lexer for the BARE schema. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/basic.py b/contrib/python/Pygments/py3/pygments/lexers/basic.py index 7c9123de7b1..a24101c1416 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/basic.py +++ b/contrib/python/Pygments/py3/pygments/lexers/basic.py @@ -4,7 +4,7 @@ Lexers for BASIC like languages (other than VB.net). - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/bdd.py b/contrib/python/Pygments/py3/pygments/lexers/bdd.py index 6ddb6056d4b..82a03b64a3e 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/bdd.py +++ b/contrib/python/Pygments/py3/pygments/lexers/bdd.py @@ -4,7 +4,7 @@ Lexer for BDD(Behavior-driven development). - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/berry.py b/contrib/python/Pygments/py3/pygments/lexers/berry.py index 5f772b1add6..04f6cc5ff23 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/berry.py +++ b/contrib/python/Pygments/py3/pygments/lexers/berry.py @@ -4,7 +4,7 @@ Lexer for Berry. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/bibtex.py b/contrib/python/Pygments/py3/pygments/lexers/bibtex.py index 32cc40ae7d6..069219635d4 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/bibtex.py +++ b/contrib/python/Pygments/py3/pygments/lexers/bibtex.py @@ -4,7 +4,7 @@ Lexers for BibTeX bibliography data and styles - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/blueprint.py b/contrib/python/Pygments/py3/pygments/lexers/blueprint.py index 59f9c42a468..1dcc235e262 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/blueprint.py +++ b/contrib/python/Pygments/py3/pygments/lexers/blueprint.py @@ -4,7 +4,7 @@ Lexer for the Blueprint UI markup language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/boa.py b/contrib/python/Pygments/py3/pygments/lexers/boa.py index 6f4e8cdaf78..06977dd198e 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/boa.py +++ b/contrib/python/Pygments/py3/pygments/lexers/boa.py @@ -4,7 +4,7 @@ Lexers for the Boa language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/bqn.py b/contrib/python/Pygments/py3/pygments/lexers/bqn.py index 083f69b61de..beb292fbf48 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/bqn.py +++ b/contrib/python/Pygments/py3/pygments/lexers/bqn.py @@ -4,7 +4,7 @@ Lexer for BQN. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/business.py b/contrib/python/Pygments/py3/pygments/lexers/business.py index 73adb87096b..2b4ce6be5ad 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/business.py +++ b/contrib/python/Pygments/py3/pygments/lexers/business.py @@ -4,7 +4,7 @@ Lexers for "business-oriented" languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/c_cpp.py b/contrib/python/Pygments/py3/pygments/lexers/c_cpp.py index 399f2bc4f22..247953a6244 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/c_cpp.py +++ b/contrib/python/Pygments/py3/pygments/lexers/c_cpp.py @@ -4,7 +4,7 @@ Lexers for C/C++ languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -36,7 +36,7 @@ class CFamilyLexer(RegexLexer): # This includes decimal separators matching. _decpart = r'\d(\'?\d)*' # Integer literal suffix (e.g. 'ull' or 'll'). - _intsuffix = r'(([uU][lL]{0,2})|[lL]{1,2}[uU]?)?' + _intsuffix = r'(([uU]?[zZ])|([zZ][uU])|([uU][lL]{0,2})|([lL]{1,2}[uU]?))?' # Identifier regex with C and C++ Universal Character Name (UCN) support. _ident = r'(?!\d)(?:[\w$]|\\u[0-9a-fA-F]{4}|\\U[0-9a-fA-F]{8})+' @@ -100,7 +100,7 @@ class CFamilyLexer(RegexLexer): (r'(-)?' + _decpart + _intsuffix, Number.Integer), (r'[~!%^&*+=|?:<>/-]', Operator), (r'[()\[\],.]', Punctuation), - (r'(true|false|NULL)\b', Name.Builtin), + (r'(true|false|NULL|nullptr)\b', Name.Builtin), (_ident, Name) ], 'types': [ @@ -113,11 +113,11 @@ class CFamilyLexer(RegexLexer): 'keywords': [ (r'(struct|union)(\s+)', bygroups(Keyword, Whitespace), 'classname'), (r'case\b', Keyword, 'case-value'), - (words(('asm', 'auto', 'break', 'const', 'continue', 'default', - 'do', 'else', 'enum', 'extern', 'for', 'goto', 'if', - 'register', 'restricted', 'return', 'sizeof', 'struct', - 'static', 'switch', 'typedef', 'volatile', 'while', 'union', - 'thread_local', 'alignas', 'alignof', 'static_assert', '_Pragma'), + (words(('asm', 'auto', 'break', 'const', 'constexpr', 'continue', 'default', + 'do', 'else', 'enum', 'extern', 'for', 'goto', 'if', 'register', + 'restricted', 'return', 'sizeof', 'struct', 'static', 'switch', + 'typedef', 'typeof', 'typeof_unqual', 'volatile', 'while', 'union', + 'thread_local', 'alignas', 'alignof', 'static_assert', '_Pragma', 'fortran'), suffix=r'\b'), Keyword), (words(('inline', '_inline', '__inline', 'naked', 'restrict', 'thread'), suffix=r'\b'), Keyword.Reserved), @@ -128,7 +128,7 @@ class CFamilyLexer(RegexLexer): 'asm', 'based', 'except', 'stdcall', 'cdecl', 'fastcall', 'declspec', 'finally', 'try', 'leave', 'w64', 'unaligned', 'raise', 'noop', - 'identifier', 'forceinline', 'assume'), + 'identifier', 'forceinline', 'assume', 'null'), prefix=r'__', suffix=r'\b'), Keyword.Reserved) ], 'root': [ @@ -301,13 +301,13 @@ class CLexer(CFamilyLexer): tokens = { 'keywords': [ (words(( - '_Alignas', '_Alignof', '_Noreturn', '_Generic', '_Thread_local', - '_Static_assert', '_Imaginary', 'noreturn', 'imaginary', 'complex'), + '_Alignas', '_Alignof', '_Noreturn', '_Countof', '_Generic', '_Thread_local', + '_Static_assert', '_Imaginary', 'countof', 'noreturn', 'imaginary', 'complex'), suffix=r'\b'), Keyword), inherit ], 'types': [ - (words(('_Bool', '_Complex', '_Atomic'), suffix=r'\b'), Keyword.Type), + (words(('_Bool', '_Complex', '_Atomic', '_Decimal32', '_Decimal64', '_Decimal128'), suffix=r'\b'), Keyword.Type), inherit ] } @@ -347,7 +347,8 @@ class CppLexer(CFamilyLexer): aliases = ['cpp', 'c++'] filenames = ['*.cpp', '*.hpp', '*.c++', '*.h++', '*.cc', '*.hh', '*.cxx', '*.hxx', - '*.C', '*.H', '*.cp', '*.CPP', '*.tpp'] + '*.C', '*.H', '*.cp', '*.CPP', '*.tpp', + '*.cppm', '*.ixx', '*.mxx'] mimetypes = ['text/x-c++hdr', 'text/x-c++src'] version_added = '' priority = 0.1 @@ -363,8 +364,8 @@ class CppLexer(CFamilyLexer): 'root': [ inherit, # C++ Microsoft-isms - (words(('virtual_inheritance', 'uuidof', 'super', 'single_inheritance', - 'multiple_inheritance', 'interface', 'event'), + (words(('virtual_inheritance', 'uuidof', 'super', 'extends', 'single_inheritance', + 'multiple_inheritance', 'interface', 'implements', 'event', 'finally', 'null'), prefix=r'__', suffix=r'\b'), Keyword.Reserved), # Offload C++ extensions, http://offload.codeplay.com/ (r'__(offload|blockingoffload|outer)\b', Keyword.Pseudo), @@ -385,11 +386,11 @@ class CppLexer(CFamilyLexer): 'export', 'friend', 'mutable', 'new', 'operator', 'private', 'protected', 'public', 'reinterpret_cast', 'class', '__restrict', 'static_cast', 'template', 'this', 'throw', 'throws', - 'try', 'typeid', 'using', 'virtual', 'constexpr', 'nullptr', 'concept', + 'try', 'typeid', 'using', 'virtual', 'concept', 'decltype', 'noexcept', 'override', 'final', 'constinit', 'consteval', 'co_await', 'co_return', 'co_yield', 'requires', 'import', 'module', 'typename', 'and', 'and_eq', 'bitand', 'bitor', 'compl', 'not', - 'not_eq', 'or', 'or_eq', 'xor', 'xor_eq'), + 'not_eq', 'or', 'or_eq', 'xor', 'xor_eq', 'contract_assert', 'pre', 'post'), suffix=r'\b'), Keyword), (r'namespace\b', Keyword, 'namespace'), (r'(enum)(\s+)', bygroups(Keyword, Whitespace), 'enumname'), diff --git a/contrib/python/Pygments/py3/pygments/lexers/c_like.py b/contrib/python/Pygments/py3/pygments/lexers/c_like.py index 1ba269e829b..24dea1ad284 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/c_like.py +++ b/contrib/python/Pygments/py3/pygments/lexers/c_like.py @@ -4,7 +4,7 @@ Lexers for other C-like languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/capnproto.py b/contrib/python/Pygments/py3/pygments/lexers/capnproto.py index 333760e15d7..1e819c7f876 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/capnproto.py +++ b/contrib/python/Pygments/py3/pygments/lexers/capnproto.py @@ -4,7 +4,7 @@ Lexers for the Cap'n Proto schema language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/carbon.py b/contrib/python/Pygments/py3/pygments/lexers/carbon.py index 702b37bc8d1..d45b78800cd 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/carbon.py +++ b/contrib/python/Pygments/py3/pygments/lexers/carbon.py @@ -4,7 +4,7 @@ Lexers for the Carbon programming language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re diff --git a/contrib/python/Pygments/py3/pygments/lexers/cddl.py b/contrib/python/Pygments/py3/pygments/lexers/cddl.py index fa0c85f10b0..38346ddb9dd 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/cddl.py +++ b/contrib/python/Pygments/py3/pygments/lexers/cddl.py @@ -8,7 +8,7 @@ More information: https://datatracker.ietf.org/doc/rfc8610/ - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/chapel.py b/contrib/python/Pygments/py3/pygments/lexers/chapel.py index 955a1579a96..1075d2f4981 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/chapel.py +++ b/contrib/python/Pygments/py3/pygments/lexers/chapel.py @@ -4,7 +4,7 @@ Lexer for the Chapel language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/clean.py b/contrib/python/Pygments/py3/pygments/lexers/clean.py index f96e7437376..1500e2c4c59 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/clean.py +++ b/contrib/python/Pygments/py3/pygments/lexers/clean.py @@ -4,7 +4,7 @@ Lexer for the Clean language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/codeql.py b/contrib/python/Pygments/py3/pygments/lexers/codeql.py index 3d06bec6c80..ab27bf50831 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/codeql.py +++ b/contrib/python/Pygments/py3/pygments/lexers/codeql.py @@ -7,7 +7,7 @@ The grammar is originating from: https://github.com/github/vscode-codeql/blob/main/syntaxes/README.md - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/comal.py b/contrib/python/Pygments/py3/pygments/lexers/comal.py index 3c89a59eaa9..6b0a8d11a81 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/comal.py +++ b/contrib/python/Pygments/py3/pygments/lexers/comal.py @@ -4,7 +4,7 @@ Lexer for COMAL-80. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/compiled.py b/contrib/python/Pygments/py3/pygments/lexers/compiled.py index 5e0cc188c7f..fb0a70364dd 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/compiled.py +++ b/contrib/python/Pygments/py3/pygments/lexers/compiled.py @@ -4,7 +4,7 @@ Just export lexer classes previously contained in this module. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/configs.py b/contrib/python/Pygments/py3/pygments/lexers/configs.py index 5e7f47b6dda..e5435923f50 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/configs.py +++ b/contrib/python/Pygments/py3/pygments/lexers/configs.py @@ -4,7 +4,7 @@ Lexers for configuration file formats. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -1127,7 +1127,7 @@ class TOMLLexer(RegexLexer): # Based on the TOML spec: https://toml.io/en/v1.0.0 # The following is adapted from CPython's tomllib: - _time = r"\d\d:\d\d:\d\d(\.\d+)?" + _time = r"\d\d:\d\d(:\d\d(\.\d+)?)?" _datetime = rf"""(?x) \d\d\d\d-\d\d-\d\d # date, e.g., 1988-10-27 ( @@ -1238,9 +1238,9 @@ class TOMLLexer(RegexLexer): default('value'), ], 'inline-table': [ - # Note that unlike inline arrays, inline tables do not - # allow newlines or comments. - (r'[ \t]+', Whitespace), + # Whitespace (since TOML 1.1.0, same as in array) + (r'\s+', Whitespace), + (r'#.*', Comment.Single), # Keys include('key'), @@ -1275,7 +1275,7 @@ class TOMLLexer(RegexLexer): (r"'", String.Single), ], 'escapes': [ - (r'\\u[0-9a-fA-F]{4}|\\U[0-9a-fA-F]{8}', String.Escape), + (r'\\x[0-9a-fA-F]{2}|\\u[0-9a-fA-F]{4}|\\U[0-9a-fA-F]{8}', String.Escape), (r'\\.', String.Escape), ], } diff --git a/contrib/python/Pygments/py3/pygments/lexers/console.py b/contrib/python/Pygments/py3/pygments/lexers/console.py index d66cbaa957d..546ba36e955 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/console.py +++ b/contrib/python/Pygments/py3/pygments/lexers/console.py @@ -4,7 +4,7 @@ Lexers for misc console output. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/cplint.py b/contrib/python/Pygments/py3/pygments/lexers/cplint.py index f8424252e64..8222afa4fc5 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/cplint.py +++ b/contrib/python/Pygments/py3/pygments/lexers/cplint.py @@ -4,7 +4,7 @@ Lexer for the cplint language - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/crystal.py b/contrib/python/Pygments/py3/pygments/lexers/crystal.py index f5da4f84c49..8fb471e9780 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/crystal.py +++ b/contrib/python/Pygments/py3/pygments/lexers/crystal.py @@ -4,7 +4,7 @@ Lexer for Crystal. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/csound.py b/contrib/python/Pygments/py3/pygments/lexers/csound.py index 403b66f9611..7be761c5a7c 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/csound.py +++ b/contrib/python/Pygments/py3/pygments/lexers/csound.py @@ -4,7 +4,7 @@ Lexers for Csound languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/css.py b/contrib/python/Pygments/py3/pygments/lexers/css.py index 97897db65c3..ed54d93c367 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/css.py +++ b/contrib/python/Pygments/py3/pygments/lexers/css.py @@ -4,7 +4,7 @@ Lexers for CSS and related stylesheet formats. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -590,13 +590,43 @@ class LessCssLexer(CssLexer): version_added = '2.1' tokens = { + # FIXME: It's not currently possible to simply do the following, + # as `include('basics')` doesn't take overrides into account: + # 'basics': [ + # (r'//.*\n', Comment.Single), + # (r'/\*(?:.|\n)*?\*/', Comment.Multiline), + # inherit, + # ], 'root': [ (r'@\w+', Name.Variable), + (r'//.*\n', Comment.Single), + (r'/\*(?:.|\n)*?\*/', Comment.Multiline), + inherit, + ], + 'atcontent': [ + (r'//.*\n', Comment.Single), + (r'/\*(?:.|\n)*?\*/', Comment.Multiline), + inherit, + ], + 'atrule': [ + (r'//.*\n', Comment.Single), + (r'/\*(?:.|\n)*?\*/', Comment.Multiline), inherit, ], 'content': [ (r'\{', Punctuation, '#push'), (r'//.*\n', Comment.Single), + (r'/\*(?:.|\n)*?\*/', Comment.Multiline), + inherit, + ], + 'value-start': [ + (r'//.*\n', Comment.Single), + (r'/\*(?:.|\n)*?\*/', Comment.Multiline), + inherit, + ], + 'function-start': [ + (r'//.*\n', Comment.Single), + (r'/\*(?:.|\n)*?\*/', Comment.Multiline), inherit, ], } diff --git a/contrib/python/Pygments/py3/pygments/lexers/d.py b/contrib/python/Pygments/py3/pygments/lexers/d.py index a0b56e9ca73..e85c33c942a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/d.py +++ b/contrib/python/Pygments/py3/pygments/lexers/d.py @@ -4,7 +4,7 @@ Lexers for D languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/dalvik.py b/contrib/python/Pygments/py3/pygments/lexers/dalvik.py index 1ac332bfa21..2d70562955c 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/dalvik.py +++ b/contrib/python/Pygments/py3/pygments/lexers/dalvik.py @@ -4,7 +4,7 @@ Pygments lexers for Dalvik VM-related languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/data.py b/contrib/python/Pygments/py3/pygments/lexers/data.py index f4320325274..2901d2acb4e 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/data.py +++ b/contrib/python/Pygments/py3/pygments/lexers/data.py @@ -4,7 +4,7 @@ Lexers for data file format. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -447,7 +447,7 @@ class JsonLexer(Lexer): name = 'JSON' url = 'https://www.json.org' aliases = ['json', 'json-object'] - filenames = ['*.json', '*.jsonl', '*.ndjson', 'Pipfile.lock'] + filenames = ['*.json', '*.jsonl', '*.ndjson', 'Pipfile.lock', '*.module', '*.xc'] mimetypes = ['application/json', 'application/json-object', 'application/x-ndjson', 'application/jsonl', 'application/json-seq'] version_added = '1.5' diff --git a/contrib/python/Pygments/py3/pygments/lexers/dax.py b/contrib/python/Pygments/py3/pygments/lexers/dax.py index 9c333947ea3..d9b7970518a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/dax.py +++ b/contrib/python/Pygments/py3/pygments/lexers/dax.py @@ -4,7 +4,7 @@ Lexer for LilyPond. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/devicetree.py b/contrib/python/Pygments/py3/pygments/lexers/devicetree.py index a9b0b7aa409..09860b960cc 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/devicetree.py +++ b/contrib/python/Pygments/py3/pygments/lexers/devicetree.py @@ -4,7 +4,7 @@ Lexers for Devicetree language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -63,15 +63,19 @@ class DevicetreeLexer(RegexLexer): '#size-cells', 'reg', 'virtual-reg', 'ranges', 'dma-ranges', 'device_type', 'name'), suffix=r'\b'), Keyword.Reserved), (r'([~!%^&*+=|?:<>/#-])', Operator), - (r'[()\[\]{},.]', Punctuation), - (r'[a-zA-Z_][\w-]*(?=(?:\s*,\s*[a-zA-Z_][\w-]*|(?:' + _ws + r'))*\s*[=;])', + (r'[(){},.\]]', Punctuation), + (r'\[', Punctuation, 'bytestring'), + (r'[a-zA-Z_][\w-]*(?=(?:\s*,' + _ws + r'[a-zA-Z_][\w-]*)*' + _ws + r'[=;])', Name), (r'[a-zA-Z_]\w*', Name.Attribute), ], 'root': [ include('whitespace'), include('macro'), - + # Overlay/fragment: &label { ... } or &{/path/to/node} { ... } + (r'(&)(?:([A-Za-z_]\w*)|(\{)([^}]+)(\}))(' + _ws + r')(\{)', + bygroups(Operator, Name.Function, Punctuation, Name.Namespace, + Punctuation, Comment.Multiline, Punctuation), 'node'), # Nodes (r'([^/*@\s&]+|/)(@?)((?:0x)?[0-9a-fA-F,]*)(' + _ws + r')(\{)', bygroups(Name.Function, Operator, Number.Integer, @@ -87,7 +91,10 @@ class DevicetreeLexer(RegexLexer): 'node': [ include('whitespace'), include('macro'), - + # Overlay/fragment: &label { ... } or &{/path/to/node} { ... } + (r'(&)(?:([A-Za-z_]\w*)|(\{)([^}]+)(\}))(' + _ws + r')(\{)', + bygroups(Operator, Name.Function, Punctuation, Name.Namespace, + Punctuation, Comment.Multiline, Punctuation), '#push'), (r'([^/*@\s&]+|/)(@?)((?:0x)?[0-9a-fA-F,]*)(' + _ws + r')(\{)', bygroups(Name.Function, Operator, Number.Integer, Comment.Multiline, Punctuation), '#push'), @@ -105,4 +112,9 @@ class DevicetreeLexer(RegexLexer): (r'\\\n', String), # line continuation (r'\\', String), # stray backslash ], + 'bytestring': [ + (r'\]', Punctuation, '#pop'), + (r'[0-9a-fA-F]{2}', Number.Hex), + (r'\s+', Whitespace), + ], } diff --git a/contrib/python/Pygments/py3/pygments/lexers/diff.py b/contrib/python/Pygments/py3/pygments/lexers/diff.py index ed7007f5b17..b298a3c1235 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/diff.py +++ b/contrib/python/Pygments/py3/pygments/lexers/diff.py @@ -4,7 +4,7 @@ Lexers for diff/patch formats. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/dns.py b/contrib/python/Pygments/py3/pygments/lexers/dns.py index 3fb91f571fb..121cf1f797a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/dns.py +++ b/contrib/python/Pygments/py3/pygments/lexers/dns.py @@ -4,7 +4,7 @@ Pygments lexers for DNS - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/dotnet.py b/contrib/python/Pygments/py3/pygments/lexers/dotnet.py index 2254a8b2ee9..dbee643a636 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/dotnet.py +++ b/contrib/python/Pygments/py3/pygments/lexers/dotnet.py @@ -4,7 +4,7 @@ Lexers for .net languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re diff --git a/contrib/python/Pygments/py3/pygments/lexers/dsls.py b/contrib/python/Pygments/py3/pygments/lexers/dsls.py index d30c11249ef..a928683e717 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/dsls.py +++ b/contrib/python/Pygments/py3/pygments/lexers/dsls.py @@ -4,7 +4,7 @@ Lexers for various domain-specific languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -67,7 +67,7 @@ class ProtoBufLexer(RegexLexer): (r'[a-zA-Z_][\w.]*', Name), ], 'package': [ - (r'[a-zA-Z_]\w*', Name.Namespace, '#pop'), + (r'[a-zA-Z_][\w\.]*', Name.Namespace, '#pop'), default('#pop'), ], 'message': [ diff --git a/contrib/python/Pygments/py3/pygments/lexers/dylan.py b/contrib/python/Pygments/py3/pygments/lexers/dylan.py index 2109bd52c8f..c75781580e6 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/dylan.py +++ b/contrib/python/Pygments/py3/pygments/lexers/dylan.py @@ -4,7 +4,7 @@ Lexers for the Dylan language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/ecl.py b/contrib/python/Pygments/py3/pygments/lexers/ecl.py index f1ee3bf176d..2e6d3471964 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/ecl.py +++ b/contrib/python/Pygments/py3/pygments/lexers/ecl.py @@ -4,7 +4,7 @@ Lexers for the ECL language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/eiffel.py b/contrib/python/Pygments/py3/pygments/lexers/eiffel.py index 691c718736d..c8b7eab5fb7 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/eiffel.py +++ b/contrib/python/Pygments/py3/pygments/lexers/eiffel.py @@ -4,7 +4,7 @@ Lexer for the Eiffel language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/elm.py b/contrib/python/Pygments/py3/pygments/lexers/elm.py index cebbbf00295..201ffc340e2 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/elm.py +++ b/contrib/python/Pygments/py3/pygments/lexers/elm.py @@ -4,7 +4,7 @@ Lexer for the Elm programming language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/elpi.py b/contrib/python/Pygments/py3/pygments/lexers/elpi.py index 5e4b1e5a0ed..4e099ba62de 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/elpi.py +++ b/contrib/python/Pygments/py3/pygments/lexers/elpi.py @@ -4,7 +4,7 @@ Lexer for the `Elpi <http://github.com/LPCIC/elpi>`_ programming language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -14,7 +14,7 @@ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \ __all__ = ['ElpiLexer'] -from pygments.lexers.theorem import CoqLexer +from pygments.lexers.theorem import RocqLexer class ElpiLexer(RegexLexer): """ @@ -57,6 +57,9 @@ class ElpiLexer(RegexLexer): (rf"\b(external pred|pred)(\s+)({const_sym_re})", bygroups(Keyword.Declaration, Text.Whitespace, Name.Function), 'elpi-pred-item'), + (rf"\b(func)(\s+)({const_sym_re})", + bygroups(Keyword.Declaration, Text.Whitespace, Name.Function), + 'elpi-func-item'), (rf"\b(external type|type)(\s+)(({const_sym_re}(,\s*)?)+)", bygroups(Keyword.Declaration, Text.Whitespace, Name.Function), 'elpi-type'), @@ -110,6 +113,7 @@ class ElpiLexer(RegexLexer): 'elpi-type': [ (r"(ctype\s+)(\")", bygroups(Keyword.Type, String.Double), 'elpi-string'), (r'->', Keyword.Type), + (r'prop', Keyword.Mode), (constant_re, Keyword.Type), (r"\(|\)", Keyword.Type), (r"\.", Text, '#pop'), @@ -126,19 +130,41 @@ class ElpiLexer(RegexLexer): include('elpi'), ], 'elpi-pred-item': [ - (r"[io]:", Keyword.Mode, 'elpi-ctype'), + (r"[io]:", Keyword.Mode), (r"\.", Text, '#pop'), + (r",", Keyword.Mode), + include('_elpi-inner-pred-fun'), + (r"\)", Keyword.Mode, '#pop'), + (r"\(", Keyword.Type, '_elpi-type-item'), include('_elpi-comment'), + include('_elpi-type-item'), ], - 'elpi-ctype': [ - (r"(ctype\s+)(\")", bygroups(Keyword.Type, String.Double), 'elpi-string'), + 'elpi-func-item': [ + (constant_re, Keyword.Type), + (r"\.", Text, '#pop'), + (r",", Keyword.Mode), + (r'->', Keyword.Mode), + include('_elpi-inner-pred-fun'), + (r"\)", Keyword.Mode, '#pop'), + (r"\(", Keyword.Type, '_elpi-type-item'), + include('_elpi-comment'), + include('_elpi-type-item'), + ], + '_elpi-inner-pred-fun': [ + (r"(\()(\s*)(pred)", bygroups(Keyword.Mode,Text.Whitespace,Keyword.Declaration), 'elpi-pred-item'), + (r"(\()(\s*)(func)", bygroups(Keyword.Mode,Text.Whitespace,Keyword.Declaration), 'elpi-func-item'), + ], + '_elpi-type-item': [ (r'->', Keyword.Type), (constant_re, Keyword.Type), - (r"\(|\)", Keyword.Type), - (r",", Text, '#pop'), - (r"\.", Text, '#pop:2'), + include('_elpi-inner-pred-fun'), + (r"\(", Keyword.Type, '#push'), + (r"\)", Keyword.Type, '#pop'), include('_elpi-comment'), ], + + '' + 'elpi-btick': [ (r'[^` ]+', String.Double), (r'`', String.Double, '#pop'), @@ -156,7 +182,7 @@ class ElpiLexer(RegexLexer): (r"\s+", Text.Whitespace), (r"(lp:)(\{\{)", bygroups(Number, Punctuation), 'elpi-quote-exit'), (rf"(lp:)((?=[A-Z_]){constant_re})", bygroups(Number, Name.Variable)), - (r"((?!lp:|\}\}).)+", using(CoqLexer)), + (r"((?!lp:|\}\}).)+", using(RocqLexer)), ], 'elpi-quote-exit': [ include('elpi'), diff --git a/contrib/python/Pygments/py3/pygments/lexers/email.py b/contrib/python/Pygments/py3/pygments/lexers/email.py index ea071c80026..194c19e125c 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/email.py +++ b/contrib/python/Pygments/py3/pygments/lexers/email.py @@ -4,7 +4,7 @@ Lexer for the raw E-mail. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/erlang.py b/contrib/python/Pygments/py3/pygments/lexers/erlang.py index 120f5049fdc..5c7cd616381 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/erlang.py +++ b/contrib/python/Pygments/py3/pygments/lexers/erlang.py @@ -4,7 +4,7 @@ Lexers for Erlang. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/esoteric.py b/contrib/python/Pygments/py3/pygments/lexers/esoteric.py index fe3825c356e..7b766129782 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/esoteric.py +++ b/contrib/python/Pygments/py3/pygments/lexers/esoteric.py @@ -4,7 +4,7 @@ Lexers for esoteric languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/ezhil.py b/contrib/python/Pygments/py3/pygments/lexers/ezhil.py index aeb71ab0ce7..164424d8aa5 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/ezhil.py +++ b/contrib/python/Pygments/py3/pygments/lexers/ezhil.py @@ -4,7 +4,7 @@ Pygments lexers for Ezhil language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/factor.py b/contrib/python/Pygments/py3/pygments/lexers/factor.py index 2ec3f9be251..6c1060149d0 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/factor.py +++ b/contrib/python/Pygments/py3/pygments/lexers/factor.py @@ -4,7 +4,7 @@ Lexers for the Factor language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/fantom.py b/contrib/python/Pygments/py3/pygments/lexers/fantom.py index 7228554ba9b..556df5145f0 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/fantom.py +++ b/contrib/python/Pygments/py3/pygments/lexers/fantom.py @@ -4,7 +4,7 @@ Lexer for the Fantom language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/felix.py b/contrib/python/Pygments/py3/pygments/lexers/felix.py index a42ac080576..442616248d2 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/felix.py +++ b/contrib/python/Pygments/py3/pygments/lexers/felix.py @@ -4,7 +4,7 @@ Lexer for the Felix language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/fift.py b/contrib/python/Pygments/py3/pygments/lexers/fift.py index 1263236c9c8..c813ee788fc 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/fift.py +++ b/contrib/python/Pygments/py3/pygments/lexers/fift.py @@ -4,7 +4,7 @@ Lexers for fift. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/floscript.py b/contrib/python/Pygments/py3/pygments/lexers/floscript.py index 9c7eaab5a6e..776b033cad4 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/floscript.py +++ b/contrib/python/Pygments/py3/pygments/lexers/floscript.py @@ -4,7 +4,7 @@ Lexer for FloScript - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/forth.py b/contrib/python/Pygments/py3/pygments/lexers/forth.py index 51f75affb4d..6d6c764db66 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/forth.py +++ b/contrib/python/Pygments/py3/pygments/lexers/forth.py @@ -4,7 +4,7 @@ Lexer for the Forth language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/fortran.py b/contrib/python/Pygments/py3/pygments/lexers/fortran.py index a6230f0249c..d4bceb8c450 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/fortran.py +++ b/contrib/python/Pygments/py3/pygments/lexers/fortran.py @@ -4,7 +4,7 @@ Lexers for Fortran languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/foxpro.py b/contrib/python/Pygments/py3/pygments/lexers/foxpro.py index 3e7c056975e..9ce82c12d07 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/foxpro.py +++ b/contrib/python/Pygments/py3/pygments/lexers/foxpro.py @@ -4,7 +4,7 @@ Simple lexer for Microsoft Visual FoxPro source code. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/freefem.py b/contrib/python/Pygments/py3/pygments/lexers/freefem.py index 87b066b1a0d..89580699154 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/freefem.py +++ b/contrib/python/Pygments/py3/pygments/lexers/freefem.py @@ -4,7 +4,7 @@ Lexer for FreeFem++ language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/func.py b/contrib/python/Pygments/py3/pygments/lexers/func.py index d8c912a3e08..ef4b27e7530 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/func.py +++ b/contrib/python/Pygments/py3/pygments/lexers/func.py @@ -4,7 +4,7 @@ Lexers for FunC. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/functional.py b/contrib/python/Pygments/py3/pygments/lexers/functional.py index 6a051d8fd3a..261d7d87615 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/functional.py +++ b/contrib/python/Pygments/py3/pygments/lexers/functional.py @@ -4,7 +4,7 @@ Just export lexer classes previously contained in this module. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -13,7 +13,7 @@ from pygments.lexers.lisp import SchemeLexer, CommonLispLexer, RacketLexer, \ NewLispLexer, ShenLexer from pygments.lexers.haskell import HaskellLexer, LiterateHaskellLexer, \ KokaLexer -from pygments.lexers.theorem import CoqLexer +from pygments.lexers.theorem import RocqLexer from pygments.lexers.erlang import ErlangLexer, ErlangShellLexer, \ ElixirConsoleLexer, ElixirLexer from pygments.lexers.ml import SMLLexer, OcamlLexer, OpaLexer diff --git a/contrib/python/Pygments/py3/pygments/lexers/futhark.py b/contrib/python/Pygments/py3/pygments/lexers/futhark.py index dd2efe83e70..2908d3fc77e 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/futhark.py +++ b/contrib/python/Pygments/py3/pygments/lexers/futhark.py @@ -4,7 +4,7 @@ Lexer for the Futhark language - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/gcodelexer.py b/contrib/python/Pygments/py3/pygments/lexers/gcodelexer.py index 9e968bd6b67..c7d64de00f1 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/gcodelexer.py +++ b/contrib/python/Pygments/py3/pygments/lexers/gcodelexer.py @@ -4,7 +4,7 @@ Lexers for the G Code Language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/gdscript.py b/contrib/python/Pygments/py3/pygments/lexers/gdscript.py index 6dfe5897672..a43c754ca6c 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/gdscript.py +++ b/contrib/python/Pygments/py3/pygments/lexers/gdscript.py @@ -7,7 +7,7 @@ Modified by Daniel J. Ramirez <[email protected]> based on the original python.py. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/gleam.py b/contrib/python/Pygments/py3/pygments/lexers/gleam.py index 19047e13e28..0df79553e4c 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/gleam.py +++ b/contrib/python/Pygments/py3/pygments/lexers/gleam.py @@ -4,7 +4,7 @@ Lexer for the Gleam programming language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/go.py b/contrib/python/Pygments/py3/pygments/lexers/go.py index 77a0fbce97c..f698d4cc6d0 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/go.py +++ b/contrib/python/Pygments/py3/pygments/lexers/go.py @@ -4,7 +4,7 @@ Lexers for the Google Go language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/grammar_notation.py b/contrib/python/Pygments/py3/pygments/lexers/grammar_notation.py index 45274fd1404..4290f212461 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/grammar_notation.py +++ b/contrib/python/Pygments/py3/pygments/lexers/grammar_notation.py @@ -4,7 +4,7 @@ Lexers for grammar notations like BNF. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/graph.py b/contrib/python/Pygments/py3/pygments/lexers/graph.py index 01d75743abe..28487174ade 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/graph.py +++ b/contrib/python/Pygments/py3/pygments/lexers/graph.py @@ -4,7 +4,7 @@ Lexers for graph query languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/graphics.py b/contrib/python/Pygments/py3/pygments/lexers/graphics.py index 400be4fd895..39b5f5eaf0c 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/graphics.py +++ b/contrib/python/Pygments/py3/pygments/lexers/graphics.py @@ -4,7 +4,7 @@ Lexers for computer graphics and plotting related languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/graphql.py b/contrib/python/Pygments/py3/pygments/lexers/graphql.py index 7de5b6e7cf4..466bcf3959b 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/graphql.py +++ b/contrib/python/Pygments/py3/pygments/lexers/graphql.py @@ -8,7 +8,7 @@ More information: https://graphql.org/ - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/graphviz.py b/contrib/python/Pygments/py3/pygments/lexers/graphviz.py index 6b4841554f4..8802e03a19b 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/graphviz.py +++ b/contrib/python/Pygments/py3/pygments/lexers/graphviz.py @@ -4,7 +4,7 @@ Lexer for the DOT language (graphviz). - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/gsql.py b/contrib/python/Pygments/py3/pygments/lexers/gsql.py index 9ff187889f7..13ae58c81d5 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/gsql.py +++ b/contrib/python/Pygments/py3/pygments/lexers/gsql.py @@ -4,7 +4,7 @@ Lexers for TigerGraph GSQL graph query language - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/hare.py b/contrib/python/Pygments/py3/pygments/lexers/hare.py index 56548d5e59f..378f099a294 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/hare.py +++ b/contrib/python/Pygments/py3/pygments/lexers/hare.py @@ -4,7 +4,7 @@ Lexers for the Hare language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/haskell.py b/contrib/python/Pygments/py3/pygments/lexers/haskell.py index 0a9f2c15a74..c6561d883bd 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/haskell.py +++ b/contrib/python/Pygments/py3/pygments/lexers/haskell.py @@ -4,7 +4,7 @@ Lexers for Haskell and related languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -53,7 +53,8 @@ class HaskellLexer(RegexLexer): (r'\bmodule\b', Keyword.Reserved, 'module'), (r'\berror\b', Name.Exception), (r'\b({})(?!\')\b'.format('|'.join(reserved)), Keyword.Reserved), - (r"'[^\\]'", String.Char), # this has to come before the TH quote + (r"'[^\\]'", String.Char), # character literal + (r"'\\.'", String.Char), # escape character literal (e.g. '\n') (r'^[_' + uni.Ll + r'][\w\']*', Name.Function), (r"'?[_" + uni.Ll + r"][\w']*", Name), (r"('')?[" + uni.Lu + r"][\w\']*", Keyword.Type), diff --git a/contrib/python/Pygments/py3/pygments/lexers/haxe.py b/contrib/python/Pygments/py3/pygments/lexers/haxe.py index 66bd2a350f3..7af24017863 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/haxe.py +++ b/contrib/python/Pygments/py3/pygments/lexers/haxe.py @@ -4,7 +4,7 @@ Lexers for Haxe and related stuff. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -890,8 +890,14 @@ class HaxeLexer(ExtendedRegexLexer): } def analyse_text(text): - if re.match(r'\w+\s*:\s*\w', text): - return 0.3 + rv = 0 + if re.search(r'\bimport\s+haxe\.', text): + rv = max(rv, 0.2) + if re.search(r'\bStd\.', text): + rv = max(rv, 0.1) + if re.search(r'\btrace\s*\(', text): + rv = max(rv, 0.05) + return rv class HxmlLexer(RegexLexer): diff --git a/contrib/python/Pygments/py3/pygments/lexers/hdl.py b/contrib/python/Pygments/py3/pygments/lexers/hdl.py index d22b66ff6a0..85f18f31965 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/hdl.py +++ b/contrib/python/Pygments/py3/pygments/lexers/hdl.py @@ -4,7 +4,7 @@ Lexers for hardware descriptor languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/hexdump.py b/contrib/python/Pygments/py3/pygments/lexers/hexdump.py index 4da4edb6af7..41fb0590832 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/hexdump.py +++ b/contrib/python/Pygments/py3/pygments/lexers/hexdump.py @@ -4,7 +4,7 @@ Lexers for hexadecimal dumps. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/html.py b/contrib/python/Pygments/py3/pygments/lexers/html.py index 66ba6609f7d..4720a3c4604 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/html.py +++ b/contrib/python/Pygments/py3/pygments/lexers/html.py @@ -4,7 +4,7 @@ Lexers for HTML, XML and related markup. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -202,7 +202,7 @@ class XmlLexer(RegexLexer): name = 'XML' aliases = ['xml'] filenames = ['*.xml', '*.xsl', '*.rss', '*.xslt', '*.xsd', - '*.wsdl', '*.wsf'] + '*.wsdl', '*.wsf', '*.xbrl', '*.pom'] mimetypes = ['text/xml', 'application/xml', 'image/svg+xml', 'application/rss+xml', 'application/atom+xml'] url = 'https://www.w3.org/XML' diff --git a/contrib/python/Pygments/py3/pygments/lexers/idl.py b/contrib/python/Pygments/py3/pygments/lexers/idl.py index 21b8d3130c7..adbe8cd3d97 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/idl.py +++ b/contrib/python/Pygments/py3/pygments/lexers/idl.py @@ -4,7 +4,7 @@ Lexers for IDL. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/igor.py b/contrib/python/Pygments/py3/pygments/lexers/igor.py index 136c5b89224..efda038abaf 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/igor.py +++ b/contrib/python/Pygments/py3/pygments/lexers/igor.py @@ -4,7 +4,7 @@ Lexers for Igor Pro. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/inferno.py b/contrib/python/Pygments/py3/pygments/lexers/inferno.py index b5caf55a002..7807953cdf4 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/inferno.py +++ b/contrib/python/Pygments/py3/pygments/lexers/inferno.py @@ -4,7 +4,7 @@ Lexers for Inferno os and all the related stuff. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/installers.py b/contrib/python/Pygments/py3/pygments/lexers/installers.py index 3f12a25b2ce..c45bac90e83 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/installers.py +++ b/contrib/python/Pygments/py3/pygments/lexers/installers.py @@ -4,7 +4,7 @@ Lexers for installer/packager DSLs and formats. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -343,7 +343,7 @@ class DebianControlLexer(RegexLexer): (r'\n', Whitespace, '#pop'), (r'[,\s]', Text), (r'[+.a-zA-Z0-9-]+', Name.Function), - (r'\[.*?\]', Name.Entity), + (r'(\[)(!?)(.*?)(\])', bygroups(Punctuation, Operator, Name.Entity, Punctuation)), ], 'package_list_vers': [ (r'\)', Punctuation, '#pop'), diff --git a/contrib/python/Pygments/py3/pygments/lexers/int_fiction.py b/contrib/python/Pygments/py3/pygments/lexers/int_fiction.py index b142c544990..75b1ab98beb 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/int_fiction.py +++ b/contrib/python/Pygments/py3/pygments/lexers/int_fiction.py @@ -4,7 +4,7 @@ Lexers for interactive fiction languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/iolang.py b/contrib/python/Pygments/py3/pygments/lexers/iolang.py index 0269384fac1..f565fe8d6e2 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/iolang.py +++ b/contrib/python/Pygments/py3/pygments/lexers/iolang.py @@ -4,7 +4,7 @@ Lexers for the Io language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/j.py b/contrib/python/Pygments/py3/pygments/lexers/j.py index 1eb418e1c38..3a1144c8536 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/j.py +++ b/contrib/python/Pygments/py3/pygments/lexers/j.py @@ -4,7 +4,7 @@ Lexer for the J programming language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/javascript.py b/contrib/python/Pygments/py3/pygments/lexers/javascript.py index d361b6e716e..fd1ac079bda 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/javascript.py +++ b/contrib/python/Pygments/py3/pygments/lexers/javascript.py @@ -4,7 +4,7 @@ Lexers for JavaScript and related languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/jmespath.py b/contrib/python/Pygments/py3/pygments/lexers/jmespath.py index 67374c28c1e..91b2270d41d 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/jmespath.py +++ b/contrib/python/Pygments/py3/pygments/lexers/jmespath.py @@ -4,7 +4,7 @@ Lexers for the JMESPath language - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/jslt.py b/contrib/python/Pygments/py3/pygments/lexers/jslt.py index f2cc5df5fa6..28dd53f1454 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/jslt.py +++ b/contrib/python/Pygments/py3/pygments/lexers/jslt.py @@ -4,7 +4,7 @@ Lexers for the JSLT language - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/json5.py b/contrib/python/Pygments/py3/pygments/lexers/json5.py index 35d769c312f..265c58305de 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/json5.py +++ b/contrib/python/Pygments/py3/pygments/lexers/json5.py @@ -4,7 +4,7 @@ Lexer for Json5 file format. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/jsonnet.py b/contrib/python/Pygments/py3/pygments/lexers/jsonnet.py index f9aa5953f0e..91d21c5f847 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/jsonnet.py +++ b/contrib/python/Pygments/py3/pygments/lexers/jsonnet.py @@ -4,7 +4,7 @@ Lexer for Jsonnet data templating language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/jsx.py b/contrib/python/Pygments/py3/pygments/lexers/jsx.py index 6124d8c00ec..cbfeeeda1ee 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/jsx.py +++ b/contrib/python/Pygments/py3/pygments/lexers/jsx.py @@ -4,7 +4,7 @@ Lexers for JSX (React) and TSX (TypeScript flavor). - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/julia.py b/contrib/python/Pygments/py3/pygments/lexers/julia.py index 77d8bafcdb2..ba0e0d98756 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/julia.py +++ b/contrib/python/Pygments/py3/pygments/lexers/julia.py @@ -4,7 +4,7 @@ Lexers for the Julia language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/jvm.py b/contrib/python/Pygments/py3/pygments/lexers/jvm.py index 3ca257a95ba..b29bee335d4 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/jvm.py +++ b/contrib/python/Pygments/py3/pygments/lexers/jvm.py @@ -4,7 +4,7 @@ Pygments lexers for JVM languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -55,16 +55,17 @@ class JavaLexer(RegexLexer): r'(\s*)(\()', # signature start bygroups(using(this), Name.Function, Whitespace, Punctuation)), (r'@[^\W\d][\w.]*', Name.Decorator), - (r'(abstract|const|enum|extends|final|implements|native|private|' - r'protected|public|sealed|static|strictfp|super|synchronized|throws|' - r'transient|volatile|yield)\b', Keyword.Declaration), + (r'(abstract|const|enum|exports|extends|final|implements|native|non-sealed|' + r'open|opens|permits|private|protected|provides|public|requires|sealed|static|strictfp|' + r'super|synchronized|throws|to|transient|transitive|uses|volatile|with|yield)\b', Keyword.Declaration), (r'(boolean|byte|char|double|float|int|long|short|void)\b', Keyword.Type), (r'(package)(\s+)', bygroups(Keyword.Namespace, Whitespace), 'import'), (r'(true|false|null)\b', Keyword.Constant), (r'(class|interface)\b', Keyword.Declaration, 'class'), + (r'(module)\b', Keyword.Declaration, 'module'), (r'(var)(\s+)', bygroups(Keyword.Declaration, Whitespace), 'var'), - (r'(import(?:\s+static)?)(\s+)', bygroups(Keyword.Namespace, Whitespace), + (r'(import(?:\s+(?:static|module))?)(\s+)', bygroups(Keyword.Namespace, Whitespace), 'import'), (r'"""\n', String, 'multiline_string'), (r'"', String, 'string'), @@ -95,6 +96,10 @@ class JavaLexer(RegexLexer): (r'\s+', Text), (r'([^\W\d]|\$)[\w$]*', Name.Class, '#pop') ], + 'module': [ + (r'\s+', Text), + (r'([^\W\d]|\$)[\w$]*', Name.Class, '#pop') + ], 'var': [ (r'([^\W\d]|\$)[\w$]*', Name, '#pop') ], diff --git a/contrib/python/Pygments/py3/pygments/lexers/kuin.py b/contrib/python/Pygments/py3/pygments/lexers/kuin.py index 686a1c7ecd4..04a99c175cb 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/kuin.py +++ b/contrib/python/Pygments/py3/pygments/lexers/kuin.py @@ -4,7 +4,7 @@ Lexers for the Kuin language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/kusto.py b/contrib/python/Pygments/py3/pygments/lexers/kusto.py index ce32d5eeec6..8012348578a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/kusto.py +++ b/contrib/python/Pygments/py3/pygments/lexers/kusto.py @@ -4,7 +4,7 @@ Lexers for Kusto Query Language (KQL). - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/ldap.py b/contrib/python/Pygments/py3/pygments/lexers/ldap.py index 65473da67b4..b95fc0c2857 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/ldap.py +++ b/contrib/python/Pygments/py3/pygments/lexers/ldap.py @@ -4,7 +4,7 @@ Pygments lexers for LDAP. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/lean.py b/contrib/python/Pygments/py3/pygments/lexers/lean.py index 76af11fe909..41658c5ef26 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/lean.py +++ b/contrib/python/Pygments/py3/pygments/lexers/lean.py @@ -4,7 +4,7 @@ Lexers for the Lean theorem prover. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -136,7 +136,7 @@ class Lean4Lexer(RegexLexer): """ For the Lean 4 theorem prover. """ - + name = 'Lean4' url = 'https://github.com/leanprover/lean4' aliases = ['lean4'] @@ -186,7 +186,7 @@ class Lean4Lexer(RegexLexer): ) punctuation = ('(', ')', ':', '{', '}', '[', ']', '⦃', '⦄', - ':=', ',') + ':=', ',', ']\'', ']?', ']!') tokens = { 'expression': [ diff --git a/contrib/python/Pygments/py3/pygments/lexers/lilypond.py b/contrib/python/Pygments/py3/pygments/lexers/lilypond.py index 03c34ae5919..7e702928572 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/lilypond.py +++ b/contrib/python/Pygments/py3/pygments/lexers/lilypond.py @@ -4,7 +4,7 @@ Lexer for LilyPond. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/lisp.py b/contrib/python/Pygments/py3/pygments/lexers/lisp.py index 2c970d9395b..d74fc460f49 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/lisp.py +++ b/contrib/python/Pygments/py3/pygments/lexers/lisp.py @@ -4,7 +4,7 @@ Lexers for Lispy languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -441,7 +441,7 @@ class CommonLispLexer(RegexLexer): (r'(#s)(\()', bygroups(Literal.Other, Punctuation), 'body'), # path - (r'#p?"(\\.|[^"])*"', Literal.Other), + (r'#p?"(\\.|[^"\\])*"', Literal.Other), # reference (r'#\d+=', Operator), @@ -2756,19 +2756,22 @@ class FennelLexer(RegexLexer): name = 'Fennel' url = 'https://fennel-lang.org' aliases = ['fennel', 'fnl'] - filenames = ['*.fnl'] + filenames = ['*.fnl', '*.fnlm'] + mimetypes = ['text/x-fennel'] version_added = '2.3' - # this list is current as of Fennel version 0.10.0. + # this list is current as of Fennel version 1.5.3 special_forms = ( - '#', '%', '*', '+', '-', '->', '->>', '-?>', '-?>>', '.', '..', - '/', '//', ':', '<', '<=', '=', '>', '>=', '?.', '^', 'accumulate', - 'and', 'band', 'bnot', 'bor', 'bxor', 'collect', 'comment', 'do', 'doc', - 'doto', 'each', 'eval-compiler', 'for', 'hashfn', 'icollect', 'if', - 'import-macros', 'include', 'length', 'let', 'lshift', 'lua', - 'macrodebug', 'match', 'not', 'not=', 'or', 'partial', 'pick-args', - 'pick-values', 'quote', 'require-macros', 'rshift', 'set', - 'set-forcibly!', 'tset', 'values', 'when', 'while', 'with-open', '~=' + '#', '%', '*', '+', '-', '->', '->>', '-?>', '-?>>', '.', '..', '/', + '//', ':', '<', '<=', '=', '>', '>=', '?.', '^', 'accumulate', 'and', + 'assert-repl', 'band', 'bnot', 'bor', 'bxor', 'case', 'case-try', + 'collect', 'comment', 'do', 'doto', 'each', 'eval-compiler', + 'faccumulate', 'fcollect', 'for', 'hashfn', 'icollect', + 'if', 'import-macros', 'include', 'length', 'let', + 'lshift', 'lua', 'macrodebug', 'match', 'match-try', + 'not', 'not=', 'or', 'partial', 'pick-args', 'pick-values', 'quote', + 'require-macros', 'rshift', 'set', 'set-forcibly!', 'tail!', 'tset', + 'unquote', 'values', 'when', 'while', 'with-open', '~=' ) declarations = ( @@ -2826,6 +2829,9 @@ class FennelLexer(RegexLexer): # the # symbol is shorthand for a lambda function (r'#', Punctuation), + + # backtick is used for quoting macros + (r'`', Punctuation), ] } diff --git a/contrib/python/Pygments/py3/pygments/lexers/macaulay2.py b/contrib/python/Pygments/py3/pygments/lexers/macaulay2.py index 77b841d831b..bb0786b0271 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/macaulay2.py +++ b/contrib/python/Pygments/py3/pygments/lexers/macaulay2.py @@ -4,7 +4,7 @@ Lexer for Macaulay2. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -13,13 +13,14 @@ from pygments.token import Comment, Keyword, Name, String, Text __all__ = ['Macaulay2Lexer'] -# Auto-generated for Macaulay2-1.24.11. Do not modify this file manually. +# Auto-generated for Macaulay2-1.25.11. Do not modify this file manually. M2KEYWORDS = ( "SPACE", "TEST", "and", "break", + "breakpoint", "catch", "continue", "do", @@ -37,6 +38,7 @@ M2KEYWORDS = ( "not", "of", "or", + "profile", "return", "shield", "step", @@ -77,7 +79,6 @@ M2DATATYPES = ( "CDATA", "CODE", "COMMENT", - "CacheFunction", "CacheTable", "ChainComplex", "ChainComplexMap", @@ -137,6 +138,7 @@ M2DATATYPES = ( "HypertextContainer", "HypertextParagraph", "HypertextVoid", + "IFRAME", "IMG", "INDENT", "INPUT", @@ -456,6 +458,7 @@ M2FUNCTIONS = ( "diff", "difference", "dim", + "directProduct", "directSum", "disassemble", "discriminant", @@ -589,6 +592,7 @@ M2FUNCTIONS = ( "icMap", "icPIdeal", "ideal", + "idealSheaf", "idealizer", "identity", "image", @@ -633,6 +637,7 @@ M2FUNCTIONS = ( "isDirectSum", "isDirectory", "isEmpty", + "isExact", "isField", "isFinite", "isFinitePrimeField", @@ -646,9 +651,9 @@ M2FUNCTIONS = ( "isIsomorphic", "isIsomorphism", "isLLL", - "isLiftable", "isLinearType", "isListener", + "isLocallyFree", "isMember", "isModule", "isMonomialIdeal", @@ -686,6 +691,7 @@ M2FUNCTIONS = ( "isWellDefined", "isWeylAlgebra", "isc", + "isomorphism", "iterator", "jacobian", "jacobianDual", @@ -838,6 +844,7 @@ M2FUNCTIONS = ( "peek", "permanents", "permutations", + "pfaffian", "pfaffians", "pivots", "plus", @@ -861,7 +868,6 @@ M2FUNCTIONS = ( "printerr", "processID", "product", - "profile", "projectiveHilbertPolynomial", "promote", "protect", @@ -878,6 +884,7 @@ M2FUNCTIONS = ( "random", "randomKRationalPoint", "randomMutableMatrix", + "randomSubset", "rank", "rays", "read", @@ -970,6 +977,7 @@ M2FUNCTIONS = ( "show", "showHtml", "showTex", + "sign", "simpleDocFrob", "sin", "singularLocus", @@ -991,6 +999,7 @@ M2FUNCTIONS = ( "sqrt", "stack", "stacksProject", + "stacktrace", "standardForm", "standardPairs", "stashValue", @@ -1115,6 +1124,7 @@ M2CONSTANTS = ( "Algorithm", "Alignment", "AllCodimensions", + "AllMarkovBases", "allowableThreads", "AnalyzeSheafOnP1", "applicationDirectorySuffix", @@ -1150,6 +1160,7 @@ M2CONSTANTS = ( "Book3264Examples", "BooleanGB", "Boxes", + "Brackets", "Browse", "Bruns", "cache", @@ -1167,6 +1178,7 @@ M2CONSTANTS = ( "CharacteristicClasses", "CheckDocumentation", "Chordal", + "Citation", "cite", "Classic", "clearAll", @@ -1193,6 +1205,7 @@ M2CONSTANTS = ( "ConductorElement", "Configuration", "ConformalBlocks", + "ConnectionMatrices", "Consequences", "Constants", "Contributors", @@ -1202,6 +1215,9 @@ M2CONSTANTS = ( "Core", "CorrespondenceScrolls", "CotangentSchubert", + "cotangentSurjection", + "coverageSummary", + "CpMackeyFunctors", "Cremona", "currentFileDirectory", "currentFileName", @@ -1237,7 +1253,6 @@ M2CONSTANTS = ( "Dispatch", "DivideConquer", "DividedPowers", - "Divisor", "Dmodules", "docExample", "docTemplate", @@ -1253,6 +1268,7 @@ M2CONSTANTS = ( "EllipticCurves", "EllipticIntegrals", "Email", + "embeddedToAbstract", "end", "endl", "Engine", @@ -1263,14 +1279,17 @@ M2CONSTANTS = ( "EquivariantGB", "errorDepth", "EulerConstant", + "eulerSequence", "Example", "ExampleFiles", "ExampleSystems", "Exclude", "exit", "Ext", + "ExteriorExtensions", "ExteriorIdeals", "ExteriorModules", + "ExtLongExactSequence", "false", "FastMinors", "FastNonminimal", @@ -1294,6 +1313,7 @@ M2CONSTANTS = ( "fpLLL", "FrobeniusThresholds", "FunctionFieldDesingularization", + "GameTheory", "GBDegrees", "gbTrace", "GenerateAssertions", @@ -1343,12 +1363,15 @@ M2CONSTANTS = ( "HomePage", "Homogeneous", "Homogeneous2", + "HomologicalAlgebraPackage", "HomotopyLieAlgebra", "HorizontalSpace", "HyperplaneArrangements", "id", + "idealSheafSequence", "IgnoreExampleErrors", "ii", + "IncidenceCorrespondenceCohomology", "incomparable", "Increment", "indeterminate", @@ -1360,6 +1383,7 @@ M2CONSTANTS = ( "Inhomogeneous", "Inputs", "InstallPrefix", + "IntegerProgramming", "IntegralClosure", "interpreterDepth", "Intersection", @@ -1376,7 +1400,7 @@ M2CONSTANTS = ( "Jets", "Join", "JSON", - "Jupyter", + "JSONRPC", "K3Carpets", "K3Surfaces", "Keep", @@ -1393,8 +1417,7 @@ M2CONSTANTS = ( "LengthLimit", "Lex", "LexIdeals", - "Licenses", - "LieTypes", + "LieAlgebraRepresentations", "Limit", "Linear", "LinearAlgebra", @@ -1416,11 +1439,11 @@ M2CONSTANTS = ( "MakeDocumentation", "MakeHTML", "MakeInfo", - "MakeLinks", "MakePDF", "MapleInterface", "Markov", "MatchingFields", + "MatrixFactorizations", "MatrixSchubert", "Matroids", "maxAllowableThreads", @@ -1472,9 +1495,11 @@ M2CONSTANTS = ( "NoetherianOperators", "NoetherNormalization", "NonminimalComplexes", + "NonPrincipalTestIdeals", "NoPrint", "Normaliz", "NormalToricVarieties", + "NotANumber", "notify", "NTL", "null", @@ -1488,6 +1513,7 @@ M2CONSTANTS = ( "NumericSolutions", "numTBBThreads", "OIGroebnerBases", + "OldChainComplexes", "OldPolyhedra", "OldToricVectorBundles", "OnlineLookup", @@ -1501,6 +1527,7 @@ M2CONSTANTS = ( "Options", "Order", "order", + "Oscillators", "OutputDictionary", "Outputs", "PackageCitations", @@ -1515,6 +1542,7 @@ M2CONSTANTS = ( "Parametrization", "Parsing", "path", + "PathSignatures", "PencilsOfQuadrics", "Permanents", "Permutations", @@ -1613,6 +1641,7 @@ M2CONSTANTS = ( "returnCode", "Reverse", "RevLex", + "RHom", "Right", "RInterface", "rootPath", @@ -1694,6 +1723,7 @@ M2CONSTANTS = ( "SyzygyLimit", "SyzygyMatrix", "SyzygyRows", + "Tableaux", "TangentCone", "TateOnProducts", "TensorComplexes", @@ -1712,6 +1742,7 @@ M2CONSTANTS = ( "Tor", "TorAlgebra", "Toric", + "ToricHigherDirectImages", "ToricInvariants", "ToricTopology", "ToricVectorBundles", @@ -1765,12 +1796,14 @@ M2CONSTANTS = ( "VNumber", "WebApp", "Weights", + "WeilDivisors", "WeylAlgebra", "WeylAlgebras", "WeylGroups", "WhitneyStratifications", "Wrap", - "XML" + "XML", + "yonedaSheafExtension" ) class Macaulay2Lexer(RegexLexer): diff --git a/contrib/python/Pygments/py3/pygments/lexers/make.py b/contrib/python/Pygments/py3/pygments/lexers/make.py index 3940a00908f..21cffbaa029 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/make.py +++ b/contrib/python/Pygments/py3/pygments/lexers/make.py @@ -4,7 +4,7 @@ Lexers for Makefiles and similar. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/maple.py b/contrib/python/Pygments/py3/pygments/lexers/maple.py index c744e7e1ad5..11b69f934aa 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/maple.py +++ b/contrib/python/Pygments/py3/pygments/lexers/maple.py @@ -4,7 +4,7 @@ Lexers for Maple. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/markup.py b/contrib/python/Pygments/py3/pygments/lexers/markup.py index acc270b153d..41b5d795061 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/markup.py +++ b/contrib/python/Pygments/py3/pygments/lexers/markup.py @@ -4,7 +4,7 @@ Lexers for non-HTML markup languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -687,11 +687,8 @@ class OrgLexer(RegexLexer): # Line break operator (r'\\\\$', Operator), - # Deadline, Scheduled, CLOSED - (r'(?i)^( *(?:DEADLINE|SCHEDULED): )(<.+?> *)$', - bygroups(Generic.Error, Literal.Date)), - (r'(?i)^( *CLOSED: )(\[.+?\] *)$', - bygroups(Generic.Deleted, Literal.Date)), + (r'^\s*CLOSED:\s+', Generic.Deleted, 'dateline'), + (r'^\s*(?:DEADLINE:|SCHEDULED:)\s+', Generic.Error, 'dateline'), # Bold (_inline(r'\*', r'\*+'), Generic.Strong), @@ -725,6 +722,14 @@ class OrgLexer(RegexLexer): (r'[^#*+\-0-9:\\/=~_<{\[|\n]+', Text), (r'[#*+\-0-9:\\/=~_<{\[|\n]', Text), ], + 'dateline': [ + (r'\s*CLOSED:\s+', Generic.Deleted), + (r'\s*(?:DEADLINE:|SCHEDULED:)\s+', Generic.Error), + (r'\[.+?\]', Literal.Date), + (r'<[^>]+?>', Literal.Date), + (r'(\s*)$', Text, '#pop'), + (r'.', Text), + ], } class TiddlyWiki5Lexer(RegexLexer): diff --git a/contrib/python/Pygments/py3/pygments/lexers/math.py b/contrib/python/Pygments/py3/pygments/lexers/math.py index b225ffcf935..b38c13e1209 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/math.py +++ b/contrib/python/Pygments/py3/pygments/lexers/math.py @@ -4,7 +4,7 @@ Just export lexers that were contained in this module. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/matlab.py b/contrib/python/Pygments/py3/pygments/lexers/matlab.py index 8eeffc9d23a..b27f4db63ed 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/matlab.py +++ b/contrib/python/Pygments/py3/pygments/lexers/matlab.py @@ -4,7 +4,7 @@ Lexers for Matlab and related languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/maxima.py b/contrib/python/Pygments/py3/pygments/lexers/maxima.py index a9830883732..f66b8321b37 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/maxima.py +++ b/contrib/python/Pygments/py3/pygments/lexers/maxima.py @@ -6,7 +6,7 @@ Derived from pygments/lexers/algebra.py. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/meson.py b/contrib/python/Pygments/py3/pygments/lexers/meson.py index 6f2c6da374b..154a2de5a15 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/meson.py +++ b/contrib/python/Pygments/py3/pygments/lexers/meson.py @@ -4,7 +4,7 @@ Pygments lexer for the Meson build system - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -30,7 +30,7 @@ class MesonLexer(RegexLexer): name = 'Meson' url = 'https://mesonbuild.com/' aliases = ['meson', 'meson.build'] - filenames = ['meson.build', 'meson_options.txt'] + filenames = ['meson.build', 'meson.options', 'meson_options.txt'] mimetypes = ['text/x-meson'] version_added = '2.10' @@ -66,7 +66,7 @@ class MesonLexer(RegexLexer): ], 'expr': [ (r'(in|and|or|not)\b', Operator.Word), - (r'(\*=|/=|%=|\+]=|-=|==|!=|\+|-|=)', Operator), + (r'([\*/%\+-]=?|==|!=|=)', Operator), (r'[\[\]{}:().,?]', Punctuation), (words(('true', 'false'), suffix=r'\b'), Keyword.Constant), include('builtins'), diff --git a/contrib/python/Pygments/py3/pygments/lexers/mime.py b/contrib/python/Pygments/py3/pygments/lexers/mime.py index 45f27f42895..a2bf7c58e70 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/mime.py +++ b/contrib/python/Pygments/py3/pygments/lexers/mime.py @@ -4,7 +4,7 @@ Lexer for Multipurpose Internet Mail Extensions (MIME) data. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/minecraft.py b/contrib/python/Pygments/py3/pygments/lexers/minecraft.py index fe5e9f87c53..c1b580035d5 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/minecraft.py +++ b/contrib/python/Pygments/py3/pygments/lexers/minecraft.py @@ -15,7 +15,7 @@ official: https://learn.microsoft.com/en-us/minecraft/creator/reference/content/schemasreference/ community example: https://www.mcbe-dev.net/addons/data-driven/manifest.html - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -99,7 +99,8 @@ class SNBTLexer(RegexLexer): class MCFunctionLexer(RegexLexer): - """Lexer for the mcfunction scripting language used in Minecraft + """Lexer for the mcfunction scripting language used in Minecraft. + Modelled somewhat after the `GitHub mcfunction grammar <https://github.com/Arcensoth/language-mcfunction>`_. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/mips.py b/contrib/python/Pygments/py3/pygments/lexers/mips.py index 531f1b87699..332bc9f3d55 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/mips.py +++ b/contrib/python/Pygments/py3/pygments/lexers/mips.py @@ -4,7 +4,7 @@ Lexers for MIPS assembly. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/ml.py b/contrib/python/Pygments/py3/pygments/lexers/ml.py index 48a08da1cdc..dca1b50d793 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/ml.py +++ b/contrib/python/Pygments/py3/pygments/lexers/ml.py @@ -4,7 +4,7 @@ Lexers for ML family languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/modeling.py b/contrib/python/Pygments/py3/pygments/lexers/modeling.py index d681e7f3bb1..4c22aeb0043 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/modeling.py +++ b/contrib/python/Pygments/py3/pygments/lexers/modeling.py @@ -4,7 +4,7 @@ Lexers for modeling languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -314,6 +314,8 @@ class StanLexer(RegexLexer): bygroups(Keyword.Namespace, Text, Punctuation)), # target keyword (r'target\s*\+=', Keyword), + # jacobian += statement + (r'jacobian\s*\+=', Keyword), # Reserved Words (r'({})\b'.format(r'|'.join(_stan_builtins.KEYWORDS)), Keyword), # Truncation diff --git a/contrib/python/Pygments/py3/pygments/lexers/modula2.py b/contrib/python/Pygments/py3/pygments/lexers/modula2.py index 713f4722f7d..c0ebd5c14c3 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/modula2.py +++ b/contrib/python/Pygments/py3/pygments/lexers/modula2.py @@ -4,7 +4,7 @@ Multi-Dialect Lexer for Modula-2. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/mojo.py b/contrib/python/Pygments/py3/pygments/lexers/mojo.py index 4df18c4f9c9..84aac466946 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/mojo.py +++ b/contrib/python/Pygments/py3/pygments/lexers/mojo.py @@ -4,7 +4,7 @@ Lexers for Mojo and related languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/monte.py b/contrib/python/Pygments/py3/pygments/lexers/monte.py index c01d2dc6cd6..7aeabb232c7 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/monte.py +++ b/contrib/python/Pygments/py3/pygments/lexers/monte.py @@ -4,7 +4,7 @@ Lexer for the Monte programming language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/mosel.py b/contrib/python/Pygments/py3/pygments/lexers/mosel.py index 426c9a14526..912f478773c 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/mosel.py +++ b/contrib/python/Pygments/py3/pygments/lexers/mosel.py @@ -5,7 +5,7 @@ Lexers for the mosel language. http://www.fico.com/en/products/fico-xpress-optimization - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/ncl.py b/contrib/python/Pygments/py3/pygments/lexers/ncl.py index d2f476087bf..a2729efba6e 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/ncl.py +++ b/contrib/python/Pygments/py3/pygments/lexers/ncl.py @@ -4,7 +4,7 @@ Lexers for NCAR Command Language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/nimrod.py b/contrib/python/Pygments/py3/pygments/lexers/nimrod.py index 365a8dcca96..b99e246d707 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/nimrod.py +++ b/contrib/python/Pygments/py3/pygments/lexers/nimrod.py @@ -4,7 +4,7 @@ Lexer for the Nim language (formerly known as Nimrod). - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/nit.py b/contrib/python/Pygments/py3/pygments/lexers/nit.py index 2d2122c1f1b..4ba03a8f243 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/nit.py +++ b/contrib/python/Pygments/py3/pygments/lexers/nit.py @@ -4,7 +4,7 @@ Lexer for the Nit language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/nix.py b/contrib/python/Pygments/py3/pygments/lexers/nix.py index 3fa88c65aaf..16572afe48a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/nix.py +++ b/contrib/python/Pygments/py3/pygments/lexers/nix.py @@ -4,7 +4,7 @@ Lexers for the NixOS Nix language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/numbair.py b/contrib/python/Pygments/py3/pygments/lexers/numbair.py index 435863e132a..28395b41a4d 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/numbair.py +++ b/contrib/python/Pygments/py3/pygments/lexers/numbair.py @@ -4,7 +4,7 @@ Lexer for other Numba Intermediate Representation. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/oberon.py b/contrib/python/Pygments/py3/pygments/lexers/oberon.py index 61f3c2d2879..11cf571dfd6 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/oberon.py +++ b/contrib/python/Pygments/py3/pygments/lexers/oberon.py @@ -4,7 +4,7 @@ Lexers for Oberon family languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -114,7 +114,7 @@ class ComponentPascalLexer(RegexLexer): result += 0.01 if 'PROCEDURE' in text: result += 0.01 - if 'END' in text: + if 'MODULE' in text: result += 0.01 return result diff --git a/contrib/python/Pygments/py3/pygments/lexers/objective.py b/contrib/python/Pygments/py3/pygments/lexers/objective.py index 899c2c44c96..ce281fbd198 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/objective.py +++ b/contrib/python/Pygments/py3/pygments/lexers/objective.py @@ -4,7 +4,7 @@ Lexers for Objective-C family languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/ooc.py b/contrib/python/Pygments/py3/pygments/lexers/ooc.py index 8a990801a3c..f6aea8c8306 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/ooc.py +++ b/contrib/python/Pygments/py3/pygments/lexers/ooc.py @@ -4,7 +4,7 @@ Lexers for the Ooc language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/openscad.py b/contrib/python/Pygments/py3/pygments/lexers/openscad.py index b06de227c7c..1ec8fea051c 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/openscad.py +++ b/contrib/python/Pygments/py3/pygments/lexers/openscad.py @@ -4,7 +4,7 @@ Lexers for the OpenSCAD languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/other.py b/contrib/python/Pygments/py3/pygments/lexers/other.py index 2b7dfb4ab53..8767d73037b 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/other.py +++ b/contrib/python/Pygments/py3/pygments/lexers/other.py @@ -4,7 +4,7 @@ Just export lexer classes previously contained in this module. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/parasail.py b/contrib/python/Pygments/py3/pygments/lexers/parasail.py index 150d6a9c482..9b409609f8b 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/parasail.py +++ b/contrib/python/Pygments/py3/pygments/lexers/parasail.py @@ -4,7 +4,7 @@ Lexer for ParaSail. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/parsers.py b/contrib/python/Pygments/py3/pygments/lexers/parsers.py index 7a4ed9d1df7..baa49b05407 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/parsers.py +++ b/contrib/python/Pygments/py3/pygments/lexers/parsers.py @@ -4,7 +4,7 @@ Lexers for parser generators. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -33,11 +33,11 @@ __all__ = ['RagelLexer', 'RagelEmbeddedLexer', 'RagelCLexer', 'RagelDLexer', class RagelLexer(RegexLexer): - """A pure `Ragel <www.colm.net/open-source/ragel>`_ lexer. Use this - for fragments of Ragel. For ``.rl`` files, use - :class:`RagelEmbeddedLexer` instead (or one of the - language-specific subclasses). + """A pure `Ragel <www.colm.net/open-source/ragel>`_ lexer. + Use this for fragments of Ragel. For ``.rl`` files, use + :class:`RagelEmbeddedLexer` instead (or one of the language-specific + subclasses). """ name = 'Ragel' diff --git a/contrib/python/Pygments/py3/pygments/lexers/pascal.py b/contrib/python/Pygments/py3/pygments/lexers/pascal.py index 5f40dcc86a1..ad8a0aec62a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/pascal.py +++ b/contrib/python/Pygments/py3/pygments/lexers/pascal.py @@ -4,7 +4,7 @@ Lexers for Pascal family languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/pawn.py b/contrib/python/Pygments/py3/pygments/lexers/pawn.py index 99d9c963d14..9b4234c3a27 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/pawn.py +++ b/contrib/python/Pygments/py3/pygments/lexers/pawn.py @@ -4,7 +4,7 @@ Lexers for the Pawn languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/pddl.py b/contrib/python/Pygments/py3/pygments/lexers/pddl.py index 77aa75362ff..a86ab8b8f6d 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/pddl.py +++ b/contrib/python/Pygments/py3/pygments/lexers/pddl.py @@ -4,7 +4,7 @@ Lexer for the Planning Domain Definition Language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/perl.py b/contrib/python/Pygments/py3/pygments/lexers/perl.py index 33f91f5800b..7448d2a1e2b 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/perl.py +++ b/contrib/python/Pygments/py3/pygments/lexers/perl.py @@ -4,7 +4,7 @@ Lexers for Perl, Raku and related languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/phix.py b/contrib/python/Pygments/py3/pygments/lexers/phix.py index f0b03775e27..c4cb35d5b13 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/phix.py +++ b/contrib/python/Pygments/py3/pygments/lexers/phix.py @@ -4,7 +4,7 @@ Lexers for Phix. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/php.py b/contrib/python/Pygments/py3/pygments/lexers/php.py index 82d4aeb3d9d..ac935c47174 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/php.py +++ b/contrib/python/Pygments/py3/pygments/lexers/php.py @@ -4,7 +4,7 @@ Lexers for PHP and related languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -211,6 +211,7 @@ class PhpLexer(RegexLexer): bygroups(Keyword, Text, Operator, Text), 'functionname'), (r'(const)(\s+)(' + _ident_inner + ')', bygroups(Keyword, Text, Name.Constant)), + # source: https://www.php.net/manual/en/reserved.keywords.php (r'(and|E_PARSE|old_function|E_ERROR|or|as|E_WARNING|parent|' r'eval|PHP_OS|break|exit|case|extends|PHP_VERSION|cfunction|' r'FALSE|print|for|require|continue|foreach|require_once|' @@ -220,8 +221,8 @@ class PhpLexer(RegexLexer): r'endif|list|endswitch|new|endwhile|not|' r'array|E_ALL|NULL|final|php_user_filter|interface|' r'implements|public|private|protected|abstract|clone|try|' - r'catch|throw|this|use|namespace|trait|yield|' - r'finally|match)\b', Keyword), + r'catch|throw|this|use|namespace|trait|yield( from)?|' + r'finally|match|readonly)\b', Keyword), (r'(true|false|null)\b', Keyword.Constant), include('magicconstants'), (r'\$\{', Name.Variable, 'variablevariable'), @@ -250,10 +251,10 @@ class PhpLexer(RegexLexer): Name.Function.Magic), ], 'magicconstants': [ - # source: http://php.net/manual/en/language.constants.predefined.php + # source: https://www.php.net/manual/en/language.constants.magic.php (words(( '__LINE__', '__FILE__', '__DIR__', '__FUNCTION__', '__CLASS__', - '__TRAIT__', '__METHOD__', '__NAMESPACE__',), + '__TRAIT__', '__METHOD__', '__NAMESPACE__', '__PROPERTY__',), suffix=r'\b'), Name.Constant), ], diff --git a/contrib/python/Pygments/py3/pygments/lexers/pointless.py b/contrib/python/Pygments/py3/pygments/lexers/pointless.py index adedb757d89..aab0a5684fe 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/pointless.py +++ b/contrib/python/Pygments/py3/pygments/lexers/pointless.py @@ -4,7 +4,7 @@ Lexers for Pointless. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/pony.py b/contrib/python/Pygments/py3/pygments/lexers/pony.py index 055423a4694..62d16d7d651 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/pony.py +++ b/contrib/python/Pygments/py3/pygments/lexers/pony.py @@ -4,7 +4,7 @@ Lexers for Pony and related languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/praat.py b/contrib/python/Pygments/py3/pygments/lexers/praat.py index 054f5b61e56..c50e9279f88 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/praat.py +++ b/contrib/python/Pygments/py3/pygments/lexers/praat.py @@ -4,7 +4,7 @@ Lexer for Praat - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/procfile.py b/contrib/python/Pygments/py3/pygments/lexers/procfile.py index 32619804f88..f62c27b2bc0 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/procfile.py +++ b/contrib/python/Pygments/py3/pygments/lexers/procfile.py @@ -4,7 +4,7 @@ Lexer for Procfile file format. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/prolog.py b/contrib/python/Pygments/py3/pygments/lexers/prolog.py index 7bf951c1c4f..92abe132c27 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/prolog.py +++ b/contrib/python/Pygments/py3/pygments/lexers/prolog.py @@ -4,7 +4,7 @@ Lexers for Prolog and Prolog-like languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/promql.py b/contrib/python/Pygments/py3/pygments/lexers/promql.py index cad3c254a12..5cfa73fe1e6 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/promql.py +++ b/contrib/python/Pygments/py3/pygments/lexers/promql.py @@ -4,7 +4,7 @@ Lexer for Prometheus Query Language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/prql.py b/contrib/python/Pygments/py3/pygments/lexers/prql.py index ee95d2d4749..a62cb6bcd1a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/prql.py +++ b/contrib/python/Pygments/py3/pygments/lexers/prql.py @@ -4,7 +4,7 @@ Lexer for the PRQL query language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/ptx.py b/contrib/python/Pygments/py3/pygments/lexers/ptx.py index 784ca13a6f0..685c7357ecb 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/ptx.py +++ b/contrib/python/Pygments/py3/pygments/lexers/ptx.py @@ -4,7 +4,7 @@ Lexer for other PTX language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/python.py b/contrib/python/Pygments/py3/pygments/lexers/python.py index 805f6ff2ac7..b296c8dbe4e 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/python.py +++ b/contrib/python/Pygments/py3/pygments/lexers/python.py @@ -4,7 +4,7 @@ Lexers for Python and related languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -55,6 +55,8 @@ class PythonLexer(RegexLexer): 'WORKSPACE', # Twisted Application infrastructure '*.tac', + # Execubot level format + '*.pye', ] mimetypes = ['text/x-python', 'application/x-python', 'text/x-python3', 'application/x-python3'] @@ -118,27 +120,27 @@ class PythonLexer(RegexLexer): include('expr'), ], 'expr': [ - # raw f-strings - ('(?i)(rf|fr)(""")', + # raw f-strings and t-strings + ('(?i)(r[ft]|[ft]r)(""")', bygroups(String.Affix, String.Double), combined('rfstringescape', 'tdqf')), - ("(?i)(rf|fr)(''')", + ("(?i)(r[ft]|[ft]r)(''')", bygroups(String.Affix, String.Single), combined('rfstringescape', 'tsqf')), - ('(?i)(rf|fr)(")', + ('(?i)(r[ft]|[ft]r)(")', bygroups(String.Affix, String.Double), combined('rfstringescape', 'dqf')), - ("(?i)(rf|fr)(')", + ("(?i)(r[ft]|[ft]r)(')", bygroups(String.Affix, String.Single), combined('rfstringescape', 'sqf')), - # non-raw f-strings - ('([fF])(""")', bygroups(String.Affix, String.Double), + # non-raw f-strings and t-strings + ('([fFtT])(""")', bygroups(String.Affix, String.Double), combined('fstringescape', 'tdqf')), - ("([fF])(''')", bygroups(String.Affix, String.Single), + ("([fFtT])(''')", bygroups(String.Affix, String.Single), combined('fstringescape', 'tsqf')), - ('([fF])(")', bygroups(String.Affix, String.Double), + ('([fFtT])(")', bygroups(String.Affix, String.Double), combined('fstringescape', 'dqf')), - ("([fF])(')", bygroups(String.Affix, String.Single), + ("([fFtT])(')", bygroups(String.Affix, String.Single), combined('fstringescape', 'sqf')), # raw bytes and strings ('(?i)(rb|br|r)(""")', @@ -861,7 +863,7 @@ class CythonLexer(RegexLexer): (r'(cp?def)(\s+)', bygroups(Keyword, Whitespace), 'cdef'), # (should actually start a block with only cdefs) (r'(cdef)(:)', bygroups(Keyword, Punctuation)), - (r'(class|struct)(\s+)', bygroups(Keyword, Whitespace), 'classname'), + (r'(class|cppclass|struct)(\s+)', bygroups(Keyword, Whitespace), 'classname'), (r'(from)(\s+)', bygroups(Keyword, Whitespace), 'fromimport'), (r'(c?import)(\s+)', bygroups(Keyword, Whitespace), 'import'), include('builtins'), @@ -879,37 +881,38 @@ class CythonLexer(RegexLexer): ], 'keywords': [ (words(( - 'assert', 'async', 'await', 'break', 'by', 'continue', 'ctypedef', 'del', 'elif', - 'else', 'except', 'except?', 'exec', 'finally', 'for', 'fused', 'gil', - 'global', 'if', 'include', 'lambda', 'nogil', 'pass', 'print', - 'raise', 'return', 'try', 'while', 'yield', 'as', 'with'), suffix=r'\b'), + 'assert', 'async', 'await', 'break', 'by', 'continue', 'ctypedef', 'del', + 'elif', 'else', 'except', 'except?', 'exec', 'finally', 'for', 'fused', 'gil', + 'global', 'if', 'include', 'lambda', 'namespace', 'new', 'noexcept','nogil', + 'pass', 'print', 'raise', 'return', 'try', 'while', 'yield', 'as', 'with'), + suffix=r'\b'), Keyword), + (words(('True', 'False', 'None', 'NULL'), suffix=r'\b'), Keyword.Constant), (r'(DEF|IF|ELIF|ELSE)\b', Comment.Preproc), ], 'builtins': [ (words(( '__import__', 'abs', 'all', 'any', 'apply', 'basestring', 'bin', 'bint', - 'bool', 'buffer', 'bytearray', 'bytes', 'callable', 'chr', + 'bool', 'buffer', 'bytearray', 'bytes', 'callable', 'char', 'chr', 'classmethod', 'cmp', 'coerce', 'compile', 'complex', 'delattr', - 'dict', 'dir', 'divmod', 'enumerate', 'eval', 'execfile', 'exit', + 'dict', 'dir', 'divmod', 'double', 'enumerate', 'eval', 'execfile', 'exit', 'file', 'filter', 'float', 'frozenset', 'getattr', 'globals', 'hasattr', 'hash', 'hex', 'id', 'input', 'int', 'intern', 'isinstance', 'issubclass', 'iter', 'len', 'list', 'locals', 'long', 'map', 'max', - 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'property', 'Py_ssize_t', - 'range', 'raw_input', 'reduce', 'reload', 'repr', 'reversed', - 'round', 'set', 'setattr', 'slice', 'sorted', 'staticmethod', - 'str', 'sum', 'super', 'tuple', 'type', 'unichr', 'unicode', 'unsigned', - 'vars', 'xrange', 'zip'), prefix=r'(?<!\.)', suffix=r'\b'), + 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'property', + 'Py_ssize_t', 'range', 'raw_input', 'reduce', 'reload', 'repr', 'reversed', + 'round', 'set', 'setattr', 'size_t', 'slice', 'sorted', 'staticmethod', + 'ssize_t', 'str', 'sum', 'super', 'tuple', 'type', 'unichr', 'unicode', + 'unsigned', 'vars', 'xrange', 'zip'), prefix=r'(?<!\.)', suffix=r'\b'), Name.Builtin), - (r'(?<!\.)(self|None|Ellipsis|NotImplemented|False|True|NULL' - r')\b', Name.Builtin.Pseudo), + (r'(?<!\.)(self|cls|Ellipsis|NotImplemented)\b', Name.Builtin.Pseudo), (words(( 'ArithmeticError', 'AssertionError', 'AttributeError', 'BaseException', 'DeprecationWarning', 'EOFError', 'EnvironmentError', 'Exception', 'FloatingPointError', 'FutureWarning', 'GeneratorExit', 'IOError', 'ImportError', 'ImportWarning', 'IndentationError', 'IndexError', 'KeyError', 'KeyboardInterrupt', 'LookupError', - 'MemoryError', 'NameError', 'NotImplemented', 'NotImplementedError', + 'MemoryError', 'NameError', 'NotImplementedError', 'OSError', 'OverflowError', 'OverflowWarning', 'PendingDeprecationWarning', 'ReferenceError', 'RuntimeError', 'RuntimeWarning', 'StandardError', 'StopIteration', 'SyntaxError', @@ -938,12 +941,12 @@ class CythonLexer(RegexLexer): (r'[a-zA-Z_]\w*', Name.Function, '#pop') ], 'cdef': [ - (r'(public|readonly|extern|api|inline)\b', Keyword.Reserved), - (r'(struct|enum|union|class)\b', Keyword), - (r'([a-zA-Z_]\w*)(\s*)(?=[(:#=]|$)', - bygroups(Name.Function, Whitespace), '#pop'), - (r'([a-zA-Z_]\w*)(\s*)(,)', - bygroups(Name.Function, Whitespace, Punctuation)), + (r"(public|readonly|extern|api|inline|packed)\b", Keyword.Reserved), + (r"(struct|enum|union|class|cppclass)\b(\s+)([a-zA-Z_]\w*)", + bygroups(Keyword, Whitespace, Name.Class), "#pop",), + (r"([a-zA-Z_]\w*)(\s*)(?=\()", bygroups(Name.Function, Whitespace), "#pop"), + (r"([a-zA-Z_]\w*)(\s*)(?=[:,=#\n]|$)", bygroups(Name.Variable, Whitespace), "#pop"), + (r"([a-zA-Z_]\w*)(\s*)(,)", bygroups(Name.Variable, Whitespace, Punctuation)), (r'from\b', Keyword, '#pop'), (r'as\b', Keyword), (r':', Punctuation, '#pop'), diff --git a/contrib/python/Pygments/py3/pygments/lexers/q.py b/contrib/python/Pygments/py3/pygments/lexers/q.py index bfa8017e65a..2b8f0a9de93 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/q.py +++ b/contrib/python/Pygments/py3/pygments/lexers/q.py @@ -4,7 +4,7 @@ Lexer for the Q programming language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/qlik.py b/contrib/python/Pygments/py3/pygments/lexers/qlik.py index a29f89f35a9..6972ed9d03b 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/qlik.py +++ b/contrib/python/Pygments/py3/pygments/lexers/qlik.py @@ -4,7 +4,7 @@ Lexer for the qlik scripting language - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/qvt.py b/contrib/python/Pygments/py3/pygments/lexers/qvt.py index 302d1b6ed89..02d6fcf7d21 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/qvt.py +++ b/contrib/python/Pygments/py3/pygments/lexers/qvt.py @@ -4,7 +4,7 @@ Lexer for QVT Operational language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/r.py b/contrib/python/Pygments/py3/pygments/lexers/r.py index d3f65ba2d86..7dcc148a9cb 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/r.py +++ b/contrib/python/Pygments/py3/pygments/lexers/r.py @@ -4,7 +4,7 @@ Lexers for the R/S languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/rdf.py b/contrib/python/Pygments/py3/pygments/lexers/rdf.py index 4930c1b387a..f2ecf7a11f3 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/rdf.py +++ b/contrib/python/Pygments/py3/pygments/lexers/rdf.py @@ -4,7 +4,7 @@ Lexers for semantic web and RDF query languages and markup. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -265,7 +265,7 @@ class TurtleLexer(RegexLexer): bygroups(Name.Namespace, Punctuation, Name.Tag)), # Comment - (r'#[^\n]+', Comment), + (r'#([^\n]+|$)', Comment), (r'\b(true|false)\b', Literal), (r'[+\-]?\d*\.\d+', Number.Float), diff --git a/contrib/python/Pygments/py3/pygments/lexers/rebol.py b/contrib/python/Pygments/py3/pygments/lexers/rebol.py index 4b37a749450..fcff62be14d 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/rebol.py +++ b/contrib/python/Pygments/py3/pygments/lexers/rebol.py @@ -4,7 +4,7 @@ Lexers for the REBOL and related languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/rego.py b/contrib/python/Pygments/py3/pygments/lexers/rego.py index 6f2e3e9e669..b2e8b75473c 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/rego.py +++ b/contrib/python/Pygments/py3/pygments/lexers/rego.py @@ -4,7 +4,7 @@ Lexers for the Rego policy languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/rell.py b/contrib/python/Pygments/py3/pygments/lexers/rell.py new file mode 100644 index 00000000000..8d54ed2a516 --- /dev/null +++ b/contrib/python/Pygments/py3/pygments/lexers/rell.py @@ -0,0 +1,68 @@ +""" + pygments.lexers.rell + ~~~~~~~~~~~~~~~~~~~~ + + Lexers for the Rell language. + + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +from pygments.lexer import RegexLexer, bygroups, default, words +from pygments.token import Comment, Keyword, Name, String, Number, \ + Punctuation, Whitespace + +__all__ = ['RellLexer'] + + +class RellLexer(RegexLexer): + """ + A Lexer for Rell. + """ + name = 'Rell' + url = 'https://docs.chromia.com/rell/rell-intro' + aliases = ['rell'] + filenames = ['*.rell'] + mimetypes = ['text/x-rell'] + version_added = '2.20' + + ident = r'[a-zA-Z_][a-zA-Z0-9_]*' + + tokens = { + 'root': [ + (words(( + 'big_integer', 'boolean', 'byte_array', 'decimal', 'gtv', + 'integer', 'json', 'list', 'map', 'mutable', 'set', 'text', + 'virtual'), suffix=r'\b'), + Keyword.Type), + (r'(false|true|null)\b', Keyword.Constant), + (r'(entity|enum|namespace|object|struct)\b', Keyword.Declaration), + (r'(function|operation|query)\b', Keyword.Declaration, 'function'), + (words(( + 'abstract', 'and', 'break', 'continue', 'create', 'delete', + 'else', 'for', 'if', 'import', 'in', 'index', 'key', 'limit', + 'module', 'not', 'offset', 'or', 'override', 'return', 'update', + 'val', 'var', 'when', 'while'), suffix=r'\b'), + Keyword.Reserved), + (r'//.*?$', Comment.Single), + (r'/\*(.|\n|\r)*?\*/', Comment.Multiline), + (r'"(\\\\|\\"|[^"])*"', String.Double), + (r'\'(\\\\|\\\'|[^\\\'])*\'', String.Single), + (r'-?[0-9]*\.[0-9]+([eE][+-][0-9]+)?', Number.Float), + (r'-?[0-9]+([eE][+-][0-9]+|[lL])?', Number.Integer), + (r'x(\'[a-fA-F0-9]*\'|"[a-fA-F0-9]*")', String.Binary), + (r'(\.)([ \n\t\r]*)(' + ident + ')', + bygroups(Punctuation, Whitespace, Name.Attribute)), + (r'[{}():;,]+', Punctuation), + (r'[ \n\t\r]+', Whitespace), + (r'@[a-zA-Z_][a-zA-Z0-9_]*', Name.Decorator), + (r'[~^*!%&\[\]<>|+=/?\-@\$]', Punctuation.Marker), + (ident, Name), + (r'(\.)+', Punctuation), + ], + 'function': [ + (r'[ \n\t\r]+', Whitespace), + (ident, Name.Function, '#pop'), + default('#pop'), + ], + } diff --git a/contrib/python/Pygments/py3/pygments/lexers/resource.py b/contrib/python/Pygments/py3/pygments/lexers/resource.py index 9593c2124c1..eb6cb4a2ee6 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/resource.py +++ b/contrib/python/Pygments/py3/pygments/lexers/resource.py @@ -4,7 +4,7 @@ Lexer for resource definition files. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/ride.py b/contrib/python/Pygments/py3/pygments/lexers/ride.py index 4d60c29cbb2..1ed8f38412b 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/ride.py +++ b/contrib/python/Pygments/py3/pygments/lexers/ride.py @@ -4,7 +4,7 @@ Lexer for the Ride programming language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/rita.py b/contrib/python/Pygments/py3/pygments/lexers/rita.py index 536aafffd2e..99a574c2a1a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/rita.py +++ b/contrib/python/Pygments/py3/pygments/lexers/rita.py @@ -4,7 +4,7 @@ Lexers for RITA language - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/rnc.py b/contrib/python/Pygments/py3/pygments/lexers/rnc.py index b7a06bb9183..7ddd33e4447 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/rnc.py +++ b/contrib/python/Pygments/py3/pygments/lexers/rnc.py @@ -4,7 +4,7 @@ Lexer for Relax-NG Compact syntax - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/roboconf.py b/contrib/python/Pygments/py3/pygments/lexers/roboconf.py index 31adba9f48f..bf0570cc371 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/roboconf.py +++ b/contrib/python/Pygments/py3/pygments/lexers/roboconf.py @@ -4,7 +4,7 @@ Lexers for Roboconf DSL. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/robotframework.py b/contrib/python/Pygments/py3/pygments/lexers/robotframework.py index f92d567503f..a481136cc7b 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/robotframework.py +++ b/contrib/python/Pygments/py3/pygments/lexers/robotframework.py @@ -4,7 +4,7 @@ Lexer for Robot Framework. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/ruby.py b/contrib/python/Pygments/py3/pygments/lexers/ruby.py index 72aaeb5fec0..6832652a6cf 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/ruby.py +++ b/contrib/python/Pygments/py3/pygments/lexers/ruby.py @@ -4,7 +4,7 @@ Lexers for Ruby and related languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/rust.py b/contrib/python/Pygments/py3/pygments/lexers/rust.py index 63410475553..6c9e6217a4e 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/rust.py +++ b/contrib/python/Pygments/py3/pygments/lexers/rust.py @@ -4,7 +4,7 @@ Lexers for the Rust language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/sas.py b/contrib/python/Pygments/py3/pygments/lexers/sas.py index 1b2ad432d23..35ee8541a9c 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/sas.py +++ b/contrib/python/Pygments/py3/pygments/lexers/sas.py @@ -4,7 +4,7 @@ Lexer for SAS. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/savi.py b/contrib/python/Pygments/py3/pygments/lexers/savi.py index 1e443ae302a..548a05665fb 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/savi.py +++ b/contrib/python/Pygments/py3/pygments/lexers/savi.py @@ -4,7 +4,7 @@ Lexer for Savi. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/scdoc.py b/contrib/python/Pygments/py3/pygments/lexers/scdoc.py index 8e850d02ed8..9b2e01da1f8 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/scdoc.py +++ b/contrib/python/Pygments/py3/pygments/lexers/scdoc.py @@ -4,7 +4,7 @@ Lexer for scdoc, a simple man page generator. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/scripting.py b/contrib/python/Pygments/py3/pygments/lexers/scripting.py index 6e494c33b8e..2adb7bbd019 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/scripting.py +++ b/contrib/python/Pygments/py3/pygments/lexers/scripting.py @@ -4,7 +4,7 @@ Lexer for scripting and embedded languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -59,6 +59,12 @@ class LuaLexer(RegexLexer): _comment_single = r'(?:--.*$)' _space = r'(?:\s+(?!\s))' _s = rf'(?:{_comment_multiline}|{_comment_single}|{_space})' + # A lookahead-safe version of _s that avoids catastrophic backtracking. + # The _comment_multiline pattern contains [\w\W]*? which, when used + # inside a lookahead with a * quantifier, causes exponential blowup. + # This version skips only whitespace; comments between an identifier + # and a following [.:] or ( are rare enough to sacrifice. + _s_la = r'\s' _name = r'(?:[^\W\d]\w*)' tokens = { @@ -100,8 +106,8 @@ class LuaLexer(RegexLexer): (r'(function)\b', Keyword.Reserved, 'funcname'), (words(all_lua_builtins(), suffix=r"\b"), Name.Builtin), - (fr'[A-Za-z_]\w*(?={_s}*[.:])', Name.Variable, 'varname'), - (fr'[A-Za-z_]\w*(?={_s}*\()', Name.Function), + (fr'[A-Za-z_]\w*(?={_s_la}*[.:])', Name.Variable, 'varname'), + (fr'[A-Za-z_]\w*(?={_s_la}*\()', Name.Function), (r'[A-Za-z_]\w*', Name.Variable), ("'", String.Single, combined('stringescape', 'sqs')), @@ -112,15 +118,15 @@ class LuaLexer(RegexLexer): include('ws'), (r'\.\.', Operator, '#pop'), (r'[.:]', Punctuation), - (rf'{_name}(?={_s}*[.:])', Name.Property), - (rf'{_name}(?={_s}*\()', Name.Function, '#pop'), + (rf'{_name}(?={_s_la}*[.:])', Name.Property), + (rf'{_name}(?={_s_la}*\()', Name.Function, '#pop'), (_name, Name.Property, '#pop'), ], 'funcname': [ include('ws'), (r'[.:]', Punctuation), - (rf'{_name}(?={_s}*[.:])', Name.Class), + (rf'{_name}(?={_s_la}*[.:])', Name.Class), (_name, Name.Function, '#pop'), # inline function (r'\(', Punctuation, '#pop'), @@ -180,7 +186,7 @@ class LuaLexer(RegexLexer): continue yield index, token, value -def _luau_make_expression(should_pop, _s): +def _luau_make_expression(should_pop, _s, _s_la): temp_list = [ (r'0[xX][\da-fA-F_]*', Number.Hex, '#pop'), (r'0[bB][\d_]*', Number.Bin, '#pop'), @@ -195,7 +201,7 @@ def _luau_make_expression(should_pop, _s): (r'(\.)([a-zA-Z_]\w*)(?=%s*[({"\'])', bygroups(Punctuation, Name.Function), '#pop'), (r'(\.)([a-zA-Z_]\w*)', bygroups(Punctuation, Name.Variable), '#pop'), - (rf'[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*(?={_s}*[({{"\'])', Name.Other, '#pop'), + (rf'[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*(?={_s_la}*[({{"\'])', Name.Other, '#pop'), (r'[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*', Name, '#pop'), ] if should_pop: @@ -244,6 +250,9 @@ class LuauLexer(RegexLexer): _comment_multiline = r'(?:--\[(?P<level>=*)\[[\w\W]*?\](?P=level)\])' _comment_single = r'(?:--.*$)' _s = r'(?:{}|{}|{})'.format(_comment_multiline, _comment_single, r'\s+') + # Lookahead-safe version — avoids catastrophic backtracking from + # [\w\W]*? inside _comment_multiline when combined with * quantifier. + _s_la = r'\s' tokens = { 'root': [ @@ -283,7 +292,7 @@ class LuauLexer(RegexLexer): (r'[\])};]+', Punctuation), include('expression_static'), - *_luau_make_expression(False, _s), + *_luau_make_expression(False, _s, _s_la), (r'[\[.,]', Punctuation, 'expression'), ], @@ -305,7 +314,7 @@ class LuauLexer(RegexLexer): (r'function\b', Keyword.Reserved, 'func_name'), include('expression_static'), - *_luau_make_expression(True, _s), + *_luau_make_expression(True, _s, _s_la), default('#pop'), ], @@ -381,7 +390,7 @@ class LuauLexer(RegexLexer): include('ws'), (r'[.:]', Punctuation), - (rf'[a-zA-Z_]\w*(?={_s}*[.:])', Name.Class), + (rf'[a-zA-Z_]\w*(?={_s_la}*[.:])', Name.Class), (r'[a-zA-Z_]\w*', Name.Function), (r'<', Punctuation, 'closing_gt_type'), @@ -546,13 +555,26 @@ class MoonScriptLexer(LuaLexer): 'stringescape': [ (r'''\\([abfnrtv\\"']|\d{1,3})''', String.Escape) ], - 'sqs': [ - ("'", String.Single, '#pop'), - ("[^']+", String) + 'strings': [ + (r'[^#\\\'"]+', String), + # note that strings are multi-line. + # hashmarks, quotes and backslashes must be parsed one at a time + ], + 'interpoling_string': [ + (r'\}', String.Interpol, "#pop"), + include('base') ], 'dqs': [ - ('"', String.Double, '#pop'), - ('[^"]+', String) + (r'"', String.Double, '#pop'), + (r'\\.|\'', String), # double-quoted string don't need ' escapes + (r'#\{', String.Interpol, "interpoling_string"), + (r'#', String), + include('strings') + ], + 'sqs': [ + (r"'", String.Single, '#pop'), + (r'#|\\.|"', String), # single quoted strings don't need " escapses + include('strings') ] } diff --git a/contrib/python/Pygments/py3/pygments/lexers/sgf.py b/contrib/python/Pygments/py3/pygments/lexers/sgf.py index f0e56cba552..6d7c30432cc 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/sgf.py +++ b/contrib/python/Pygments/py3/pygments/lexers/sgf.py @@ -4,7 +4,7 @@ Lexer for Smart Game Format (sgf) file format. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/shell.py b/contrib/python/Pygments/py3/pygments/lexers/shell.py index 744767a1d44..c1ce07fcc8a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/shell.py +++ b/contrib/python/Pygments/py3/pygments/lexers/shell.py @@ -4,7 +4,7 @@ Lexers for various shells. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/sieve.py b/contrib/python/Pygments/py3/pygments/lexers/sieve.py index fc48980c499..4bda3517e83 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/sieve.py +++ b/contrib/python/Pygments/py3/pygments/lexers/sieve.py @@ -13,7 +13,7 @@ https://tools.ietf.org/html/rfc5429 https://tools.ietf.org/html/rfc8580 - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/slash.py b/contrib/python/Pygments/py3/pygments/lexers/slash.py index 1c439d0db0f..2bcbdf87754 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/slash.py +++ b/contrib/python/Pygments/py3/pygments/lexers/slash.py @@ -4,7 +4,7 @@ Lexer for the Slash programming language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/smalltalk.py b/contrib/python/Pygments/py3/pygments/lexers/smalltalk.py index 674b7b4b345..69e0519b77f 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/smalltalk.py +++ b/contrib/python/Pygments/py3/pygments/lexers/smalltalk.py @@ -4,7 +4,7 @@ Lexers for Smalltalk and related languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/smithy.py b/contrib/python/Pygments/py3/pygments/lexers/smithy.py index bd479aec40c..2642bb87990 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/smithy.py +++ b/contrib/python/Pygments/py3/pygments/lexers/smithy.py @@ -4,7 +4,7 @@ Lexers for the Smithy IDL. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/smv.py b/contrib/python/Pygments/py3/pygments/lexers/smv.py index bf97b52a5ce..3d06f99f60b 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/smv.py +++ b/contrib/python/Pygments/py3/pygments/lexers/smv.py @@ -4,7 +4,7 @@ Lexers for the SMV languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/snobol.py b/contrib/python/Pygments/py3/pygments/lexers/snobol.py index bab51e9b110..7016c96a5fd 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/snobol.py +++ b/contrib/python/Pygments/py3/pygments/lexers/snobol.py @@ -4,7 +4,7 @@ Lexers for the SNOBOL language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/solidity.py b/contrib/python/Pygments/py3/pygments/lexers/solidity.py index 3182a148a38..3f2d1dd0ac1 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/solidity.py +++ b/contrib/python/Pygments/py3/pygments/lexers/solidity.py @@ -4,7 +4,7 @@ Lexers for Solidity. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/soong.py b/contrib/python/Pygments/py3/pygments/lexers/soong.py index bbf204dd225..0d7f12ccd59 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/soong.py +++ b/contrib/python/Pygments/py3/pygments/lexers/soong.py @@ -4,7 +4,7 @@ Lexers for Soong (Android.bp Blueprint) files. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/sophia.py b/contrib/python/Pygments/py3/pygments/lexers/sophia.py index 37fcec5c39b..86435f3fe7e 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/sophia.py +++ b/contrib/python/Pygments/py3/pygments/lexers/sophia.py @@ -6,7 +6,7 @@ Derived from pygments/lexers/reason.py. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/special.py b/contrib/python/Pygments/py3/pygments/lexers/special.py index 524946fc310..ea345226fc7 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/special.py +++ b/contrib/python/Pygments/py3/pygments/lexers/special.py @@ -4,7 +4,7 @@ Special lexers. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/spice.py b/contrib/python/Pygments/py3/pygments/lexers/spice.py index 9d2b1a1a81a..978f0a71fd2 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/spice.py +++ b/contrib/python/Pygments/py3/pygments/lexers/spice.py @@ -4,7 +4,7 @@ Lexers for the Spice programming language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -40,7 +40,7 @@ class SpiceLexer(RegexLexer): (r'(f|p|type|struct|interface|enum|alias|operator)\b', Keyword.Declaration), (words(('if', 'else', 'switch', 'case', 'default', 'for', 'foreach', 'do', 'while', 'break', 'continue', 'fallthrough', 'return', 'assert', - 'unsafe', 'ext'), suffix=r'\b'), Keyword), + 'unsafe', 'ext', 'cast'), suffix=r'\b'), Keyword), (words(('const', 'signed', 'unsigned', 'inline', 'public', 'heap', 'compose'), suffix=r'\b'), Keyword.Pseudo), (words(('new', 'yield', 'stash', 'pick', 'sync', 'class'), suffix=r'\b'), diff --git a/contrib/python/Pygments/py3/pygments/lexers/sql.py b/contrib/python/Pygments/py3/pygments/lexers/sql.py index d3e6f17f394..1d3458e9aef 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/sql.py +++ b/contrib/python/Pygments/py3/pygments/lexers/sql.py @@ -36,7 +36,7 @@ The ``tests/examplefiles`` contains a few test files with data to be parsed by these lexers. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -390,7 +390,7 @@ class PostgresExplainLexer(RegexLexer): tokens = { 'root': [ - (r'(:|\(|\)|ms|kB|->|\.\.|\,|\/)', Punctuation), + (r'(:|\(|\)|ms|kB|->|\.\.|\,|\/|=|%)', Punctuation), (r'(\s+)', Whitespace), # This match estimated cost and effectively measured counters with ANALYZE @@ -399,9 +399,11 @@ class PostgresExplainLexer(RegexLexer): (r'(actual)( )(=?)', bygroups(Name.Class, Whitespace, Punctuation), 'instrumentation'), # Misc keywords - (words(('actual', 'Memory Usage', 'Disk Usage', 'Memory', 'Buckets', 'Batches', - 'originally', 'row', 'rows', 'Hits', 'Misses', - 'Evictions', 'Overflows', 'Planned Partitions'), suffix=r'\b'), + (words(('actual', 'Memory Usage', 'Disk Usage', 'Memory', 'Buckets', + 'Batches', 'originally', 'row', 'rows', 'Hits', 'Misses', + 'Evictions', 'Overflows', 'Planned Partitions', 'Estimates', + 'capacity', 'distinct keys', 'lookups', 'hit percent', + 'Index Searches', 'Storage', 'Disk Maximum Storage'), suffix=r'\b'), Comment.Single), (r'(hit|read|dirtied|written|write|time|calls)(=)', bygroups(Comment.Single, Operator)), @@ -421,7 +423,7 @@ class PostgresExplainLexer(RegexLexer): 'TID Cond', 'Run Condition', 'Order By', 'Function Call', 'Table Function Call', 'Inner Unique', 'Params Evaluated', 'Single Copy', 'Sampling', 'One-Time Filter', 'Output', - 'Relations', 'Remote SQL'), suffix=r'\b'), + 'Relations', 'Remote SQL', 'Disabled'), suffix=r'\b'), Comment.Preproc, 'predicate'), # Special keyword to handle ON CONFLICT diff --git a/contrib/python/Pygments/py3/pygments/lexers/srcinfo.py b/contrib/python/Pygments/py3/pygments/lexers/srcinfo.py index daf654ea9d3..f5681ac72cb 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/srcinfo.py +++ b/contrib/python/Pygments/py3/pygments/lexers/srcinfo.py @@ -7,7 +7,7 @@ The description of the format can be found in the wiki: https://wiki.archlinux.org/title/.SRCINFO - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/stata.py b/contrib/python/Pygments/py3/pygments/lexers/stata.py index dc93cb4e0de..3e51bf297a8 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/stata.py +++ b/contrib/python/Pygments/py3/pygments/lexers/stata.py @@ -4,7 +4,7 @@ Lexer for Stata - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/supercollider.py b/contrib/python/Pygments/py3/pygments/lexers/supercollider.py index 0f19d2af3d4..7d4b7fcf991 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/supercollider.py +++ b/contrib/python/Pygments/py3/pygments/lexers/supercollider.py @@ -4,7 +4,7 @@ Lexer for SuperCollider - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/tablegen.py b/contrib/python/Pygments/py3/pygments/lexers/tablegen.py index 5bcb3eef6a9..fc44ee7c00b 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/tablegen.py +++ b/contrib/python/Pygments/py3/pygments/lexers/tablegen.py @@ -4,7 +4,7 @@ Lexer for LLVM's TableGen DSL. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -118,7 +118,7 @@ class TableGenLexer(RegexLexer): (r'\s+', Whitespace), (r'/\*', Comment.Multiline, 'comment'), - (r'//.*?$', Comment.SingleLine), + (r'//.*?$', Comment.Single), (r'#(define|ifdef|ifndef|else|endif)', Comment.Preproc), # Binary/hex numbers. Note that these take priority over names, @@ -147,7 +147,7 @@ class TableGenLexer(RegexLexer): # String literals (r'"', String, 'dqs'), - (r'\[\{', Text, 'codeblock'), + (r'\[\{', Punctuation, 'codeblock'), # Misc. punctuation (r'[-+\[\]{}()<>\.,;:=?#]+', Punctuation), @@ -167,11 +167,11 @@ class TableGenLexer(RegexLexer): (r'"', String, '#pop'), include('strings'), ], - # No escaping inside a code block - everything is literal + # NOTE: Must escape (pop Cpplexer) codeblock to avoid infinite loop. # Assume that the code inside a code block is C++. This isn't always # true in TableGen, but is the far most common scenario. 'codeblock': [ (r'\}\]', Text, '#pop'), - (r'([^}]+|\}[^]])*', using(CppLexer)), + (r'([^}]+|\}[^]])*', using(CppLexer), "#pop"), ], } diff --git a/contrib/python/Pygments/py3/pygments/lexers/tact.py b/contrib/python/Pygments/py3/pygments/lexers/tact.py index 9199a5b14bb..8018b331aaa 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/tact.py +++ b/contrib/python/Pygments/py3/pygments/lexers/tact.py @@ -4,7 +4,7 @@ Lexers for Tact. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/tal.py b/contrib/python/Pygments/py3/pygments/lexers/tal.py index 33c1bdc9362..57e3643ca73 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/tal.py +++ b/contrib/python/Pygments/py3/pygments/lexers/tal.py @@ -6,7 +6,7 @@ .. versionadded:: 2.12 - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/tcl.py b/contrib/python/Pygments/py3/pygments/lexers/tcl.py index f156efa6a69..9bba7367dee 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/tcl.py +++ b/contrib/python/Pygments/py3/pygments/lexers/tcl.py @@ -4,7 +4,7 @@ Lexers for Tcl and related languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/teal.py b/contrib/python/Pygments/py3/pygments/lexers/teal.py index 54ee268cde6..b80ff99ca59 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/teal.py +++ b/contrib/python/Pygments/py3/pygments/lexers/teal.py @@ -4,7 +4,7 @@ Lexer for TEAL. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/templates.py b/contrib/python/Pygments/py3/pygments/lexers/templates.py index ff796d3d067..b2b69dd2d3a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/templates.py +++ b/contrib/python/Pygments/py3/pygments/lexers/templates.py @@ -4,7 +4,7 @@ Lexers for various template engines' markup. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/teraterm.py b/contrib/python/Pygments/py3/pygments/lexers/teraterm.py index a2c2980d456..1670c9ae071 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/teraterm.py +++ b/contrib/python/Pygments/py3/pygments/lexers/teraterm.py @@ -4,7 +4,7 @@ Lexer for Tera Term macro files. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -84,6 +84,7 @@ class TeraTermLexer(RegexLexer): r'crc32file|' r'cygconnect|' r'delpassword|' + r'delpassword2|' r'dirname|' r'dirnamebox|' r'disconnect|' @@ -139,10 +140,12 @@ class TeraTermLexer(RegexLexer): r'getipv6addr|' r'getmodemstatus|' r'getpassword|' + r'getpassword2|' r'getspecialfolder|' r'gettime|' r'gettitle|' r'getttdir|' + r'getttpos|' r'getver|' # 'goto' is handled separately. r'if|' @@ -152,6 +155,7 @@ class TeraTermLexer(RegexLexer): r'int2str|' r'intdim|' r'ispassword|' + r'ispassword2|' r'kmtfinish|' r'kmtget|' r'kmtrecv|' @@ -176,6 +180,7 @@ class TeraTermLexer(RegexLexer): r'quickvanrecv|' r'quickvansend|' r'random|' + r'recvfile' r'recvln|' r'regexoption|' r'restoresetup|' @@ -185,6 +190,7 @@ class TeraTermLexer(RegexLexer): r'scprecv|' r'scpsend|' r'send|' + r'sendbinary|' r'sendbreak|' r'sendbroadcast|' r'sendfile|' @@ -193,6 +199,7 @@ class TeraTermLexer(RegexLexer): r'sendlnbroadcast|' r'sendlnmulticast|' r'sendmulticast|' + r'sendtext|' r'setbaud|' r'setdate|' r'setdebug|' @@ -206,7 +213,10 @@ class TeraTermLexer(RegexLexer): r'setflowctrl|' r'setmulticastname|' r'setpassword|' + r'setpassword2|' r'setrts|' + r'setserialdelaychar' + r'setserialdelayline' r'setspeed|' r'setsync|' r'settime|' diff --git a/contrib/python/Pygments/py3/pygments/lexers/testing.py b/contrib/python/Pygments/py3/pygments/lexers/testing.py index e6c59269f04..8b7ace8a1e7 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/testing.py +++ b/contrib/python/Pygments/py3/pygments/lexers/testing.py @@ -4,7 +4,7 @@ Lexers for testing languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/text.py b/contrib/python/Pygments/py3/pygments/lexers/text.py index f5524783e70..017e3f73d51 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/text.py +++ b/contrib/python/Pygments/py3/pygments/lexers/text.py @@ -4,7 +4,7 @@ Lexers for non-source code file types. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/textedit.py b/contrib/python/Pygments/py3/pygments/lexers/textedit.py index ea6a0a97696..e8e94ed5b0e 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/textedit.py +++ b/contrib/python/Pygments/py3/pygments/lexers/textedit.py @@ -4,7 +4,7 @@ Lexers for languages related to text processing. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/textfmts.py b/contrib/python/Pygments/py3/pygments/lexers/textfmts.py index 6dd4e581b8f..c97db4100e6 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/textfmts.py +++ b/contrib/python/Pygments/py3/pygments/lexers/textfmts.py @@ -4,7 +4,7 @@ Lexers for various text formats. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/theorem.py b/contrib/python/Pygments/py3/pygments/lexers/theorem.py index 9e3f150d411..ef94dcecc96 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/theorem.py +++ b/contrib/python/Pygments/py3/pygments/lexers/theorem.py @@ -6,7 +6,7 @@ See also :mod:`pygments.lexers.lean` - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -16,19 +16,19 @@ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \ # compatibility import from pygments.lexers.lean import LeanLexer # noqa: F401 -__all__ = ['CoqLexer', 'IsabelleLexer'] +__all__ = ['RocqLexer', 'IsabelleLexer'] -class CoqLexer(RegexLexer): +class RocqLexer(RegexLexer): """ - For the Coq theorem prover. + For the Rocq Prover. """ - name = 'Coq' - url = 'http://coq.inria.fr/' - aliases = ['coq'] + name = 'Rocq Prover' + url = 'https://rocq-prover.org/' + aliases = ['coq', 'rocq', 'rocq-prover'] filenames = ['*.v'] - mimetypes = ['text/x-coq'] + mimetypes = ['text/x-coq', 'text/x-rocq'] version_added = '1.5' flags = 0 # no re.MULTILINE diff --git a/contrib/python/Pygments/py3/pygments/lexers/thingsdb.py b/contrib/python/Pygments/py3/pygments/lexers/thingsdb.py index ee859c995c7..3826bbbe39b 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/thingsdb.py +++ b/contrib/python/Pygments/py3/pygments/lexers/thingsdb.py @@ -4,7 +4,7 @@ Lexers for the ThingsDB language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -52,7 +52,7 @@ class ThingsDBLexer(RegexLexer): # name constants (r'(FULL|USER|GRANT|CHANGE|JOIN|RUN|QUERY|' r'DEBUG|INFO|WARNING|ERROR|CRITICAL|' - r'NO_IDS|INT_MIN|INT_MAX)\b', Name.Constant), + r'NO_IDS|INT_MIN|INT_MAX|MATH_E|MATH_PI)\b', Name.Constant), # regular expressions (r'(/[^/\\]*(?:\\.[^/\\]*)*/i?)', String.Regex), @@ -75,7 +75,7 @@ class ThingsDBLexer(RegexLexer): r'one|clear|contains|ends_with|name|lower|replace|reverse|' r'starts_with|split|test|trim|trim_left|trim_right|upper|del|ren|' r'to_type|to_thing|get|id|keys|reduce|set|some|value|values|wrap|' - r'unshift|unwrap|search)' + r'unshift|unwrap|search|set_name|bit_count)' r'(\()', bygroups(Name.Function, Name.Function, Punctuation), 'arguments'), (r'(alt_raise|assert|base64_encode|base64_decode|bool|bytes|' @@ -89,7 +89,7 @@ class ThingsDBLexer(RegexLexer): r'json_load|list|log|import|export|root|mod_enum|mod_type|new|' r'new_type|now|raise|rand|range|randint|randstr|refs|rename_enum|' r'set|set_enum|set_type|str|thing|timeval|try|type|type_assert|' - r'type_count|type_info|types_info|nse|wse|backup_info|' + r'type_all|type_count|type_info|types_info|nse|wse|backup_info|' r'backups_info|backups_ok|counters|del_backup|has_backup|' r'new_backup|node_info|nodes_info|reset_counters|restart_module|' r'set_log_level|shutdown|has_module|del_module|module_info|' @@ -105,7 +105,10 @@ class ThingsDBLexer(RegexLexer): r'run|assert_err|auth_err|bad_data_err|cancelled_err|' r'rename_type|forbidden_err|lookup_err|max_quota_err|node_err|' r'num_arguments_err|operation_err|overflow_err|syntax_err|' - r'collection_info|type_err|value_err|zero_div_err)' + r'collection_info|type_err|value_err|zero_div_err|whitelist_add|' + r'whitelist_del|round|abs|ceil|cos|exp|floor|log10|log2|' + r'loge|pow|sin|sqrt|tan|is_module|commit|history|set_history|' + r'del_history|ano)' r'(\()', bygroups(Name.Function, Punctuation), 'arguments'), diff --git a/contrib/python/Pygments/py3/pygments/lexers/tlb.py b/contrib/python/Pygments/py3/pygments/lexers/tlb.py index e652eac33ab..c58d208eaff 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/tlb.py +++ b/contrib/python/Pygments/py3/pygments/lexers/tlb.py @@ -4,7 +4,7 @@ Lexers for TL-b. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/tls.py b/contrib/python/Pygments/py3/pygments/lexers/tls.py index a3079a22a6b..16dfe81b50a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/tls.py +++ b/contrib/python/Pygments/py3/pygments/lexers/tls.py @@ -4,7 +4,7 @@ Lexers for the TLS presentation language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re diff --git a/contrib/python/Pygments/py3/pygments/lexers/tnt.py b/contrib/python/Pygments/py3/pygments/lexers/tnt.py index 1ae2ed84afd..45232df6247 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/tnt.py +++ b/contrib/python/Pygments/py3/pygments/lexers/tnt.py @@ -4,7 +4,7 @@ Lexer for Typographic Number Theory. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/trafficscript.py b/contrib/python/Pygments/py3/pygments/lexers/trafficscript.py index 8c801c4cb09..cbffad5b2e2 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/trafficscript.py +++ b/contrib/python/Pygments/py3/pygments/lexers/trafficscript.py @@ -4,7 +4,7 @@ Lexer for RiverBed's TrafficScript (RTS) language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/typoscript.py b/contrib/python/Pygments/py3/pygments/lexers/typoscript.py index d71d5c355b9..6f51fc68b85 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/typoscript.py +++ b/contrib/python/Pygments/py3/pygments/lexers/typoscript.py @@ -13,7 +13,7 @@ `TypoScriptHtmlDataLexer` Lexer that highlights markers, constants and registers within html tags. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/typst.py b/contrib/python/Pygments/py3/pygments/lexers/typst.py index 21f8efd3020..8132e3ee782 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/typst.py +++ b/contrib/python/Pygments/py3/pygments/lexers/typst.py @@ -4,7 +4,7 @@ Lexers for Typst language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/ul4.py b/contrib/python/Pygments/py3/pygments/lexers/ul4.py index 552832caede..609b07729ec 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/ul4.py +++ b/contrib/python/Pygments/py3/pygments/lexers/ul4.py @@ -4,7 +4,7 @@ Lexer for the UL4 templating language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/unicon.py b/contrib/python/Pygments/py3/pygments/lexers/unicon.py index 1077661a349..7b7f32e0c71 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/unicon.py +++ b/contrib/python/Pygments/py3/pygments/lexers/unicon.py @@ -4,7 +4,7 @@ Lexers for the Icon and Unicon languages, including ucode VM. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/urbi.py b/contrib/python/Pygments/py3/pygments/lexers/urbi.py index 93cfcedc162..0de9626ad5e 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/urbi.py +++ b/contrib/python/Pygments/py3/pygments/lexers/urbi.py @@ -4,7 +4,7 @@ Lexers for UrbiScript language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/usd.py b/contrib/python/Pygments/py3/pygments/lexers/usd.py index 468a373691c..79f7c40f110 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/usd.py +++ b/contrib/python/Pygments/py3/pygments/lexers/usd.py @@ -4,7 +4,7 @@ The module that parses Pixar's Universal Scene Description file format. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/varnish.py b/contrib/python/Pygments/py3/pygments/lexers/varnish.py index 5c3de799491..e4822edaa2d 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/varnish.py +++ b/contrib/python/Pygments/py3/pygments/lexers/varnish.py @@ -4,7 +4,7 @@ Lexers for Varnish configuration - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/verification.py b/contrib/python/Pygments/py3/pygments/lexers/verification.py index ac0675797fc..892a4f36c71 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/verification.py +++ b/contrib/python/Pygments/py3/pygments/lexers/verification.py @@ -4,7 +4,7 @@ Lexer for Intermediate Verification Languages (IVLs). - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/verifpal.py b/contrib/python/Pygments/py3/pygments/lexers/verifpal.py index e226339dc39..1c8ed66b05c 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/verifpal.py +++ b/contrib/python/Pygments/py3/pygments/lexers/verifpal.py @@ -4,7 +4,7 @@ Lexers for Verifpal languages. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/vip.py b/contrib/python/Pygments/py3/pygments/lexers/vip.py index 22395e1e9c6..08d356b7d22 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/vip.py +++ b/contrib/python/Pygments/py3/pygments/lexers/vip.py @@ -4,7 +4,7 @@ Lexers for Visual Prolog & Grammar files. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/vyper.py b/contrib/python/Pygments/py3/pygments/lexers/vyper.py index 002ffeddc6f..1afd7f12aeb 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/vyper.py +++ b/contrib/python/Pygments/py3/pygments/lexers/vyper.py @@ -4,7 +4,7 @@ Lexer for the Vyper Smart Contract language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/web.py b/contrib/python/Pygments/py3/pygments/lexers/web.py index 3d359662def..23cb478514a 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/web.py +++ b/contrib/python/Pygments/py3/pygments/lexers/web.py @@ -4,7 +4,7 @@ Just export previously exported lexers. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/webassembly.py b/contrib/python/Pygments/py3/pygments/lexers/webassembly.py index 78cd4ca31b4..f9d409f9c0c 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/webassembly.py +++ b/contrib/python/Pygments/py3/pygments/lexers/webassembly.py @@ -8,7 +8,7 @@ and https://webassembly.github.io/spec/core/text/. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/webidl.py b/contrib/python/Pygments/py3/pygments/lexers/webidl.py index 3bbd12efd6f..5638f2e1cc1 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/webidl.py +++ b/contrib/python/Pygments/py3/pygments/lexers/webidl.py @@ -4,7 +4,7 @@ Lexers for Web IDL, including some extensions. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/webmisc.py b/contrib/python/Pygments/py3/pygments/lexers/webmisc.py index 347592d916d..0923103f6eb 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/webmisc.py +++ b/contrib/python/Pygments/py3/pygments/lexers/webmisc.py @@ -4,7 +4,7 @@ Lexers for misc. web stuff. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/wgsl.py b/contrib/python/Pygments/py3/pygments/lexers/wgsl.py index 8fe950d9fbb..f21836dc017 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/wgsl.py +++ b/contrib/python/Pygments/py3/pygments/lexers/wgsl.py @@ -4,7 +4,7 @@ Lexer for the WebGPU Shading Language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/whiley.py b/contrib/python/Pygments/py3/pygments/lexers/whiley.py index ea98eb2d7b4..8809d3d7943 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/whiley.py +++ b/contrib/python/Pygments/py3/pygments/lexers/whiley.py @@ -4,7 +4,7 @@ Lexers for the Whiley language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/wowtoc.py b/contrib/python/Pygments/py3/pygments/lexers/wowtoc.py index 2b18757d7d9..edc7d06f5f7 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/wowtoc.py +++ b/contrib/python/Pygments/py3/pygments/lexers/wowtoc.py @@ -6,7 +6,7 @@ TOC files describe game addons. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/wren.py b/contrib/python/Pygments/py3/pygments/lexers/wren.py index ec2cd54c98e..f6989a7d8f3 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/wren.py +++ b/contrib/python/Pygments/py3/pygments/lexers/wren.py @@ -4,7 +4,7 @@ Lexer for Wren. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/x10.py b/contrib/python/Pygments/py3/pygments/lexers/x10.py index 4b5d097c5b7..63fc147cbe5 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/x10.py +++ b/contrib/python/Pygments/py3/pygments/lexers/x10.py @@ -4,7 +4,7 @@ Lexers for the X10 programming language. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/xorg.py b/contrib/python/Pygments/py3/pygments/lexers/xorg.py index 37251e490ec..e795e4b50e9 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/xorg.py +++ b/contrib/python/Pygments/py3/pygments/lexers/xorg.py @@ -4,7 +4,7 @@ Lexers for Xorg configs. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/yang.py b/contrib/python/Pygments/py3/pygments/lexers/yang.py index e7f39512569..3b9dec91d07 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/yang.py +++ b/contrib/python/Pygments/py3/pygments/lexers/yang.py @@ -4,7 +4,7 @@ Lexer for the YANG 1.1 modeling language. See :rfc:`7950`. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/yara.py b/contrib/python/Pygments/py3/pygments/lexers/yara.py index 29694f5a132..4ea427fe75c 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/yara.py +++ b/contrib/python/Pygments/py3/pygments/lexers/yara.py @@ -4,7 +4,7 @@ Lexers for YARA. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ diff --git a/contrib/python/Pygments/py3/pygments/lexers/zig.py b/contrib/python/Pygments/py3/pygments/lexers/zig.py index 2b0168acf83..6cc4df84e40 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/zig.py +++ b/contrib/python/Pygments/py3/pygments/lexers/zig.py @@ -4,7 +4,7 @@ Lexers for Zig. - :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -22,7 +22,7 @@ class ZigLexer(RegexLexer): grammar: https://ziglang.org/documentation/master/#Grammar """ name = 'Zig' - url = 'http://www.ziglang.org' + url = 'http://ziglang.org' aliases = ['zig'] filenames = ['*.zig'] mimetypes = ['text/zig'] |
