From b4bb14d44e3448f730b7ed6f18ee9043e9dd5f59 Mon Sep 17 00:00:00 2001 From: TizenOpenSource Date: Wed, 7 Feb 2024 15:55:42 +0900 Subject: [PATCH] Imported Upstream version 2.17.2 --- .coveragerc | 3 + .dockerignore | 13 + .gitattributes | 1 + .github/workflows/build.yaml | 77 + .github/workflows/docs.yaml | 41 + .gitignore | 19 + AUTHORS | 19 +- CHANGES | 383 +- MANIFEST.in | 5 - Makefile | 69 - PKG-INFO | 54 - Pygments.egg-info/PKG-INFO | 54 - Pygments.egg-info/SOURCES.txt | 2114 - Pygments.egg-info/dependency_links.txt | 1 - Pygments.egg-info/entry_points.txt | 2 - Pygments.egg-info/not-zip-safe | 1 - Pygments.egg-info/top_level.txt | 1 - README.rst | 57 +- description.rst | 18 + doc/_static/demo-worker.js | 22 +- doc/_static/demo.css | 1 + doc/_static/demo.js | 7 +- doc/_templates/languages.html | 31 - doc/_themes/pygments14/layout.html | 4 +- .../pygments14/static/pygments14.css_t | 13 + doc/conf.py | 21 +- doc/docs/api.rst | 331 +- doc/docs/cmdline.rst | 24 +- doc/docs/contributing.rst | 69 + doc/docs/index.rst | 5 +- doc/docs/lexerdevelopment.rst | 255 +- doc/docs/plugins.rst | 112 +- doc/docs/quickstart.rst | 8 +- doc/docs/security.rst | 31 + doc/docs/styledevelopment.rst | 38 +- doc/docs/styles.rst | 4 +- doc/docs/terminaltips.rst | 105 + doc/docs/tokens.rst | 29 +- doc/download.rst | 2 +- doc/examples/example.py | 2 +- doc/faq.rst | 3 +- doc/index.rst | 12 +- doc/languages.rst | 18 + doc/pyodide/Dockerfile | 20 + doc/pyodide/meta.yaml | 8 + doc/styles.rst | 3 +- external/autopygmentize | 92 +- external/lilypond-builtins-generator.ly | 18 +- external/markdown-processor.py | 2 +- external/moin-parser.py | 2 +- external/rst-directive.py | 2 +- pygments/__init__.py | 41 +- pygments/__main__.py | 2 +- pygments/cmdline.py | 13 +- pygments/console.py | 2 +- pygments/filter.py | 2 +- pygments/filters/__init__.py | 9 +- pygments/formatter.py | 52 +- pygments/formatters/__init__.py | 39 +- pygments/formatters/_mapping.py | 69 +- pygments/formatters/bbcode.py | 2 +- pygments/formatters/groff.py | 4 +- pygments/formatters/html.py | 35 +- pygments/formatters/img.py | 55 +- pygments/formatters/irc.py | 37 +- pygments/formatters/latex.py | 2 +- pygments/formatters/other.py | 2 +- pygments/formatters/pangomarkup.py | 2 +- pygments/formatters/rtf.py | 2 +- pygments/formatters/svg.py | 2 +- pygments/formatters/terminal.py | 2 +- pygments/formatters/terminal256.py | 2 +- pygments/lexer.py | 135 +- pygments/lexers/__init__.py | 70 +- pygments/lexers/_ada_builtins.py | 2 +- pygments/lexers/_asy_builtins.py | 2 +- pygments/lexers/_cl_builtins.py | 2 +- pygments/lexers/_cocoa_builtins.py | 2 +- pygments/lexers/_csound_builtins.py | 9 +- pygments/lexers/_css_builtins.py | 2 +- pygments/lexers/_julia_builtins.py | 2 +- pygments/lexers/_lasso_builtins.py | 2 +- pygments/lexers/_lilypond_builtins.py | 293 +- pygments/lexers/_lua_builtins.py | 7 +- pygments/lexers/_mapping.py | 130 +- pygments/lexers/_mql_builtins.py | 2 +- pygments/lexers/_mysql_builtins.py | 6 +- pygments/lexers/_openedge_builtins.py | 2 +- pygments/lexers/_php_builtins.py | 8 +- pygments/lexers/_postgres_builtins.py | 61 +- pygments/lexers/_qlik_builtins.py | 2 +- pygments/lexers/_scheme_builtins.py | 2 +- pygments/lexers/_scilab_builtins.py | 6 +- pygments/lexers/_sourcemod_builtins.py | 7 +- pygments/lexers/_stan_builtins.py | 2 +- pygments/lexers/_stata_builtins.py | 2 +- pygments/lexers/_tsql_builtins.py | 2 +- pygments/lexers/_usd_builtins.py | 2 +- pygments/lexers/_vbscript_builtins.py | 2 +- pygments/lexers/_vim_builtins.py | 2 +- pygments/lexers/actionscript.py | 2 +- pygments/lexers/ada.py | 21 +- pygments/lexers/agile.py | 2 +- pygments/lexers/algebra.py | 68 +- pygments/lexers/ambient.py | 4 +- pygments/lexers/amdgpu.py | 7 +- pygments/lexers/ampl.py | 5 +- pygments/lexers/apdlexer.py | 183 +- pygments/lexers/apl.py | 4 +- pygments/lexers/archetype.py | 8 +- pygments/lexers/arrow.py | 2 +- pygments/lexers/arturo.py | 250 + pygments/lexers/asc.py | 14 +- pygments/lexers/asm.py | 18 +- pygments/lexers/asn1.py | 179 + pygments/lexers/automation.py | 6 +- pygments/lexers/bare.py | 10 +- pygments/lexers/basic.py | 8 +- pygments/lexers/bdd.py | 16 +- pygments/lexers/berry.py | 26 +- pygments/lexers/bibtex.py | 6 +- pygments/lexers/blueprint.py | 174 + pygments/lexers/boa.py | 10 +- pygments/lexers/bqn.py | 110 + pygments/lexers/business.py | 14 +- pygments/lexers/c_cpp.py | 93 +- pygments/lexers/c_like.py | 21 +- pygments/lexers/capnproto.py | 4 +- pygments/lexers/carbon.py | 96 + pygments/lexers/cddl.py | 38 +- pygments/lexers/chapel.py | 6 +- pygments/lexers/clean.py | 2 +- pygments/lexers/comal.py | 80 + pygments/lexers/compiled.py | 4 +- pygments/lexers/configs.py | 453 +- pygments/lexers/console.py | 2 +- pygments/lexers/cplint.py | 27 +- pygments/lexers/crystal.py | 14 +- pygments/lexers/csound.py | 4 +- pygments/lexers/css.py | 8 +- pygments/lexers/d.py | 6 +- pygments/lexers/dalvik.py | 8 +- pygments/lexers/data.py | 8 +- pygments/lexers/dax.py | 136 + pygments/lexers/devicetree.py | 2 +- pygments/lexers/diff.py | 15 +- pygments/lexers/dns.py | 106 + pygments/lexers/dotnet.py | 165 +- pygments/lexers/dsls.py | 31 +- pygments/lexers/dylan.py | 20 +- pygments/lexers/ecl.py | 71 +- pygments/lexers/eiffel.py | 14 +- pygments/lexers/elm.py | 8 +- pygments/lexers/elpi.py | 132 +- pygments/lexers/email.py | 60 +- pygments/lexers/erlang.py | 9 +- pygments/lexers/esoteric.py | 6 +- pygments/lexers/ezhil.py | 9 +- pygments/lexers/factor.py | 6 +- pygments/lexers/fantom.py | 2 +- pygments/lexers/felix.py | 2 +- pygments/lexers/fift.py | 67 + pygments/lexers/floscript.py | 2 +- pygments/lexers/forth.py | 4 +- pygments/lexers/fortran.py | 14 +- pygments/lexers/foxpro.py | 4 +- pygments/lexers/freefem.py | 14 +- pygments/lexers/func.py | 108 + pygments/lexers/functional.py | 2 +- pygments/lexers/futhark.py | 9 +- pygments/lexers/gcodelexer.py | 2 +- pygments/lexers/gdscript.py | 291 +- pygments/lexers/go.py | 13 +- pygments/lexers/grammar_notation.py | 6 +- pygments/lexers/graph.py | 26 +- pygments/lexers/graphics.py | 13 +- pygments/lexers/graphql.py | 177 + pygments/lexers/graphviz.py | 2 +- pygments/lexers/gsql.py | 50 +- pygments/lexers/haskell.py | 33 +- pygments/lexers/haxe.py | 2 +- pygments/lexers/hdl.py | 2 +- pygments/lexers/hexdump.py | 4 +- pygments/lexers/html.py | 31 +- pygments/lexers/idl.py | 2 +- pygments/lexers/igor.py | 590 +- pygments/lexers/inferno.py | 4 +- pygments/lexers/installers.py | 2 +- pygments/lexers/int_fiction.py | 31 +- pygments/lexers/iolang.py | 6 +- pygments/lexers/j.py | 6 +- pygments/lexers/javascript.py | 7 +- pygments/lexers/jmespath.py | 68 + pygments/lexers/jslt.py | 2 +- pygments/lexers/jsonnet.py | 168 + pygments/lexers/jsx.py | 76 + pygments/lexers/julia.py | 45 +- pygments/lexers/jvm.py | 10 +- pygments/lexers/kuin.py | 90 +- pygments/lexers/kusto.py | 94 + pygments/lexers/ldap.py | 157 + pygments/lexers/lean.py | 122 + pygments/lexers/lilypond.py | 55 +- pygments/lexers/lisp.py | 13 +- pygments/lexers/macaulay2.py | 77 +- pygments/lexers/make.py | 23 +- pygments/lexers/markup.py | 823 +- pygments/lexers/math.py | 2 +- pygments/lexers/matlab.py | 16 +- pygments/lexers/maxima.py | 2 +- pygments/lexers/meson.py | 32 +- pygments/lexers/mime.py | 2 +- .../lexers/{mcfunction.py => minecraft.py} | 150 +- pygments/lexers/mips.py | 128 + pygments/lexers/ml.py | 10 +- pygments/lexers/modeling.py | 2 +- pygments/lexers/modula2.py | 2 +- pygments/lexers/monte.py | 2 +- pygments/lexers/mosel.py | 2 +- pygments/lexers/ncl.py | 2 +- pygments/lexers/nimrod.py | 77 +- pygments/lexers/nit.py | 2 +- pygments/lexers/nix.py | 59 +- pygments/lexers/oberon.py | 2 +- pygments/lexers/objective.py | 6 +- pygments/lexers/ooc.py | 2 +- pygments/lexers/openscad.py | 97 + pygments/lexers/other.py | 2 +- pygments/lexers/parasail.py | 2 +- pygments/lexers/parsers.py | 43 +- pygments/lexers/pascal.py | 254 +- pygments/lexers/pawn.py | 2 +- pygments/lexers/perl.py | 24 +- pygments/lexers/phix.py | 364 + pygments/lexers/php.py | 41 +- pygments/lexers/pointless.py | 2 +- pygments/lexers/pony.py | 2 +- pygments/lexers/praat.py | 74 +- pygments/lexers/procfile.py | 2 +- pygments/lexers/prolog.py | 9 +- pygments/lexers/promql.py | 14 +- pygments/lexers/prql.py | 252 + pygments/lexers/ptx.py | 120 + pygments/lexers/python.py | 239 +- pygments/lexers/q.py | 149 +- pygments/lexers/qlik.py | 49 +- pygments/lexers/qvt.py | 2 +- pygments/lexers/r.py | 6 +- pygments/lexers/rdf.py | 10 +- pygments/lexers/rebol.py | 13 +- pygments/lexers/resource.py | 2 +- pygments/lexers/ride.py | 5 +- pygments/lexers/rita.py | 12 +- pygments/lexers/rnc.py | 2 +- pygments/lexers/roboconf.py | 2 +- pygments/lexers/robotframework.py | 2 +- pygments/lexers/ruby.py | 51 +- pygments/lexers/rust.py | 2 +- pygments/lexers/sas.py | 2 +- pygments/lexers/savi.py | 6 +- pygments/lexers/scdoc.py | 26 +- pygments/lexers/scripting.py | 2 +- pygments/lexers/sgf.py | 4 +- pygments/lexers/shell.py | 49 +- pygments/lexers/sieve.py | 18 +- pygments/lexers/slash.py | 2 +- pygments/lexers/smalltalk.py | 2 +- pygments/lexers/smithy.py | 9 +- pygments/lexers/smv.py | 2 +- pygments/lexers/snobol.py | 2 +- pygments/lexers/solidity.py | 8 +- pygments/lexers/sophia.py | 2 +- pygments/lexers/special.py | 7 +- pygments/lexers/spice.py | 48 +- pygments/lexers/sql.py | 197 +- pygments/lexers/srcinfo.py | 15 +- pygments/lexers/stata.py | 2 +- pygments/lexers/supercollider.py | 4 +- pygments/lexers/tal.py | 26 +- pygments/lexers/tcl.py | 36 +- pygments/lexers/teal.py | 12 +- pygments/lexers/templates.py | 38 +- pygments/lexers/teraterm.py | 29 +- pygments/lexers/testing.py | 2 +- pygments/lexers/text.py | 2 +- pygments/lexers/textedit.py | 4 +- pygments/lexers/textfmts.py | 15 +- pygments/lexers/theorem.py | 154 +- pygments/lexers/thingsdb.py | 2 +- pygments/lexers/tlb.py | 57 + pygments/lexers/tls.py | 55 + pygments/lexers/tnt.py | 4 +- pygments/lexers/trafficscript.py | 2 +- pygments/lexers/typoscript.py | 2 +- pygments/lexers/ul4.py | 22 +- pygments/lexers/unicon.py | 2 +- pygments/lexers/urbi.py | 2 +- pygments/lexers/usd.py | 2 +- pygments/lexers/varnish.py | 10 +- pygments/lexers/verification.py | 2 +- pygments/lexers/verifpal.py | 66 + pygments/lexers/vip.py | 152 + pygments/lexers/vyper.py | 141 + pygments/lexers/web.py | 2 +- pygments/lexers/webassembly.py | 2 +- pygments/lexers/webidl.py | 2 +- pygments/lexers/webmisc.py | 136 +- pygments/lexers/wgsl.py | 407 + pygments/lexers/whiley.py | 2 +- pygments/lexers/wowtoc.py | 120 + pygments/lexers/wren.py | 99 + pygments/lexers/x10.py | 5 +- pygments/lexers/xorg.py | 4 +- pygments/lexers/yang.py | 8 +- pygments/lexers/yara.py | 70 + pygments/lexers/zig.py | 4 +- pygments/modeline.py | 2 +- pygments/plugin.py | 37 +- pygments/regexopt.py | 2 +- pygments/scanner.py | 2 +- pygments/sphinxext.py | 86 +- pygments/style.py | 8 +- pygments/styles/__init__.py | 80 +- pygments/styles/_mapping.py | 53 + pygments/styles/abap.py | 8 +- pygments/styles/algol.py | 7 +- pygments/styles/algol_nu.py | 7 +- pygments/styles/arduino.py | 149 +- pygments/styles/autumn.py | 9 +- pygments/styles/borland.py | 9 +- pygments/styles/bw.py | 8 +- pygments/styles/colorful.py | 9 +- pygments/styles/default.py | 8 +- pygments/styles/dracula.py | 155 +- pygments/styles/emacs.py | 8 +- pygments/styles/friendly.py | 8 +- pygments/styles/friendly_grayscale.py | 8 +- pygments/styles/fruity.py | 8 +- pygments/styles/gh_dark.py | 113 + pygments/styles/gruvbox.py | 11 +- pygments/styles/igor.py | 8 +- pygments/styles/inkpot.py | 10 +- pygments/styles/lightbulb.py | 110 + pygments/styles/lilypond.py | 13 +- pygments/styles/lovelace.py | 28 +- pygments/styles/manni.py | 9 +- pygments/styles/material.py | 36 +- pygments/styles/monokai.py | 26 +- pygments/styles/murphy.py | 11 +- pygments/styles/native.py | 11 +- pygments/styles/nord.py | 156 + pygments/styles/onedark.py | 14 +- pygments/styles/paraiso_dark.py | 11 +- pygments/styles/paraiso_light.py | 11 +- pygments/styles/pastie.py | 10 +- pygments/styles/perldoc.py | 9 +- pygments/styles/rainbow_dash.py | 13 +- pygments/styles/rrt.py | 10 +- pygments/styles/sas.py | 9 +- pygments/styles/solarized.py | 10 +- pygments/styles/staroffice.py | 31 + pygments/styles/stata_dark.py | 8 +- pygments/styles/stata_light.py | 8 +- pygments/styles/tango.py | 11 +- pygments/styles/trac.py | 10 +- pygments/styles/vim.py | 9 +- pygments/styles/vs.py | 10 +- pygments/styles/xcode.py | 9 +- pygments/styles/zenburn.py | 15 +- pygments/token.py | 4 +- pygments/unistring.py | 6 +- pygments/util.py | 30 +- pyproject.toml | 62 + requirements.txt | 2 + scripts/check_crlf.py | 8 +- scripts/check_repeated_token.py | 83 +- scripts/check_sources.py | 6 +- scripts/check_whitespace_token.py | 57 + scripts/count_token_references.py | 26 +- scripts/debug_lexer.py | 5 +- scripts/detect_missing_analyse_text.py | 2 +- scripts/gen_mapfiles.py | 54 + scripts/get_css_properties.py | 6 +- scripts/get_vimkw.py | 2 +- scripts/release-checklist | 12 +- scripts/utility.py | 68 + scripts/vim2pygments.py | 2 +- setup.cfg | 58 - setup.py | 4 - tests/__init__.py | 2 +- tests/conftest.py | 30 +- tests/contrast/min_contrasts.json | 70 +- tests/contrast/test_contrasts.py | 5 +- tests/examplefiles/ada/test.adb.output | 20 +- tests/examplefiles/ada/test_ada2022.adb | 27 + .../examplefiles/ada/test_ada2022.adb.output | 186 + tests/examplefiles/ada/test_ada_aspects.ads | 58 + .../ada/test_ada_aspects.ads.output | 470 + tests/examplefiles/agda/test.agda | 2 +- tests/examplefiles/agda/test.agda.output | 2 +- .../aheui/durexmania.aheui.output | 8 +- .../aheui/fibonacci.tokigun.aheui.output | 8 +- .../aheui/hello-world.puzzlet.aheui.output | 20 +- tests/examplefiles/ahk/demo.ahk.output | 336 +- tests/examplefiles/alloy/example.als | 40 +- tests/examplefiles/alloy/example.als.output | 56 +- tests/examplefiles/amdgpu/amdgpu.isa | 5 +- tests/examplefiles/amdgpu/amdgpu.isa.output | 36 + .../examplefiles/apdl/example1apdl.ans.output | 40 +- tests/examplefiles/apdl/example2apdl.ans | 18 +- .../examplefiles/apdl/example2apdl.ans.output | 52 +- tests/examplefiles/arturo/arturo_test.art | 457 + .../arturo/arturo_test.art.output | 2564 + tests/examplefiles/asn1/x509.asn1 | 404 + tests/examplefiles/asn1/x509.asn1.output | 2644 + .../aspx-cs/aspx-cs_example.output | 62 +- .../examplefiles/aspx-vb/example2.aspx.output | 58 +- .../autoit/autoit_submit.au3.output | 38 +- tests/examplefiles/bash/example.sh.output | 60 +- tests/examplefiles/bash/ltmain.sh.output | 10826 +- .../examplefiles/bash/stripheredoc.sh.output | 4 +- tests/examplefiles/bc/example.bc.output | 98 +- tests/examplefiles/blueprint/test.blp | 34 + tests/examplefiles/blueprint/test.blp.output | 206 + tests/examplefiles/carbon/declarations.carbon | 37 + .../carbon/declarations.carbon.output | 288 + tests/examplefiles/carbon/example.carbon | 19 + .../examplefiles/carbon/example.carbon.output | 218 + tests/examplefiles/carbon/numbers.carbon | 9 + .../examplefiles/carbon/numbers.carbon.output | 88 + tests/examplefiles/clay/example.clay.output | 70 +- tests/examplefiles/cmake/main.cmake | 15 + tests/examplefiles/cmake/main.cmake.output | 47 +- tests/examplefiles/cobol/example.cob.output | 3976 +- tests/examplefiles/comal80/test.comal | 66 + tests/examplefiles/comal80/test.comal.output | 630 + .../console/example.sh-session.output | 22 +- .../console/example.shell-session.output | 138 +- tests/examplefiles/control/control.output | 28 +- .../coq/coq_RelationClasses.output | 24 +- tests/examplefiles/coq/coq_test | 12 + tests/examplefiles/coq/coq_test.output | 136 + tests/examplefiles/cpp/example.cpp.output | 2 +- tests/examplefiles/cpp/functions.cpp | 18 +- tests/examplefiles/cpp/functions.cpp.output | 73 + tests/examplefiles/csharp/test.cs.output | 176 +- tests/examplefiles/csound/test.orc.output | 4 +- .../css+mozpreproc/demo.css.in.output | 8 +- tests/examplefiles/cypher/test.cyp | 7 +- tests/examplefiles/cypher/test.cyp.output | 29 +- tests/examplefiles/dax/dax_example1.dax | 11 + .../examplefiles/dax/dax_example1.dax.output | 45 + tests/examplefiles/delphi/example.pas.output | 14912 +- tests/examplefiles/delphi/test.pas.output | 3278 +- .../examplefiles/docker/docker.docker.output | 112 +- tests/examplefiles/dylan-console/console | 5 + .../examplefiles/dylan-console/console.output | 20 + tests/examplefiles/evoque/test.evoque.output | 4 +- .../ezhil/ezhil_primefactors.n.output | 304 +- .../examplefiles/fancy/example_file.fy.output | 646 +- tests/examplefiles/fift/new-wallet-v3.fif | 44 + .../fift/new-wallet-v3.fif.output | 435 + tests/examplefiles/fstar/example.fst | 2 +- tests/examplefiles/fstar/example.fst.output | 60 +- tests/examplefiles/func/test.fc | 52 + tests/examplefiles/func/test.fc.output | 429 + tests/examplefiles/gap-repl/euclidean.tst | 60 + .../gap-repl/euclidean.tst.output | 838 + tests/examplefiles/gap-repl/magma.tst | 58 + tests/examplefiles/gap-repl/magma.tst.output | 694 + tests/examplefiles/gap/example.gd.output | 46 +- tests/examplefiles/gap/example.gi.output | 128 +- .../examplefiles/gdscript/gdscript_example.gd | 36 +- .../gdscript/gdscript_example.gd.output | 36 +- .../genshi/genshi_example.xml+genshi.output | 417 +- tests/examplefiles/glsl/glsl.frag | 14 + tests/examplefiles/glsl/glsl.frag.output | 16 +- tests/examplefiles/glsl/glsl.vert | 14 + tests/examplefiles/glsl/glsl.vert.output | 16 +- tests/examplefiles/gnuplot/test.plot.output | 997 +- tests/examplefiles/go/generics.go | 21 + tests/examplefiles/go/generics.go.output | 173 + tests/examplefiles/golo/example.golo.output | 206 +- tests/examplefiles/golo/hello.golo.output | 10 +- .../examplefiles/graphql/ex01_field1.graphql | 5 + .../graphql/ex01_field1.graphql.output | 13 + .../examplefiles/graphql/ex02_field2.graphql | 9 + .../graphql/ex02_field2.graphql.output | 23 + .../graphql/ex03_arguments1.graphql | 6 + .../graphql/ex03_arguments1.graphql.output | 23 + .../graphql/ex04_arguments2.graphql | 6 + .../graphql/ex04_arguments2.graphql.output | 29 + .../examplefiles/graphql/ex05_aliases.graphql | 8 + .../graphql/ex05_aliases.graphql.output | 39 + .../graphql/ex06_fragments1.graphql | 16 + .../graphql/ex06_fragments1.graphql.output | 67 + .../graphql/ex07_fragments2.graphql | 20 + .../graphql/ex07_fragments2.graphql.output | 99 + .../graphql/ex08_operation_name.graphql | 8 + .../ex08_operation_name.graphql.output | 25 + .../graphql/ex09_variables1.graphql | 8 + .../graphql/ex09_variables1.graphql.output | 37 + .../graphql/ex10_variables2.graphql | 8 + .../graphql/ex10_variables2.graphql.output | 41 + .../graphql/ex11_directives.graphql | 8 + .../graphql/ex11_directives.graphql.output | 52 + .../graphql/ex12_mutations.graphql | 6 + .../graphql/ex12_mutations.graphql.output | 45 + .../graphql/ex13_inline_fragments1.graphql | 11 + .../ex13_inline_fragments1.graphql.output | 54 + .../graphql/ex14_inline_fragments2.graphql | 14 + .../ex14_inline_fragments2.graphql.output | 57 + tests/examplefiles/hlsl/example.hlsl | 13 + tests/examplefiles/hlsl/example.hlsl.output | 14 + .../http/http_request_example.output | 16 +- tests/examplefiles/inform6/inform6_example | 8 +- .../inform6/inform6_example.output | 81 +- tests/examplefiles/inform7/example.ni.output | 3 +- tests/examplefiles/ini/test.ini | 14 +- tests/examplefiles/ini/test.ini.output | 31 +- .../irc/example.weechatlog.output | 4 +- tests/examplefiles/isabelle/example.thy | 751 - .../examplefiles/isabelle/example.thy.output | 5431 - tests/examplefiles/isabelle/example_ascii.thy | 1027 + .../isabelle/example_ascii.thy.output | 8566 ++ .../examplefiles/isabelle/example_unicode.thy | 1027 + .../isabelle/example_unicode.thy.output | 7785 ++ .../javascript+mozpreproc/demo.js.in.output | 8 +- tests/examplefiles/jcl/example.jcl.output | 38 +- tests/examplefiles/jmespath/example.jp | 16 + tests/examplefiles/jmespath/example.jp.output | 258 + tests/examplefiles/jsonnet/example.jsonnet | 74 + .../jsonnet/example.jsonnet.output | 697 + tests/examplefiles/jsp/test.jsp.output | 29 +- tests/examplefiles/jsx/general.jsx | 54 + tests/examplefiles/jsx/general.jsx.output | 361 + tests/examplefiles/kusto/test.kusto | 87 + tests/examplefiles/kusto/test.kusto.output | 254 + tests/examplefiles/ldaprc/ldaprc | 7 + tests/examplefiles/ldaprc/ldaprc.output | 32 + tests/examplefiles/ldif/rfc2849.ldif | 188 + tests/examplefiles/ldif/rfc2849.ldif.output | 1157 + tests/examplefiles/lean/test.lean | 4 + tests/examplefiles/lean/test.lean.output | 25 + tests/examplefiles/lilypond/example.ly | 5 +- tests/examplefiles/lilypond/example.ly.output | 406 +- .../examplefiles/liquid/example.liquid.output | 14 +- .../examplefiles/llvm-mir/llvm-mir.mir.output | 6 +- tests/examplefiles/make/Makefile.output | 4186 +- tests/examplefiles/make/automake.mk.output | 16 +- tests/examplefiles/make/firefox.mak.output | 1540 +- .../examplefiles/make/python25-bsd.mak.output | 896 +- tests/examplefiles/make/vpath.mk.output | 66 +- .../mcschema/actor_animation.mcschema | 145 + .../mcschema/actor_animation.mcschema.output | 892 + .../examplefiles/mcschema/attribute.mcschema | 7 + .../mcschema/attribute.mcschema.output | 52 + tests/examplefiles/mcschema/geometry.mcschema | 225 + .../mcschema/geometry.mcschema.output | 1404 + tests/examplefiles/mcschema/manifest.mcschema | 136 + .../mcschema/manifest.mcschema.output | 1158 + tests/examplefiles/md/example.md.output | 110 +- .../mips/function_with_stack.mips | 84 + .../mips/function_with_stack.mips.output | 338 + tests/examplefiles/monte/test.mt.output | 14 +- tests/examplefiles/myghty/test.myt.output | 226 +- tests/examplefiles/nasm/nasm_simd.asm | 13 + tests/examplefiles/nasm/nasm_simd.asm.output | 102 + tests/examplefiles/nim/example.nim.output | 4715 +- tests/examplefiles/nim/test.nim.output | 537 +- tests/examplefiles/nixos/example.nix | 2 +- tests/examplefiles/nixos/example.nix.output | 1032 +- .../notmuch/notmuch_example.output | 6 +- tests/examplefiles/nt/test.nt | 10 +- tests/examplefiles/nt/test.nt.output | 148 +- tests/examplefiles/nt/test2.nt | 51 + tests/examplefiles/nt/test2.nt.output | 241 + .../objdump-nasm/no-show-raw-isns.dump.output | 32 +- tests/examplefiles/ocaml/format.ml.output | 160 +- tests/examplefiles/perl/perl_misc.output | 274 +- tests/examplefiles/perl/perl_perl5db.output | 2736 +- .../perl/perl_regex-delims.output | 516 +- tests/examplefiles/perl6/RoleQ.pm6.output | 6 +- tests/examplefiles/phix/example.exw | 85 + tests/examplefiles/phix/example.exw.output | 606 + tests/examplefiles/php/test.php | 3 +- tests/examplefiles/portugol/example.alg | 184 + .../examplefiles/portugol/example.alg.output | 1195 + tests/examplefiles/postgres-explain/plan.txt | 148 + .../postgres-explain/plan.txt.output | 2727 + .../postgresql/postgresql_test.txt.output | 8 +- tests/examplefiles/pot/de.MoinMoin.po.output | 4922 +- tests/examplefiles/praat/example.praat.output | 1981 +- tests/examplefiles/properties/java.properties | 45 +- .../properties/java.properties.output | 156 +- .../protobuf/addressbook.proto.output | 54 +- tests/examplefiles/prql/example.prql | 22 + tests/examplefiles/prql/example.prql.output | 163 + .../pycon/pycon_ctrlc_traceback.output | 206 +- .../pycon/pycon_test.pycon.output | 40 +- tests/examplefiles/pytb/database.pytb.output | 48 +- .../pytb/error_locations.pytb.output | 52 +- .../examplefiles/pytb/py3tb_test.py3tb.output | 12 +- .../examplefiles/pytb/pytb_test2.pytb.output | 4 +- .../examplefiles/pytb/pytb_test3.pytb.output | 8 +- .../pytb/syntax_error.py2tb.output | 12 +- .../pytb/syntax_error.pytb.output | 12 +- .../pytb/syntax_error_caret_code.py2tb.output | 10 +- .../pytb/syntax_error_caret_code.pytb.output | 10 +- tests/examplefiles/pytb/truncated.pytb.output | 44 +- .../python/linecontinuation.py.output | 54 +- tests/examplefiles/python/py3_test.txt.output | 4 +- .../python/switch_case.txt.output | 52 +- .../examplefiles/python/unicodedoc.py.output | 28 +- .../examplefiles/rb/condensed_ruby.rb.output | 36 +- tests/examplefiles/rb/example.rb.output | 6438 +- tests/examplefiles/rb/fucked_up.rb.output | 196 +- tests/examplefiles/rb/hash_syntax.rb.output | 44 +- .../rb/multiline_regexes.rb.output | 76 +- tests/examplefiles/rb/pleac.in.rb.output | 5302 +- tests/examplefiles/rb/ruby_func_def.rb.output | 36 +- tests/examplefiles/rb/test.rb.output | 458 +- tests/examplefiles/rbcon/console | 5 + tests/examplefiles/rbcon/console.output | 19 + tests/examplefiles/rbcon/irb_heredoc.output | 6 +- .../rconsole/r-console-transcript.Rout.output | 42 +- tests/examplefiles/rd/example.Rd.output | 154 +- tests/examplefiles/rebol/test.r3 | 6 - tests/examplefiles/rebol/test.r3.output | 19 - tests/examplefiles/red/example.red.output | 4 +- tests/examplefiles/red/example.reds.output | 5 +- tests/examplefiles/rhtml/example.rhtml.output | 1412 +- tests/examplefiles/rhtml/test.rhtml.output | 82 +- tests/examplefiles/rnc/rnc_example.rnc.output | 66 +- tests/examplefiles/rst/functional.rst.output | 1556 +- .../rst/jinjadesignerdoc.rst.output | 706 +- tests/examplefiles/rts/example.rts.output | 232 +- tests/examplefiles/scala/exports.scala.output | 16 +- tests/examplefiles/scala/imports.scala.output | 26 +- tests/examplefiles/scala/package.scala.output | 4 +- .../scdoc/scdoc_manual.scd.output | 278 +- tests/examplefiles/scilab/bench_chol.tst | 23 + .../examplefiles/scilab/bench_chol.tst.output | 95 + .../singularity/Singularity.output | 166 +- tests/examplefiles/slim/example.slim.output | 40 +- tests/examplefiles/slurm/example.sl.output | 4 +- tests/examplefiles/smithy/test.smithy | 12 + tests/examplefiles/smithy/test.smithy.output | 52 + tests/examplefiles/snowball/example.sbl | 2 + .../examplefiles/snowball/example.sbl.output | 26 + tests/examplefiles/solidity/test.sol | 92 +- tests/examplefiles/solidity/test.sol.output | 491 +- tests/examplefiles/spice/dijkstra.spice | 70 + .../examplefiles/spice/dijkstra.spice.output | 923 + tests/examplefiles/spice/example.spice | 20 +- tests/examplefiles/spice/example.spice.output | 99 +- tests/examplefiles/splus/test.R.output | 680 +- tests/examplefiles/sql+jinja/example.sql | 10 + .../examplefiles/sql+jinja/example.sql.output | 112 + tests/examplefiles/ssp/test.ssp.output | 24 +- tests/examplefiles/tal/piano.tal | 814 +- tests/examplefiles/tal/piano.tal.output | 3818 +- tests/examplefiles/tea/example.tea.output | 20 +- tests/examplefiles/teal/example.teal.output | 38 +- tests/examplefiles/tid/TiddlyWiki5.tid.output | 114 +- tests/examplefiles/tlb/block.tlb | 868 + tests/examplefiles/tlb/block.tlb.output | 9295 ++ tests/examplefiles/tls/example.txt | 435 + tests/examplefiles/tls/example.txt.output | 2671 + tests/examplefiles/toml/example.toml.output | 718 +- .../treetop/metagrammar.treetop.output | 684 +- tests/examplefiles/ttl/teraterm.ttl | 13 +- tests/examplefiles/ttl/teraterm.ttl.output | 361 +- tests/examplefiles/turtle/example.ttl | 2 + tests/examplefiles/turtle/example.ttl.output | 13 + tests/examplefiles/ucode/example.u1.output | 2 +- tests/examplefiles/vcl/varnish.vcl.output | 814 +- tests/examplefiles/verifpal/verifpal_example | 84 + .../verifpal/verifpal_example.output | 741 + tests/examplefiles/vim/phpcomplete.vim.output | 1094 +- tests/examplefiles/vim/vimrc.output | 44 +- tests/examplefiles/visualprolog/hanoi.pro | 25 + .../visualprolog/hanoi.pro.output | 202 + tests/examplefiles/visualprolog/test.pro | 151 + .../examplefiles/visualprolog/test.pro.output | 456 + .../visualprologgrammar/grammarDef.vipgrm | 239 + .../grammarDef.vipgrm.output | 1533 + .../visualprologgrammar/test.vipgrm | 33 + .../visualprologgrammar/test.vipgrm.output | 88 + tests/examplefiles/vyper/test.txt | 1868 + tests/examplefiles/vyper/test.txt.output | 10900 ++ .../wikitext/article_france.wikitext | 973 + .../wikitext/article_france.wikitext.output | 108576 +++++++++++++++ tests/examplefiles/wowtoc/comments.toc | 6 + tests/examplefiles/wowtoc/comments.toc.output | 17 + tests/examplefiles/wowtoc/files.toc | 3 + tests/examplefiles/wowtoc/files.toc.output | 8 + tests/examplefiles/wowtoc/official_tags.toc | 63 + .../wowtoc/official_tags.toc.output | 503 + tests/examplefiles/wowtoc/other_tags.toc | 6 + .../examplefiles/wowtoc/other_tags.toc.output | 45 + tests/examplefiles/wren/example.wren | 122 + tests/examplefiles/wren/example.wren.output | 925 + tests/examplefiles/x10/example.x10.output | 14 +- tests/examplefiles/xml/xml_example.output | 12014 +- tests/examplefiles/xpp/test.xpp | 76 + tests/examplefiles/xpp/test.xpp.output | 581 + tests/examplefiles/xquery/test-3.0.xq.output | 122 +- .../xquery/test-exist-update.xq.output | 88 +- tests/examplefiles/xquery/test.xqy.output | 152 +- tests/examplefiles/xslt/test.xsl.output | 66 +- .../xul+mozpreproc/demo.xul.in.output | 16 +- tests/examplefiles/yara/example.yar | 62 + tests/examplefiles/yara/example.yar.output | 345 + tests/examplefiles/zone/dig-output.zone | 18 + .../examplefiles/zone/dig-output.zone.output | 58 + tests/examplefiles/zone/example.zone | 42 + tests/examplefiles/zone/example.zone.output | 258 + tests/snippets/asn1/certificate.txt | 147 + tests/snippets/asn1/nested-comment.txt | 49 + tests/snippets/bqn/test_arguments.txt | 28 + tests/snippets/bqn/test_comment.txt | 12 + tests/snippets/bqn/test_define.txt | 42 + tests/snippets/bqn/test_syntax_roles.txt | 23 + tests/snippets/c/builtin_types.txt | 13 + tests/snippets/c/test_function_comments.txt | 409 + .../c/test_string_resembling_decl_end.txt | 41 + .../snippets/carbon/unterminated_comment.txt | 80 + tests/snippets/conftest.py | 2 +- tests/snippets/console/fake_ps2_prompt.txt | 4 +- tests/snippets/console/prompt_in_output.txt | 4 +- tests/snippets/console/ps2_prompt.txt | 2 +- .../console/test_newline_in_echo_no_ps2.txt | 6 +- .../console/test_newline_in_echo_ps2.txt | 4 +- .../console/test_newline_in_ls_no_ps2.txt | 6 +- .../console/test_newline_in_ls_ps2.txt | 4 +- tests/snippets/console/test_virtualenv.txt | 4 +- tests/snippets/cpp/alternative_tokens.txt | 46 + tests/snippets/cpp/extension_keywords.txt | 17 + .../crystal/test_empty_percent_strings.txt | 27 + tests/snippets/crystal/test_numbers.txt | 84 + .../snippets/crystal/test_string_escapes.txt | 58 + tests/snippets/crystal/test_symbols.txt | 20 + tests/snippets/css/percent_in_func.txt | 51 + tests/snippets/desktop/example.txt | 107 + .../test_fragment_out_of_root_node.txt | 72 + tests/snippets/diff/normal.txt | 38 + tests/snippets/diff/unified.txt | 44 + tests/snippets/elpi/test_quotations.txt | 33 + tests/snippets/ezhil/test_function.txt | 20 +- tests/snippets/ezhil/test_gcd_expr.txt | 2 +- tests/snippets/ezhil/test_if_statement.txt | 6 +- tests/snippets/ezhil/test_sum.txt | 2 +- .../snippets/fortran/test_string_cataback.txt | 112 + tests/snippets/html/css.txt | 29 + tests/snippets/html/css_backtracking.txt | 93 + tests/snippets/html/javascript.txt | 28 + .../snippets/html/javascript_backtracking.txt | 285 + tests/snippets/html/javascript_unclosed.txt | 40 + .../http/test_application_calendar_xml.txt | 2 +- tests/snippets/http/test_application_xml.txt | 2 +- tests/snippets/http/test_urlencoded.txt | 41 + tests/snippets/java/test_backtracking.txt | 66 + tests/snippets/java/test_multiline_string.txt | 185 + .../java/test_multiline_string_only.txt | 46 + tests/snippets/java/test_string_literals.txt | 44 + .../test_binary_literal_negative_matches.txt | 27 + .../test_binary_literal_positive_matches.txt | 15 + .../test_float_literals_negative_matches.txt | 60 + .../test_float_literals_positive_matches.txt | 52 + ...t_hexadecimal_literal_negative_matches.txt | 32 + ...t_hexadecimal_literal_positive_matches.txt | 19 + .../test_integer_literal_negative_matches.txt | 20 + .../test_integer_literal_positive_matches.txt | 15 + .../test_octal_literal_negative_matches.txt | 40 + .../test_octal_literal_positive_matches.txt | 23 + tests/snippets/json/test_arrays.txt | 15 + tests/snippets/json/test_backtracking.txt | 6 + tests/snippets/json/test_comments.txt | 65 + tests/snippets/json/test_constants.txt | 14 + tests/snippets/json/test_escape_sequences.txt | 79 + tests/snippets/json/test_floats.txt | 42 + tests/snippets/json/test_integers.txt | 18 + tests/snippets/json/test_objects.txt | 15 + tests/snippets/json/test_round_trip.txt | 29 + tests/snippets/json/test_strings.txt | 42 + tests/snippets/json/test_whitespace.txt | 17 + tests/snippets/jsonld/test_json_ld.txt | 251 + tests/snippets/jsx/test_aria_attribute.txt | 16 + .../jsx/test_arrow_function_attribute.txt | 25 + tests/snippets/jsx/test_fragment.txt | 15 + .../jsx/test_function_returning_jsx.text | 25 + .../snippets/jsx/test_multiple_attributes.txt | 22 + tests/snippets/jsx/test_object_attribute.txt | 23 + tests/snippets/jsx/test_short_syntax.txt | 7 + tests/snippets/kusto/test_kusto.txt | 59 + tests/snippets/markdown/test_code.txt | 108 + tests/snippets/markdown/test_headings.txt | 81 + tests/snippets/markdown/test_invalid_code.txt | 52 + .../markdown/test_setext_headings.txt | 121 + .../markdown/test_setext_subheadings.txt | 128 + tests/snippets/markdown/test_subheadings.txt | 115 + .../mason/test_handles_tags_correctly.txt | 38 +- .../matlabsession/test_wrong_continuation.txt | 18 + .../md/test_bold_fenced_by_asterisk.txt | 6 +- .../md/test_bold_fenced_by_underscore.txt | 6 +- tests/snippets/md/test_bulleted_list_1.txt | 8 +- tests/snippets/md/test_bulleted_list_2.txt | 8 +- tests/snippets/md/test_bulleted_list_3.txt | 8 +- tests/snippets/md/test_bulleted_list_4.txt | 8 +- .../md/test_code_block_with_language.txt | 4 +- tests/snippets/md/test_escape_italics.txt | 6 +- tests/snippets/md/test_inline_code.txt | 14 +- .../md/test_inline_code_after_block.txt | 8 +- .../snippets/md/test_inline_code_in_list.txt | 14 +- tests/snippets/md/test_invalid_bold.txt | 10 +- tests/snippets/md/test_invalid_italics.txt | 10 +- tests/snippets/md/test_italics_and_bold.txt | 4 +- .../md/test_italics_fenced_by_asterisk.txt | 6 +- .../md/test_italics_fenced_by_underscore.txt | 6 +- .../snippets/md/test_italics_no_multiline.txt | 4 +- tests/snippets/md/test_links.txt | 6 +- tests/snippets/md/test_mentions.txt | 2 +- tests/snippets/md/test_numbered_list.txt | 4 +- .../md/test_reference_style_links.txt | 4 +- tests/snippets/md/test_strikethrough.txt | 2 +- tests/snippets/md/test_task_list.txt | 10 +- tests/snippets/md/test_topics.txt | 2 +- tests/snippets/mips/deprecated_substrings.txt | 34 + tests/snippets/mips/keyword_substrings.txt | 254 + tests/snippets/mips/variable_substrings.txt | 102 + tests/snippets/nix/basic_values.txt | 125 + tests/snippets/nix/built_in.txt | 34 + tests/snippets/nix/comments.txt | 16 + tests/snippets/nix/compound_values.txt | 140 + .../snippets/nix/computed_property_names.txt | 56 + tests/snippets/nix/control_structures.txt | 99 + tests/snippets/nix/floats.txt | 26 + tests/snippets/nix/functions.txt | 219 + tests/snippets/nix/operators.txt | 186 + tests/snippets/nix/string_escape.txt | 101 + tests/snippets/openscad/test_basic.txt | 391 + tests/snippets/peg/test_basic.txt | 2 +- tests/snippets/peg/test_modified_strings.txt | 2 +- tests/snippets/peg/test_operators.txt | 4 +- tests/snippets/php/anonymous_class.txt | 28 + tests/snippets/php/attributes.txt | 38 + .../php/test_backslashes_in_strings.txt | 28 + tests/snippets/php/variable_variable.txt | 45 + .../praat/test_broken_unquoted_string.txt | 10 +- tests/snippets/praat/test_function_call.txt | 6 +- tests/snippets/praat/test_inline_if.txt | 22 +- ...polated_indexed_numeric_with_precision.txt | 2 +- ...erpolated_local_numeric_with_precision.txt | 2 +- .../praat/test_interpolated_numeric_hash.txt | 2 +- .../test_interpolated_numeric_indexed.txt | 2 +- ...st_interpolated_numeric_with_precision.txt | 2 +- .../praat/test_interpolated_string_hash.txt | 2 +- .../test_interpolated_string_indexed.txt | 2 +- .../praat/test_interpolation_boundary.txt | 6 +- .../praat/test_numeric_assignment.txt | 6 +- .../snippets/praat/test_string_assignment.txt | 6 +- .../praat/test_string_escaped_quotes.txt | 2 +- tests/snippets/procfile/test_basic.txt | 15 + tests/snippets/properties/test_comments.txt | 4 +- .../test_escaped_space_in_value.txt | 4 +- .../properties/test_just_key_with_space.txt | 4 +- .../test_leading_whitespace_comments.txt | 2 +- .../test_space_delimited_kv_pair.txt | 3 +- tests/snippets/prql/filename.txt | 188 + tests/snippets/prql/fstring.txt | 13 + tests/snippets/prql/rstring.txt | 11 + tests/snippets/prql/sstring.txt | 9 + tests/snippets/ptx/test_ptx_snippet.txt | 311 + .../pwsh-session/test_continuation.txt | 124 + tests/snippets/pycon/broken_tb.txt | 98 + tests/snippets/pycon/multiple_tb.txt | 108 + tests/snippets/pycon/unterminated_tb.txt | 17 + .../python/test_bytes_escape_codes.txt | 24 + tests/snippets/python/test_floats.txt | 2 +- tests/snippets/python/test_fstring_01a.txt | 2 +- tests/snippets/python/test_fstring_01b.txt | 2 +- tests/snippets/python/test_fstring_02a.txt | 2 +- tests/snippets/python/test_fstring_02b.txt | 2 +- tests/snippets/python/test_fstring_03a.txt | 2 +- tests/snippets/python/test_fstring_03b.txt | 2 +- tests/snippets/python/test_fstring_04a.txt | 2 +- tests/snippets/python/test_fstring_04b.txt | 2 +- tests/snippets/python/test_fstring_05a.txt | 2 +- tests/snippets/python/test_fstring_05b.txt | 2 +- tests/snippets/python/test_fstring_06a.txt | 2 +- tests/snippets/python/test_fstring_06b.txt | 2 +- tests/snippets/python/test_fstring_07a.txt | 2 +- tests/snippets/python/test_fstring_07b.txt | 2 +- tests/snippets/python/test_fstring_08a.txt | 2 +- tests/snippets/python/test_fstring_08b.txt | 2 +- tests/snippets/python/test_fstring_09a.txt | 2 +- tests/snippets/python/test_fstring_09b.txt | 2 +- tests/snippets/python/test_fstring_10a.txt | 2 +- tests/snippets/python/test_fstring_10b.txt | 2 +- tests/snippets/python/test_fstring_11a.txt | 2 +- tests/snippets/python/test_fstring_11b.txt | 2 +- tests/snippets/python/test_fstring_12a.txt | 4 +- tests/snippets/python/test_fstring_12b.txt | 4 +- tests/snippets/python/test_fstring_13a.txt | 4 +- tests/snippets/python/test_fstring_13b.txt | 4 +- tests/snippets/python/test_fstring_14a.txt | 2 +- tests/snippets/python/test_fstring_14b.txt | 2 +- tests/snippets/python/test_fstring_15a.txt | 2 +- tests/snippets/python/test_fstring_15b.txt | 2 +- tests/snippets/python/test_fstring_16a.txt | 2 +- tests/snippets/python/test_fstring_16b.txt | 2 +- tests/snippets/python/test_fstring_17a.txt | 2 +- tests/snippets/python/test_fstring_17b.txt | 2 +- tests/snippets/python/test_fstring_18a.txt | 2 +- tests/snippets/python/test_fstring_18b.txt | 2 +- tests/snippets/python/test_fstring_19a.txt | 22 +- tests/snippets/python/test_fstring_19b.txt | 22 +- tests/snippets/python/test_fstring_20a.txt | 2 +- tests/snippets/python/test_fstring_20b.txt | 2 +- tests/snippets/python/test_fstring_21a.txt | 2 +- tests/snippets/python/test_fstring_21b.txt | 2 +- tests/snippets/python/test_fstring_22a.txt | 2 +- tests/snippets/python/test_fstring_22b.txt | 2 +- tests/snippets/python/test_fstring_23a.txt | 2 +- tests/snippets/python/test_fstring_23b.txt | 2 +- tests/snippets/python/test_fstring_24a.txt | 6 +- tests/snippets/python/test_fstring_24b.txt | 6 +- tests/snippets/python/test_fstring_25a.txt | 2 +- tests/snippets/python/test_fstring_25b.txt | 2 +- tests/snippets/python/test_fstring_26a.txt | 2 +- tests/snippets/python/test_fstring_26b.txt | 2 +- tests/snippets/python/test_fstring_27a.txt | 2 +- tests/snippets/python/test_fstring_27b.txt | 2 +- tests/snippets/python/test_fstring_28a.txt | 2 +- tests/snippets/python/test_fstring_28b.txt | 2 +- tests/snippets/python/test_fstring_29a.txt | 2 +- tests/snippets/python/test_fstring_29b.txt | 2 +- tests/snippets/python/test_fstring_30a.txt | 6 +- tests/snippets/python/test_fstring_30b.txt | 6 +- tests/snippets/python/test_fstring_31a.txt | 4 +- tests/snippets/python/test_fstring_31b.txt | 4 +- tests/snippets/python/test_fstring_32a.txt | 2 +- tests/snippets/python/test_fstring_32b.txt | 2 +- tests/snippets/python/test_fstring_33a.txt | 2 +- tests/snippets/python/test_fstring_33b.txt | 2 +- tests/snippets/python/test_fstring_34a.txt | 2 +- tests/snippets/python/test_fstring_34b.txt | 2 +- tests/snippets/python/test_fstring_35a.txt | 2 +- tests/snippets/python/test_fstring_35b.txt | 2 +- tests/snippets/python/test_fstring_36a.txt | 4 +- tests/snippets/python/test_fstring_36b.txt | 4 +- tests/snippets/python/test_needs_name.txt | 2 +- tests/snippets/python/test_pep_515.txt | 12 +- tests/snippets/python/test_raw_fstring.txt | 10 +- .../python/test_string_escape_codes.txt | 20 + .../snippets/python/test_walrus_operator.txt | 2 +- tests/snippets/python2/test_cls_builtin.txt | 8 +- tests/snippets/r/test_call.txt | 4 +- tests/snippets/r/test_custom_operator.txt | 6 +- tests/snippets/r/test_dot_indexing.txt | 2 +- tests/snippets/r/test_dot_name.txt | 6 +- tests/snippets/r/test_indexing.txt | 2 +- tests/snippets/r/test_name1.txt | 2 +- tests/snippets/r/test_name2.txt | 2 +- tests/snippets/r/test_name3.txt | 2 +- tests/snippets/robotframework/test_basic.txt | 40 + .../ruby/test_escaped_bracestring.txt | 4 +- .../ruby/test_interpolation_nested_curly.txt | 24 +- tests/snippets/ruby/test_operator_methods.txt | 2 +- tests/snippets/ruby/test_range_syntax1.txt | 2 +- tests/snippets/ruby/test_range_syntax2.txt | 2 +- tests/snippets/ruby/test_range_syntax3.txt | 6 +- tests/snippets/scala/test_import_path.txt | 2 +- tests/snippets/shell/test_array_nums.txt | 6 +- .../shell/test_curly_no_escape_and_quotes.txt | 4 +- .../snippets/shell/test_curly_with_escape.txt | 4 +- .../snippets/shell/test_end_of_line_nums.txt | 4 +- tests/snippets/shell/test_math.txt | 672 + tests/snippets/shell/test_parsed_single.txt | 2 +- .../shell/test_short_variable_names.txt | 6 +- tests/snippets/systemd/example1.txt | 77 + tests/snippets/tcl/test_vars.txt | 17 + tests/snippets/teal/test_comments.txt | 8 +- tests/snippets/teal/test_literals.txt | 8 +- tests/snippets/teal/test_strings.txt | 2 +- tests/snippets/terraform/test_heredoc.txt | 33 + tests/snippets/thingsdb/basic.txt | 10 + tests/snippets/toml/bool-comment.txt | 12 + .../snippets/toml/comment-section-header.txt | 20 + .../toml/multiline-string-comment.txt | 15 + tests/snippets/toml/number-keys.txt | 64 + .../toml/section-header-whitespace.txt | 16 + tests/snippets/toml/string-escapes.txt | 86 + tests/snippets/toml/strings-eager.txt | 49 + tests/snippets/toml/table-header-string.txt | 27 + tests/snippets/urlencoded/example.txt | 11 + tests/snippets/usd/basic.txt | 52 + tests/snippets/vyper/test.txt | 24 + tests/snippets/wgsl/address-space.txt | 72 + tests/snippets/wgsl/attribute.txt | 87 + tests/snippets/wgsl/block-comment.txt | 34 + tests/snippets/wgsl/bool-types.txt | 47 + tests/snippets/wgsl/const-numbers.txt | 549 + tests/snippets/wgsl/depth-texture.txt | 97 + tests/snippets/wgsl/external-texture.txt | 21 + tests/snippets/wgsl/line-comment.txt | 13 + tests/snippets/wgsl/multisampled-texture.txt | 24 + tests/snippets/wgsl/numeric-types.txt | 642 + tests/snippets/wgsl/sampled-texture.txt | 134 + tests/snippets/wgsl/storage-texture.txt | 98 + tests/snippets/wgsl/texel-formats.txt | 410 + tests/snippets/wgsl/tiny-render.txt | 105 + tests/snippets/wgsl/type-generators.txt | 43 + tests/snippets/wikitext/bold-italic.txt | 289 + tests/snippets/wikitext/entity.txt | 185 + tests/snippets/wikitext/extlink.txt | 292 + tests/snippets/wikitext/heading.txt | 53 + tests/snippets/wikitext/hr.txt | 42 + tests/snippets/wikitext/html.txt | 449 + .../snippets/wikitext/language-converter.txt | 481 + tests/snippets/wikitext/list.txt | 532 + tests/snippets/wikitext/magic-link.txt | 52 + tests/snippets/wikitext/magic-word.txt | 157 + tests/snippets/wikitext/medialink.txt | 171 + .../only-highlight-first-redirect.txt | 22 + tests/snippets/wikitext/parser-function.txt | 2717 + tests/snippets/wikitext/parser-tag.txt | 2133 + tests/snippets/wikitext/signurature.txt | 24 + tests/snippets/wikitext/table.txt | 2323 + tests/snippets/wikitext/template.txt | 617 + tests/snippets/wikitext/wikilink.txt | 790 + tests/snippets/wren/lonely-paren.txt | 10 + ...line-comment-catastrophic-backtracking.txt | 24 +- .../snippets/yaml/test_yaml_colon_in_key.txt | 11 + .../yaml/test_yaml_colon_in_key_double.txt | 11 + .../yaml/test_yaml_colon_in_key_start.txt | 11 + tests/snippets/zone/a-record.txt | 10 + tests/snippets/zone/include.txt | 8 + tests/snippets/zone/soa.txt | 55 + tests/support/structural_diff.py | 42 +- tests/test_basic_api.py | 26 +- tests/test_cmdline.py | 2 +- tests/test_coffeescript.py | 2 +- tests/test_crystal.py | 80 - tests/test_data.py | 285 - tests/test_devicetree_lexer.py | 32 - tests/test_func.py | 44 + tests/test_graphql.py | 872 + tests/test_groff_formatter.py | 52 +- tests/test_guess.py | 18 +- tests/test_html_formatter.py | 8 +- tests/test_html_formatter_linenos_elements.py | 3 +- tests/test_html_lexer.py | 131 - tests/test_inherit.py | 2 +- tests/test_irc_formatter.py | 12 +- tests/test_java.py | 40 - tests/test_javascript.py | 84 - tests/test_latex_formatter.py | 12 +- tests/test_markdown_lexer.py | 178 - tests/test_modeline.py | 2 +- tests/test_mysql.py | 2 +- tests/test_pangomarkup_formatter.py | 2 +- tests/test_perllexer.py | 37 +- tests/test_procfile.py | 40 - tests/test_regexlexer.py | 6 +- tests/test_regexopt.py | 2 +- tests/test_robotframework_lexer.py | 38 - tests/test_rtf_formatter.py | 2 +- tests/test_sql.py | 2 +- tests/test_templates.py | 49 +- tests/test_terminal_formatter.py | 2 +- tests/test_thingsdb.py | 36 - tests/test_tnt.py | 2 +- tests/test_token.py | 2 +- tests/test_unistring.py | 2 +- tests/test_usd.py | 64 - tests/test_using_api.py | 2 +- tests/test_util.py | 2 +- tests/test_words.py | 5 +- tox.ini | 94 + 1081 files changed, 275167 insertions(+), 64722 deletions(-) create mode 100644 .coveragerc create mode 100644 .dockerignore create mode 100644 .gitattributes create mode 100644 .github/workflows/build.yaml create mode 100644 .github/workflows/docs.yaml create mode 100644 .gitignore delete mode 100644 MANIFEST.in delete mode 100644 Makefile delete mode 100644 PKG-INFO delete mode 100644 Pygments.egg-info/PKG-INFO delete mode 100644 Pygments.egg-info/SOURCES.txt delete mode 100644 Pygments.egg-info/dependency_links.txt delete mode 100644 Pygments.egg-info/entry_points.txt delete mode 100644 Pygments.egg-info/not-zip-safe delete mode 100644 Pygments.egg-info/top_level.txt create mode 100644 description.rst delete mode 100644 doc/_templates/languages.html create mode 100644 doc/docs/contributing.rst create mode 100644 doc/docs/security.rst create mode 100644 doc/docs/terminaltips.rst create mode 100644 doc/languages.rst create mode 100644 doc/pyodide/Dockerfile create mode 100644 doc/pyodide/meta.yaml create mode 100644 pygments/lexers/arturo.py create mode 100644 pygments/lexers/asn1.py create mode 100644 pygments/lexers/blueprint.py create mode 100644 pygments/lexers/bqn.py create mode 100644 pygments/lexers/carbon.py create mode 100644 pygments/lexers/comal.py create mode 100644 pygments/lexers/dax.py create mode 100644 pygments/lexers/dns.py create mode 100644 pygments/lexers/fift.py create mode 100644 pygments/lexers/func.py create mode 100644 pygments/lexers/graphql.py create mode 100644 pygments/lexers/jmespath.py create mode 100644 pygments/lexers/jsonnet.py create mode 100644 pygments/lexers/jsx.py create mode 100644 pygments/lexers/kusto.py create mode 100644 pygments/lexers/ldap.py create mode 100644 pygments/lexers/lean.py rename pygments/lexers/{mcfunction.py => minecraft.py} (66%) create mode 100644 pygments/lexers/mips.py create mode 100644 pygments/lexers/openscad.py create mode 100644 pygments/lexers/phix.py create mode 100644 pygments/lexers/prql.py create mode 100644 pygments/lexers/ptx.py create mode 100644 pygments/lexers/tlb.py create mode 100644 pygments/lexers/tls.py create mode 100644 pygments/lexers/verifpal.py create mode 100644 pygments/lexers/vip.py create mode 100644 pygments/lexers/vyper.py create mode 100644 pygments/lexers/wgsl.py create mode 100644 pygments/lexers/wowtoc.py create mode 100644 pygments/lexers/wren.py create mode 100644 pygments/lexers/yara.py create mode 100644 pygments/styles/_mapping.py create mode 100644 pygments/styles/gh_dark.py create mode 100644 pygments/styles/lightbulb.py create mode 100644 pygments/styles/nord.py create mode 100644 pygments/styles/staroffice.py create mode 100644 pyproject.toml create mode 100644 requirements.txt create mode 100644 scripts/check_whitespace_token.py mode change 100755 => 100644 scripts/count_token_references.py create mode 100644 scripts/gen_mapfiles.py create mode 100644 scripts/utility.py delete mode 100644 setup.cfg delete mode 100755 setup.py create mode 100644 tests/examplefiles/ada/test_ada2022.adb create mode 100644 tests/examplefiles/ada/test_ada2022.adb.output create mode 100644 tests/examplefiles/ada/test_ada_aspects.ads create mode 100644 tests/examplefiles/ada/test_ada_aspects.ads.output create mode 100644 tests/examplefiles/arturo/arturo_test.art create mode 100644 tests/examplefiles/arturo/arturo_test.art.output create mode 100644 tests/examplefiles/asn1/x509.asn1 create mode 100644 tests/examplefiles/asn1/x509.asn1.output create mode 100644 tests/examplefiles/blueprint/test.blp create mode 100644 tests/examplefiles/blueprint/test.blp.output create mode 100644 tests/examplefiles/carbon/declarations.carbon create mode 100644 tests/examplefiles/carbon/declarations.carbon.output create mode 100644 tests/examplefiles/carbon/example.carbon create mode 100644 tests/examplefiles/carbon/example.carbon.output create mode 100644 tests/examplefiles/carbon/numbers.carbon create mode 100644 tests/examplefiles/carbon/numbers.carbon.output create mode 100644 tests/examplefiles/comal80/test.comal create mode 100644 tests/examplefiles/comal80/test.comal.output create mode 100644 tests/examplefiles/coq/coq_test create mode 100644 tests/examplefiles/coq/coq_test.output create mode 100644 tests/examplefiles/dax/dax_example1.dax create mode 100644 tests/examplefiles/dax/dax_example1.dax.output create mode 100644 tests/examplefiles/dylan-console/console create mode 100644 tests/examplefiles/dylan-console/console.output create mode 100644 tests/examplefiles/fift/new-wallet-v3.fif create mode 100644 tests/examplefiles/fift/new-wallet-v3.fif.output create mode 100644 tests/examplefiles/func/test.fc create mode 100644 tests/examplefiles/func/test.fc.output create mode 100644 tests/examplefiles/gap-repl/euclidean.tst create mode 100644 tests/examplefiles/gap-repl/euclidean.tst.output create mode 100644 tests/examplefiles/gap-repl/magma.tst create mode 100644 tests/examplefiles/gap-repl/magma.tst.output create mode 100644 tests/examplefiles/go/generics.go create mode 100644 tests/examplefiles/go/generics.go.output create mode 100644 tests/examplefiles/graphql/ex01_field1.graphql create mode 100644 tests/examplefiles/graphql/ex01_field1.graphql.output create mode 100644 tests/examplefiles/graphql/ex02_field2.graphql create mode 100644 tests/examplefiles/graphql/ex02_field2.graphql.output create mode 100644 tests/examplefiles/graphql/ex03_arguments1.graphql create mode 100644 tests/examplefiles/graphql/ex03_arguments1.graphql.output create mode 100644 tests/examplefiles/graphql/ex04_arguments2.graphql create mode 100644 tests/examplefiles/graphql/ex04_arguments2.graphql.output create mode 100644 tests/examplefiles/graphql/ex05_aliases.graphql create mode 100644 tests/examplefiles/graphql/ex05_aliases.graphql.output create mode 100644 tests/examplefiles/graphql/ex06_fragments1.graphql create mode 100644 tests/examplefiles/graphql/ex06_fragments1.graphql.output create mode 100644 tests/examplefiles/graphql/ex07_fragments2.graphql create mode 100644 tests/examplefiles/graphql/ex07_fragments2.graphql.output create mode 100644 tests/examplefiles/graphql/ex08_operation_name.graphql create mode 100644 tests/examplefiles/graphql/ex08_operation_name.graphql.output create mode 100644 tests/examplefiles/graphql/ex09_variables1.graphql create mode 100644 tests/examplefiles/graphql/ex09_variables1.graphql.output create mode 100644 tests/examplefiles/graphql/ex10_variables2.graphql create mode 100644 tests/examplefiles/graphql/ex10_variables2.graphql.output create mode 100644 tests/examplefiles/graphql/ex11_directives.graphql create mode 100644 tests/examplefiles/graphql/ex11_directives.graphql.output create mode 100644 tests/examplefiles/graphql/ex12_mutations.graphql create mode 100644 tests/examplefiles/graphql/ex12_mutations.graphql.output create mode 100644 tests/examplefiles/graphql/ex13_inline_fragments1.graphql create mode 100644 tests/examplefiles/graphql/ex13_inline_fragments1.graphql.output create mode 100644 tests/examplefiles/graphql/ex14_inline_fragments2.graphql create mode 100644 tests/examplefiles/graphql/ex14_inline_fragments2.graphql.output delete mode 100644 tests/examplefiles/isabelle/example.thy delete mode 100644 tests/examplefiles/isabelle/example.thy.output create mode 100644 tests/examplefiles/isabelle/example_ascii.thy create mode 100644 tests/examplefiles/isabelle/example_ascii.thy.output create mode 100644 tests/examplefiles/isabelle/example_unicode.thy create mode 100644 tests/examplefiles/isabelle/example_unicode.thy.output create mode 100644 tests/examplefiles/jmespath/example.jp create mode 100644 tests/examplefiles/jmespath/example.jp.output create mode 100644 tests/examplefiles/jsonnet/example.jsonnet create mode 100644 tests/examplefiles/jsonnet/example.jsonnet.output create mode 100644 tests/examplefiles/jsx/general.jsx create mode 100644 tests/examplefiles/jsx/general.jsx.output create mode 100644 tests/examplefiles/kusto/test.kusto create mode 100644 tests/examplefiles/kusto/test.kusto.output create mode 100644 tests/examplefiles/ldaprc/ldaprc create mode 100644 tests/examplefiles/ldaprc/ldaprc.output create mode 100644 tests/examplefiles/ldif/rfc2849.ldif create mode 100644 tests/examplefiles/ldif/rfc2849.ldif.output create mode 100644 tests/examplefiles/mcschema/actor_animation.mcschema create mode 100644 tests/examplefiles/mcschema/actor_animation.mcschema.output create mode 100644 tests/examplefiles/mcschema/attribute.mcschema create mode 100644 tests/examplefiles/mcschema/attribute.mcschema.output create mode 100644 tests/examplefiles/mcschema/geometry.mcschema create mode 100644 tests/examplefiles/mcschema/geometry.mcschema.output create mode 100644 tests/examplefiles/mcschema/manifest.mcschema create mode 100644 tests/examplefiles/mcschema/manifest.mcschema.output create mode 100644 tests/examplefiles/mips/function_with_stack.mips create mode 100644 tests/examplefiles/mips/function_with_stack.mips.output create mode 100644 tests/examplefiles/nasm/nasm_simd.asm create mode 100644 tests/examplefiles/nasm/nasm_simd.asm.output create mode 100644 tests/examplefiles/nt/test2.nt create mode 100644 tests/examplefiles/nt/test2.nt.output create mode 100644 tests/examplefiles/phix/example.exw create mode 100644 tests/examplefiles/phix/example.exw.output create mode 100644 tests/examplefiles/portugol/example.alg create mode 100644 tests/examplefiles/portugol/example.alg.output create mode 100644 tests/examplefiles/postgres-explain/plan.txt create mode 100644 tests/examplefiles/postgres-explain/plan.txt.output create mode 100644 tests/examplefiles/prql/example.prql create mode 100644 tests/examplefiles/prql/example.prql.output create mode 100644 tests/examplefiles/rbcon/console create mode 100644 tests/examplefiles/rbcon/console.output create mode 100644 tests/examplefiles/scilab/bench_chol.tst create mode 100644 tests/examplefiles/scilab/bench_chol.tst.output create mode 100644 tests/examplefiles/spice/dijkstra.spice create mode 100644 tests/examplefiles/spice/dijkstra.spice.output create mode 100644 tests/examplefiles/sql+jinja/example.sql create mode 100644 tests/examplefiles/sql+jinja/example.sql.output create mode 100644 tests/examplefiles/tlb/block.tlb create mode 100644 tests/examplefiles/tlb/block.tlb.output create mode 100644 tests/examplefiles/tls/example.txt create mode 100644 tests/examplefiles/tls/example.txt.output create mode 100644 tests/examplefiles/verifpal/verifpal_example create mode 100644 tests/examplefiles/verifpal/verifpal_example.output create mode 100644 tests/examplefiles/visualprolog/hanoi.pro create mode 100644 tests/examplefiles/visualprolog/hanoi.pro.output create mode 100644 tests/examplefiles/visualprolog/test.pro create mode 100644 tests/examplefiles/visualprolog/test.pro.output create mode 100644 tests/examplefiles/visualprologgrammar/grammarDef.vipgrm create mode 100644 tests/examplefiles/visualprologgrammar/grammarDef.vipgrm.output create mode 100644 tests/examplefiles/visualprologgrammar/test.vipgrm create mode 100644 tests/examplefiles/visualprologgrammar/test.vipgrm.output create mode 100644 tests/examplefiles/vyper/test.txt create mode 100644 tests/examplefiles/vyper/test.txt.output create mode 100644 tests/examplefiles/wikitext/article_france.wikitext create mode 100644 tests/examplefiles/wikitext/article_france.wikitext.output create mode 100644 tests/examplefiles/wowtoc/comments.toc create mode 100644 tests/examplefiles/wowtoc/comments.toc.output create mode 100644 tests/examplefiles/wowtoc/files.toc create mode 100644 tests/examplefiles/wowtoc/files.toc.output create mode 100644 tests/examplefiles/wowtoc/official_tags.toc create mode 100644 tests/examplefiles/wowtoc/official_tags.toc.output create mode 100644 tests/examplefiles/wowtoc/other_tags.toc create mode 100644 tests/examplefiles/wowtoc/other_tags.toc.output create mode 100644 tests/examplefiles/wren/example.wren create mode 100644 tests/examplefiles/wren/example.wren.output create mode 100644 tests/examplefiles/xpp/test.xpp create mode 100644 tests/examplefiles/xpp/test.xpp.output create mode 100644 tests/examplefiles/yara/example.yar create mode 100644 tests/examplefiles/yara/example.yar.output create mode 100644 tests/examplefiles/zone/dig-output.zone create mode 100644 tests/examplefiles/zone/dig-output.zone.output create mode 100644 tests/examplefiles/zone/example.zone create mode 100644 tests/examplefiles/zone/example.zone.output create mode 100644 tests/snippets/asn1/certificate.txt create mode 100644 tests/snippets/asn1/nested-comment.txt create mode 100644 tests/snippets/bqn/test_arguments.txt create mode 100644 tests/snippets/bqn/test_comment.txt create mode 100644 tests/snippets/bqn/test_define.txt create mode 100644 tests/snippets/bqn/test_syntax_roles.txt create mode 100644 tests/snippets/c/builtin_types.txt create mode 100644 tests/snippets/c/test_function_comments.txt create mode 100644 tests/snippets/c/test_string_resembling_decl_end.txt create mode 100644 tests/snippets/carbon/unterminated_comment.txt create mode 100644 tests/snippets/cpp/alternative_tokens.txt create mode 100644 tests/snippets/cpp/extension_keywords.txt create mode 100644 tests/snippets/crystal/test_empty_percent_strings.txt create mode 100644 tests/snippets/crystal/test_numbers.txt create mode 100644 tests/snippets/crystal/test_string_escapes.txt create mode 100644 tests/snippets/crystal/test_symbols.txt create mode 100644 tests/snippets/css/percent_in_func.txt create mode 100644 tests/snippets/desktop/example.txt create mode 100644 tests/snippets/devicetree/test_fragment_out_of_root_node.txt create mode 100644 tests/snippets/diff/normal.txt create mode 100644 tests/snippets/diff/unified.txt create mode 100644 tests/snippets/elpi/test_quotations.txt create mode 100644 tests/snippets/fortran/test_string_cataback.txt create mode 100644 tests/snippets/html/css.txt create mode 100644 tests/snippets/html/css_backtracking.txt create mode 100644 tests/snippets/html/javascript.txt create mode 100644 tests/snippets/html/javascript_backtracking.txt create mode 100644 tests/snippets/html/javascript_unclosed.txt create mode 100644 tests/snippets/http/test_urlencoded.txt create mode 100644 tests/snippets/java/test_backtracking.txt create mode 100644 tests/snippets/java/test_multiline_string.txt create mode 100644 tests/snippets/java/test_multiline_string_only.txt create mode 100644 tests/snippets/java/test_string_literals.txt create mode 100644 tests/snippets/javascript/test_binary_literal_negative_matches.txt create mode 100644 tests/snippets/javascript/test_binary_literal_positive_matches.txt create mode 100644 tests/snippets/javascript/test_float_literals_negative_matches.txt create mode 100644 tests/snippets/javascript/test_float_literals_positive_matches.txt create mode 100644 tests/snippets/javascript/test_hexadecimal_literal_negative_matches.txt create mode 100644 tests/snippets/javascript/test_hexadecimal_literal_positive_matches.txt create mode 100644 tests/snippets/javascript/test_integer_literal_negative_matches.txt create mode 100644 tests/snippets/javascript/test_integer_literal_positive_matches.txt create mode 100644 tests/snippets/javascript/test_octal_literal_negative_matches.txt create mode 100644 tests/snippets/javascript/test_octal_literal_positive_matches.txt create mode 100644 tests/snippets/json/test_arrays.txt create mode 100644 tests/snippets/json/test_backtracking.txt create mode 100644 tests/snippets/json/test_comments.txt create mode 100644 tests/snippets/json/test_constants.txt create mode 100644 tests/snippets/json/test_escape_sequences.txt create mode 100644 tests/snippets/json/test_floats.txt create mode 100644 tests/snippets/json/test_integers.txt create mode 100644 tests/snippets/json/test_objects.txt create mode 100644 tests/snippets/json/test_round_trip.txt create mode 100644 tests/snippets/json/test_strings.txt create mode 100644 tests/snippets/json/test_whitespace.txt create mode 100644 tests/snippets/jsonld/test_json_ld.txt create mode 100644 tests/snippets/jsx/test_aria_attribute.txt create mode 100644 tests/snippets/jsx/test_arrow_function_attribute.txt create mode 100644 tests/snippets/jsx/test_fragment.txt create mode 100644 tests/snippets/jsx/test_function_returning_jsx.text create mode 100644 tests/snippets/jsx/test_multiple_attributes.txt create mode 100644 tests/snippets/jsx/test_object_attribute.txt create mode 100644 tests/snippets/jsx/test_short_syntax.txt create mode 100644 tests/snippets/kusto/test_kusto.txt create mode 100644 tests/snippets/markdown/test_code.txt create mode 100644 tests/snippets/markdown/test_headings.txt create mode 100644 tests/snippets/markdown/test_invalid_code.txt create mode 100644 tests/snippets/markdown/test_setext_headings.txt create mode 100644 tests/snippets/markdown/test_setext_subheadings.txt create mode 100644 tests/snippets/markdown/test_subheadings.txt create mode 100644 tests/snippets/matlabsession/test_wrong_continuation.txt create mode 100644 tests/snippets/mips/deprecated_substrings.txt create mode 100644 tests/snippets/mips/keyword_substrings.txt create mode 100644 tests/snippets/mips/variable_substrings.txt create mode 100644 tests/snippets/nix/basic_values.txt create mode 100644 tests/snippets/nix/built_in.txt create mode 100644 tests/snippets/nix/comments.txt create mode 100644 tests/snippets/nix/compound_values.txt create mode 100644 tests/snippets/nix/computed_property_names.txt create mode 100644 tests/snippets/nix/control_structures.txt create mode 100644 tests/snippets/nix/floats.txt create mode 100644 tests/snippets/nix/functions.txt create mode 100644 tests/snippets/nix/operators.txt create mode 100644 tests/snippets/nix/string_escape.txt create mode 100644 tests/snippets/openscad/test_basic.txt create mode 100644 tests/snippets/php/anonymous_class.txt create mode 100644 tests/snippets/php/attributes.txt create mode 100644 tests/snippets/php/test_backslashes_in_strings.txt create mode 100644 tests/snippets/php/variable_variable.txt create mode 100644 tests/snippets/procfile/test_basic.txt create mode 100644 tests/snippets/prql/filename.txt create mode 100644 tests/snippets/prql/fstring.txt create mode 100644 tests/snippets/prql/rstring.txt create mode 100644 tests/snippets/prql/sstring.txt create mode 100644 tests/snippets/ptx/test_ptx_snippet.txt create mode 100644 tests/snippets/pwsh-session/test_continuation.txt create mode 100644 tests/snippets/pycon/broken_tb.txt create mode 100644 tests/snippets/pycon/multiple_tb.txt create mode 100644 tests/snippets/pycon/unterminated_tb.txt create mode 100644 tests/snippets/python/test_bytes_escape_codes.txt create mode 100644 tests/snippets/python/test_string_escape_codes.txt create mode 100644 tests/snippets/robotframework/test_basic.txt create mode 100644 tests/snippets/shell/test_math.txt create mode 100644 tests/snippets/systemd/example1.txt create mode 100644 tests/snippets/tcl/test_vars.txt create mode 100644 tests/snippets/thingsdb/basic.txt create mode 100644 tests/snippets/toml/bool-comment.txt create mode 100644 tests/snippets/toml/comment-section-header.txt create mode 100644 tests/snippets/toml/multiline-string-comment.txt create mode 100644 tests/snippets/toml/number-keys.txt create mode 100644 tests/snippets/toml/section-header-whitespace.txt create mode 100644 tests/snippets/toml/string-escapes.txt create mode 100644 tests/snippets/toml/strings-eager.txt create mode 100644 tests/snippets/toml/table-header-string.txt create mode 100644 tests/snippets/urlencoded/example.txt create mode 100644 tests/snippets/usd/basic.txt create mode 100644 tests/snippets/vyper/test.txt create mode 100644 tests/snippets/wgsl/address-space.txt create mode 100644 tests/snippets/wgsl/attribute.txt create mode 100644 tests/snippets/wgsl/block-comment.txt create mode 100644 tests/snippets/wgsl/bool-types.txt create mode 100644 tests/snippets/wgsl/const-numbers.txt create mode 100644 tests/snippets/wgsl/depth-texture.txt create mode 100644 tests/snippets/wgsl/external-texture.txt create mode 100644 tests/snippets/wgsl/line-comment.txt create mode 100644 tests/snippets/wgsl/multisampled-texture.txt create mode 100644 tests/snippets/wgsl/numeric-types.txt create mode 100644 tests/snippets/wgsl/sampled-texture.txt create mode 100644 tests/snippets/wgsl/storage-texture.txt create mode 100644 tests/snippets/wgsl/texel-formats.txt create mode 100644 tests/snippets/wgsl/tiny-render.txt create mode 100644 tests/snippets/wgsl/type-generators.txt create mode 100644 tests/snippets/wikitext/bold-italic.txt create mode 100644 tests/snippets/wikitext/entity.txt create mode 100644 tests/snippets/wikitext/extlink.txt create mode 100644 tests/snippets/wikitext/heading.txt create mode 100644 tests/snippets/wikitext/hr.txt create mode 100644 tests/snippets/wikitext/html.txt create mode 100644 tests/snippets/wikitext/language-converter.txt create mode 100644 tests/snippets/wikitext/list.txt create mode 100644 tests/snippets/wikitext/magic-link.txt create mode 100644 tests/snippets/wikitext/magic-word.txt create mode 100644 tests/snippets/wikitext/medialink.txt create mode 100644 tests/snippets/wikitext/only-highlight-first-redirect.txt create mode 100644 tests/snippets/wikitext/parser-function.txt create mode 100644 tests/snippets/wikitext/parser-tag.txt create mode 100644 tests/snippets/wikitext/signurature.txt create mode 100644 tests/snippets/wikitext/table.txt create mode 100644 tests/snippets/wikitext/template.txt create mode 100644 tests/snippets/wikitext/wikilink.txt create mode 100644 tests/snippets/wren/lonely-paren.txt create mode 100644 tests/snippets/yaml/test_yaml_colon_in_key.txt create mode 100644 tests/snippets/yaml/test_yaml_colon_in_key_double.txt create mode 100644 tests/snippets/yaml/test_yaml_colon_in_key_start.txt create mode 100644 tests/snippets/zone/a-record.txt create mode 100644 tests/snippets/zone/include.txt create mode 100644 tests/snippets/zone/soa.txt delete mode 100644 tests/test_crystal.py delete mode 100644 tests/test_data.py delete mode 100644 tests/test_devicetree_lexer.py create mode 100644 tests/test_func.py create mode 100644 tests/test_graphql.py delete mode 100644 tests/test_html_lexer.py delete mode 100644 tests/test_java.py delete mode 100644 tests/test_javascript.py delete mode 100644 tests/test_markdown_lexer.py delete mode 100644 tests/test_procfile.py delete mode 100644 tests/test_robotframework_lexer.py delete mode 100644 tests/test_thingsdb.py delete mode 100755 tests/test_usd.py create mode 100644 tox.ini diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..a6c6adb --- /dev/null +++ b/.coveragerc @@ -0,0 +1,3 @@ +[run] +include = + pygments/* diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..792dbe9 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,13 @@ +doc +tests +TAGS +build +dist +htmlcov +venv +**/__pycache__ +.* +*.pyo +.*.sw[op] + +!/doc/pyodide/meta.yaml diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..44a295f --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +tests/examplefiles/*/*.output linguist-generated diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..8f2f6cc --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,77 @@ +name: Pygments + +on: [push, pull_request] + +env: + FORCE_COLOR: 1 + +permissions: + contents: read # to fetch code (actions/checkout) + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [windows-latest, ubuntu-latest] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + cache: 'pip' + - name: Install tox + run: pip install -r requirements.txt + - name: Test package + run: tox -- -W error + + check: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + with: + python-version: "3.x" + - name: Install tox + run: pip install -r requirements.txt + - name: Perform basic checks + run: tox -e check + if: runner.os == 'Linux' + + check-mapfiles: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + with: + python-version: "3.x" + - name: Install tox + run: pip install -r requirements.txt + - name: Regenerate mapfiles + run: tox -e mapfiles + - name: Fail if mapfiles changed + run: | + if git ls-files -m | grep mapping; then + echo 'Please run "tox -e mapfiles" and add the changes to a commit.' + exit 1 + fi + + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + with: + python-version: "3.x" + - name: Install tox + run: pip install -r requirements.txt + - name: Run regexlint + run: tox -e regexlint diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml new file mode 100644 index 0000000..b63b632 --- /dev/null +++ b/.github/workflows/docs.yaml @@ -0,0 +1,41 @@ +name: Docs + +on: + push: + branches: + - master + + +env: + FORCE_COLOR: 1 + +permissions: {} +jobs: + build: + permissions: + contents: write # to push pages branch (peaceiris/actions-gh-pages) + + runs-on: ubuntu-latest + steps: + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: "3.x" + - name: Checkout Pygments + uses: actions/checkout@v4 + - name: Install tox + run: pip install -r requirements.txt + - name: Sphinx build + run: | + tox -e web-doc -- dirhtml + touch doc/_build/dirhtml/.nojekyll + echo -e 'pygments.org\nwww.pygments.org' > doc/_build/dirhtml/CNAME + echo 'Automated deployment of docs for GitHub pages.' > doc/_build/dirhtml/README + - name: Deploy to repo + if: github.repository_owner == 'pygments' + uses: peaceiris/actions-gh-pages@v3 + with: + deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} + external_repository: pygments/pygments.github.io + publish_branch: master + publish_dir: ./doc/_build/dirhtml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0a60df1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,19 @@ +*.pyc +*.pyo +.*.sw[op] +/.pytest_cache/ +/.idea/ +/.project +/.tags +/.tox/ +/.cache/ +/TAGS +/build/* +/dist/* +/doc/_build +/.coverage +/htmlcov +/.vscode +venv/ +.venv/ +.DS_Store diff --git a/AUTHORS b/AUTHORS index 9f417bf..0e9f512 100644 --- a/AUTHORS +++ b/AUTHORS @@ -11,7 +11,9 @@ Other contributors, listed alphabetically, are: * Ali Afshar -- image formatter * Thomas Aglassinger -- Easytrieve, JCL, Rexx, Transact-SQL and VBScript lexers +* Maxence Ahlouche -- PostgreSQL Explain lexer * Muthiah Annamalai -- Ezhil lexer +* Nikolay Antipov -- OpenSCAD lexer * Kumar Appaiah -- Debian control lexer * Andreas Amann -- AppleScript lexer * Timothy Armstrong -- Dart lexer fixes @@ -29,6 +31,7 @@ Other contributors, listed alphabetically, are: * Michael Bayer -- Myghty lexers * Thomas Beale -- Archetype lexers * John Benediktsson -- Factor lexer +* David Benjamin, Google LLC -- TLS lexer * Trevor Bergeron -- mIRC formatter * Vincent Bernat -- LessCSS lexer * Christopher Bertels -- Fancy lexer @@ -46,6 +49,7 @@ Other contributors, listed alphabetically, are: * Ian Cooper -- VGL lexer * David Corbett -- Inform, Jasmin, JSGF, Snowball, and TADS 3 lexers * Leaf Corcoran -- MoonScript lexer +* Gabriel Corona -- ASN.1 lexer * Christopher Creutzig -- MuPAD lexer * Daniël W. Crompton -- Pike lexer * Pete Curry -- bugfixes @@ -136,12 +140,15 @@ Other contributors, listed alphabetically, are: * Sylvestre Ledru -- Scilab lexer * Chee Sing Lee -- Flatline lexer * Mark Lee -- Vala lexer +* Thomas Linder Puls -- Visual Prolog lexer +* Pete Lomax -- Phix lexer * Valentin Lorentz -- C++ lexer improvements * Ben Mabey -- Gherkin lexer * Angus MacArthur -- QML lexer * Louis Mandel -- X10 lexer * Louis Marchand -- Eiffel lexer * Simone Margaritelli -- Hybris lexer +* Tim Martin - World of Warcraft TOC lexer * Kirk McDonald -- D lexer * Gordon McGregor -- SystemVerilog lexer * Stephen McKamey -- Duel/JBST lexer @@ -160,7 +167,9 @@ Other contributors, listed alphabetically, are: * Paulo Moura -- Logtalk lexer * Mher Movsisyan -- DTD lexer * Dejan Muhamedagic -- Crmsh lexer +* Adrien Nayrat -- PostgreSQL Explain lexer * Ana Nelson -- Ragel, ANTLR, R console lexers +* David Neto, Google LLC -- WebGPU Shading Language lexer * Kurt Neufeld -- Markdown lexer * Nam T. Nguyen -- Monokai style * Jesper Noehr -- HTML formatter "anchorlinenos" @@ -188,7 +197,7 @@ Other contributors, listed alphabetically, are: * Justin Reidy -- MXML lexer * Norman Richards -- JSON lexer * Corey Richardson -- Rust lexer updates -* Fabrizio Riguzzi -- cplint leder +* Fabrizio Riguzzi -- cplint leder * Lubomir Rintel -- GoodData MAQL and CL lexers * Andre Roberge -- Tango style * Georg Rollinger -- HSAIL lexer @@ -200,6 +209,7 @@ Other contributors, listed alphabetically, are: * Matteo Sasso -- Common Lisp lexer * Joe Schafer -- Ada lexer * Max Schillinger -- TiddlyWiki5 lexer +* Andrew Schmidt -- X++ lexer * Ken Schutte -- Matlab lexers * René Schwaiger -- Rainbow Dash style * Sebastian Schweizer -- Whiley lexer @@ -231,6 +241,7 @@ Other contributors, listed alphabetically, are: * Erick Tryzelaar -- Felix lexer * Alexander Udalov -- Kotlin lexer improvements * Thomas Van Doren -- Chapel lexer +* Dave Van Ee -- Uxntal lexer updates * Daniele Varrazzo -- PostgreSQL lexers * Abe Voelker -- OpenEdge ABL lexer * Pepijn de Vos -- HTML formatter CTags support @@ -258,5 +269,11 @@ Other contributors, listed alphabetically, are: * Thomas Voss -- Sed lexer * Martin Fischer -- WCAG contrast testing * Marc Auberer -- Spice lexer +* Amr Hesham -- Carbon lexer +* diskdance -- Wikitext lexer +* vanillajonathan -- PRQL lexer +* Nikolay Antipov -- OpenSCAD lexer +* Markus Meyer, Nextron Systems -- YARA lexer + Many thanks for all contributions! diff --git a/CHANGES b/CHANGES index 87c5d34..c82eea7 100644 --- a/CHANGES +++ b/CHANGES @@ -3,17 +3,388 @@ Pygments changelog Pull request numbers before 2.4.2 are not linked as they refer to the now defunct Bitbucket project. +Version 2.18.0 +-------------- +(unreleased) + +Version 2.17.2 +-------------- +(released November 21, 2023) + +* Fix a packaging issue on macOS (#2593) + +Version 2.17.1 +-------------- +(released November 19, 2023) + +- Updated lexers: + + * TOML: Fix bug making lexing of single-quoted strings too eager + +Version 2.17.0 +-------------- +(released November 18, 2023) + +- New lexers: + + * JSX (#2524, #709) + * Kusto (#2552) + * ldaprc (#2532) + * LDIF (#2489) + * PRQL (#2507, #2523, #2559) + * Visual Prolog and Visual Prolog Grammar (#2480) + * Vyper (#2531, #2579) + +- Updated lexers: + + * Cypher: fix comment matching, add missing keywords (#2504) + * Fortran: add ``elseif`` keyword (#2528) + * Lean: make it available as ``lean3``, in preparation for + a possible switch to ``lean`` highlighting as Lean 4 (#2546) + * JSON: add MIME types and file extensions for several line-delimited + JSON formats (#2490) + * Nix: many improvements (#2551, #1800) + * OCaml: Add ``and`` keyword, remove ``value`` from keywords (#2521) + * Python: add ``starlark`` and ``bazel`` aliases (#2517, #2516) + * Snowball: Treat ``len`` like ``size`` (#2508) + * Spice: add ``panic`` keyword and ``->`` operator (#2510) + * squid.conf: fix catastrophic backtracking (#2583) + * TOML: rewritten, with many fixes (#2576) + * Turtle: support blank nodes (#2581) + * Wikitext: fix erroneous highlighting of LanguageConverter markup + (#2493), add missing variant languages (#2494) + * CMake: support ``[=[ bracketed arguments ]=]``` (#2549) + +- Fix ctags support and tests (#2487) +- Include ``Lexer.add_filter`` in the documentation (#2519) +- Add a ``Lean3Lexer`` alias (#2546) +- The ``pygments.styles`` module contains a new ``STYLES`` variable + with a dictionary of built-in styles. The old ``STYLE_MAP`` variable, + which uses a different format, is kept for backwards compatibility. +- On Windows, add a new installation extra (``windows-terminal``) which pulls in + dependencies for colored console output. See :doc:`cmdline` for more details. + (#2505) +- Support more file types in ``autopygmentize`` script (#2513) +- Change color of numbers in ``rrt`` style (#2526) +- Fix error when trying to look up plugin formatters by file extension + of the output format (#2563) +- Use Hatchling as a build backend instead of setuptools. + This change is transparent to most users. Distribution packagers + who build without build isolation need to add hatchling as a build + dependency and remove setuptools. People downloading source distributions + and wheels from PyPI directly should note that they now have ``pygments`` + in their file names instead of ``Pygments``. (#2573) +- Improve the test framework to also check for lost tokens when processing the + snippets and example files (#2582.) +- Improve the *Dracula* style definition to make it easier to maintain (#2575) + +Version 2.16.1 +-------------- +(released August 6th, 2023) + +- Fix ``native`` style missing from style list (#2484) + +Version 2.16.0 +-------------- +(released August 6th, 2023) + +- New lexers: + + * ASN.1 (#2462) + * Blueprint (#2434) + * BQN (#2472) + * DNS zone files (#2464) + * GraphQL (#2428) + * Linux desktop files (following the specification of the + Freedesktop group, formerly known as XDG) (#2470) + * NVIDIA PTX (#2432) + * OpenSCAD (#2449) + * systemd (#2470) + * TLS presentation language (#2455) + * Verifpal (#2430) + * YARA (#2453) + +- Updated lexers: + + * ASC: Add ``application/pem-certificate-chain`` mimetype (#2471) + * C/C++: Refine keyword lists (#2421, #2422) + * Carbon: Fix long processing times on invalid input, fix number + lexing (#2454, #2456) + * Elpi: Handle quotations (#2419) + * Go: Support additional built-ins (#2481) + * HTTP: Support empty headers (#2461), support more general methods (#2460), + also recognize responses in ``analyse_text`` implementation (#2460), and + highlight URL encoded data (#2465, #1620) + * Igor Pro: Update to Igor Pro 9 (#2482) + * lean: Recognize expressions nested within attributes (#1817) + * Macaulay2: Update builtins (#2457) + * Markdown: Allow extra characters after language name + in code blocks (#2437) + * NestedText: Update to version 3 (#2459) + * scdoc: Improve language guessing implementation (#2402) + * Spice: Update to latest version (#2476) + * Transact SQL: Add Pre-sorted Group keyword (#2417) + * Uxntal: Update for current runes (#2424) + * Wikitext: Fix templates in wiki links; fix a language converter false + positive; add bold italic markup (#2447) + +- Add ``Generic.EmphStrong`` token for bold italic markup (#2444) +- Add Lightbulb style (#2474) +- Improve contrast in Monokai style (#2448) +- Add documentation how to create terminal code highlighting commands (#2131, #2425) +- Add support for loading TrueType fonts to the ``ImageFormatter`` (#1960) + +Version 2.15.1 +-------------- +(released April 18th, 2023) + +- Updated lexers: + + * Java properties: Fix catastrophic backtracking (#2356, #2404) + +- Fix Python console traceback lexing being too strict + and sometimes reordering output (#2407, #2410, #2412) + + +Version 2.15.0 +-------------- +(released April 10th, 2023) + +- Added lexers: + + * Carbon (#2362, #2365, #2366, #2367, #2368, #2369, #2370) + * Dax (#2335, #2345) + * MediaWiki Wikitext (#2373, #827) + * PostgreSQL Explain (#2398) + * WGSL (WebGPU Shading Language) (#2386) + * X++ (#2339) + +- Updated lexers: + + * AMDGPU: Add support for ``scratch_`` instructions, the ``attr*.*`` argument, + as well as the ``off`` modifier (#2327). + * APDL: Miscellaneous improvements (#2314) + * bash/tcsh: + + - Move ``break`` to keywords (#2377) + - Improve bash math expansion lexing (#2255, #2353) + + * Chapel: Support attributes (#2376) + * CMake: Implement bracket style comments (#2338, #2354) + * CSS: Improve lexing of numbers inside function calls (#2382, #2383) + * diff: Support normal diff syntax, as opposed to unified diff syntax (#2321) + * GLSL, HLSL: + + - Support line continuations in preprocessor code (#2350) + - Improve preprocessor directive handling (#2357) + + * LilyPond: minor update of builtins + * PHP: support attributes (#2055, #2347, #2360), fix anonymous classes without + parameters (#2359), improve lexing of variable variable syntax (#2358) + * Python: + + - Add missing builtins (#2334) + - Fix inconsistent lexing of ``None`` (#2406) + + * Rebol/Red: Don't require script headers (#2348, #2349) + * Spice: Update keywords (#2336) + * SQL+Jinja (``analyse_text`` method): Fix catastrophic backtracking (#2355) + * Terraform: Add ``hcl`` alias (#2375) + +- Declare support for Python 3.11 and drop support for Python 3.6 (#2324). +- Update ``native`` style to improve contrast (#2325). +- Update `github-dark`` style to match latest Primer style (#2401) +- Revert a change that made guessing lexers based on file names slower + on Python 3.10 and older (#2328). +- Fix some places where a locale-dependent encoding could unintentionally + be used instead of UTF-8 (#2326). +- Fix Python traceback handling (#2226, #2329). +- Groff formatter: sort color definitions for reproducibility (#2343) +- Move project metadata to ``pyproject.toml``, remove ``setup.py`` + and ``setup.cfg`` (#2342) + +- The top-level ``Makefile`` has been removed. Instead, all shortcuts + for developing are now defined and run through tox. The ``doc`` folder + still contains a ``Makefile`` as an alternative to ``tox -e doc``. + + +Version 2.14.0 +-------------- +(released January 1st, 2023) + +- Added lexers: + + * Arturo (#2259) + * GAP session (#2211) + * Fift (#2249) + * func (#2232) + * Jsonnet (#2239) + * Minecraft schema (#2276) + * MIPS (#2228) + * Phix (#2222) + * Portugol (#2300) + * TL-b (#2247) + * World of Warcraft TOC format (#2244, #2245) + * Wren (#2271) + +- Updated lexers: + + * Abap: Update keywords (#2281) + * Alloy: Update for Alloy 6 (#1963) + * C family (C, C++ and many others): + + - Fix an issue where a chunk would be wrongly recognized as a function + definition due to braces in comments (#2210) + - Improve parantheses handling for function definitions (#2207, #2208) + + * C#: Fix number and operator recognition (#2256, #2257) + * CSound: Updated builtins (#2268) + * F#: Add ``.fsx`` file extension (#2282) + * gas (GNU assembler): recognize braces as punctuation (#2230) + * HTTP: Add `CONNECT` keyword (#2242) + * Inform 6: Fix lexing of properties and doubles (#2214) + * INI: Allow comments that are not their own line (#2217, #2161) + * Java properties: Fix issue with whitespace-delimited keys, support + comments starting with `!` and escapes, no longer support undocumented + `;` and `//` comments (#2241) + * LilyPond: Improve heuristics, add ``\maxima`` duration (#2283) + * LLVM: Add opaque pointer type (#2269) + * Macaulay2: Update keywords (#2305) + * Minecraft-related lexers (SNB and Minecraft function) moved to + ``pygments.lexers.minecraft`` (#2276) + * Nim: General improvements (#1970) + * Nix: Fix single quotes inside indented strings (#2289) + * Objective J: Fix catastrophic backtracking (#2225) + * NASM: Add support for SSE/AVX/AVX-512 registers as well as 'rel' + and 'abs' address operators (#2212) + * Powershell: + + - Add ``local:`` keyword (#2254) + - Allow continuations without markers (#2262, #2263) + + * Solidity: Add boolean operators (#2292) + * Spice: Add ``enum`` keyword and fix a bug regarding binary, + hexadecimal and octal number tokens (#2227) + * YAML: Accept colons in key names (#2277) + +- Fix `make mapfiles` when Pygments is not installed in editable mode + (#2223) + +- Support more filetypes and compression types in `autopygmentize` (#2219) +- Merge consecutive tokens in Autohotkey, Clay (#2248) +- Add ``.nasm`` as a recognized file type for NASM (#2280) +- Add ``*Spec.hs`` as a recognized file type for ``HSpec`` (#2308) +- Add ``*.pyi`` (for typing stub files) as a recognized file type for + Python (#2231) +- The HTML lexer no longer emits empty spans for whitespace (#2304) +- Fix ``IRCFormatter`` inserting linenumbers incorrectly (#2270) + +Version 2.13.0 +-------------- +(released August 15th, 2022) + +- Added lexers: + + * COMAL-80 (#2180) + * JMESPath (#2174, #2175, #2179, #2182) + * Sql+Jinja (#2148) + +- Updated lexers: + + * Ada: support Ada 2022 (#2121); disable recognition of namespaces + because it disturbs lexing of aspects (#2125) + * Agda: allow straight quotes in module names (#2163) + * C family (C, C++ and many others): allow comments between + elements of function headers, e.g. between the arguments and + the opening brace for the body (#1891) + * C++: Resolve several cases of ``Error`` tokens (#2207, #2208) + * Coq: Add some common keywords, improve recognition of ``Set`` + and qualified identifiers (#2158) + * F*: Allow C-style comments anywhere in a line + * Fortran: Fix catastrophic backtracking with backslashes in strings + (#2194) + * Go: add support for generics (#2167) + * Inform: Update for version 6.40 (#2190) + * Isabelle: recognize cartouches (#2089) + * Java: support multiline strings aka. text blocks (#2132) + * Kotlin: Add ``value`` modifier (#2142) + * LilyPond: Add some missing builtins + * Macaulay2: Update builtins (#2139) + * Matlab session: fix traceback when a line continuation ellipsis + appears in the output (#2166) + * .NET: Add aliases for LibreOffice Basic, OpenOfficeBasic and + StarOffice Basic (#2170) + * Nim: Use ``Name.Builtin`` instead of ``Keyword.Type`` (#2136) + * PHP: fix `\"$var\"` inside strings (#2105) + * Python: only recognize ``\N``, ``\u`` and ``\U`` escape sequences + in string literals, but not in bytes literals where they are + not supported (#2204) + * Tcl: support ``${name}`` variables (#2145) + * Terraform: Accept leading whitespace for `<<` heredoc + delimiters (#2162) + * Teraterm: Various improvements (#2165) + * Spice: add support for the recently added features including more + builtin functions and bin, oct, hex number formats (#2206) + +- Added styles: + + * GitHub dark (#2192) + * StarOffice (#2168) + * Nord (`nord` and `nord-darker`; #2189, #1799, #1678) + +- Pygments now tries to use the ``importlib.metadata`` module to + discover plugins instead of the slower ``pkg_resources`` (#2155). In + particular, this largely speeds up the ``pygmentize`` script when + the lexer is not specified. + + ``importlib.metadata`` is only available in the Python standard + library since Python 3.8. For older versions, there exists an + ``importlib_metadata`` backport on PyPI. For this reason, Pygments + now defines a packaging extra ``plugins``, which adds a requirement + on ``importlib_metadata`` if the Python version is older than + 3.8. Thus, in order to install Pygments with optimal plugin + support even for old Python versions, you should do:: + + pip install pygments[plugins] + + Pygments still falls back on ``pkg_resources`` if neither + ``importlib.metadata`` nor ``importlib_metadata`` is found, but it + will be slower. + +- Silently ignore ``BrokenPipeError`` in the command-line interface + (#2193). +- The ``HtmlFormatter`` now uses the ``linespans`` attribute for + ``anchorlinenos`` if the ``lineanchors`` attribute is unset (#2026). +- The ``highlight``, ``lex`` and ``format`` functions no longer + wrongly report "argument must be a lexer/formatter instance, not a + class" in some cases where this is not the actual problem (#2123). +- Fix warnings in doc build (#2124). +- The ``codetagify`` filter now recognizes ``FIXME`` tags by default (#2150). +- The ``pygmentize`` command now recognizes if the ``COLORTERM`` + environment variable is set to a value indicating that true-color + support is available. In that case, it uses the ``TerminalTrueColorFormatter`` + by default (#2160) +- Remove redundant caches for filename patterns (#2153) +- Use new non-deprecated Pillow API for text bounding box in ``ImageFormatter`` + (#2198) +- Remove ``default_style`` (#930, #2183) +- Stop treating ``DeprecationWarnings`` as errors in the unit tests (#2196) + Version 2.12.0 -------------- (released April 24th, 2022) - Added lexers: + * Berry (#2070) * Cplint (#2045) * Macaulay2 (#1791) + * MCFunction (#2107) * Minecraft (#2107) * Qlik (#1925) * ``UnixConfigLexer`` for "colon-separated" config files, like ``/etc/passwd`` (#2112) + * Uxntal (#2086) + * K and Q (#2073) - Updated lexers: @@ -23,24 +394,30 @@ Version 2.12.0 * Csound: Update to 6.17 (#2064) * CSS: Update the list of properties (#2113) * Elpi: - + - Fix catastrophic backtracking (#2053, #2061) - Fix handling of ``->`` (#2028) * Futhark: Add missing tokens (#2118) * Gherkin: Add ``But`` (#2046) * Inform6: Update to 6.36 (#2050) + * Jinja2: add ``.xxx.j2`` and ``.xxx.jinja2`` to relevant lexers + (for ``xxx`` = ``html``, ``xml``, etc.) (#2103) * JSON: Support C comments in JSON (#2049). Note: This doesn't mean the JSON parser now supports JSONC or JSON5 proper, just that it doesn't error out when seeing a ``/* */`` or ``//`` style comment. If you need proper comment handling, consider using the ``JavaScript`` lexer. * LilyPond: - + - Fix incorrect lexing of names containing a built-in (#2071) - Fix properties containing dashes (#2099) * PHP: Update builtin function and keyword list (#2054, #2056) + * Python: highlight ``EncodingWarning`` (#2106) + * Savi: fix highlighting for underscore/private identifiers, + add string interpolation (#2102); fix nested type name highlighting + (#2110) * Scheme: Various improvements (#2060) * Spice: Update the keyword list, add new types (#2063, #2067) * Terraform: - + - Support non-idiomatic comments (#2065, #2066) - Fix class name lexing (#2097) diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index c6a8567..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1,5 +0,0 @@ -include Makefile CHANGES LICENSE AUTHORS -include external/* -recursive-include tests * -recursive-include doc * -recursive-include scripts * diff --git a/Makefile b/Makefile deleted file mode 100644 index d04bab4..0000000 --- a/Makefile +++ /dev/null @@ -1,69 +0,0 @@ -# -# Makefile for Pygments -# ~~~~~~~~~~~~~~~~~~~~~ -# -# Combines scripts for common tasks. -# -# :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. -# :license: BSD, see LICENSE for details. -# - -PYTHON ?= python3 - -export PYTHONPATH = $(shell echo "$$PYTHONPATH"):$(shell python -c 'import os; print ":".join(os.path.abspath(line.strip()) for line in file("PYTHONPATH"))' 2>/dev/null) - -.PHONY: all check clean clean-pyc docs mapfiles \ - pylint reindent test test-coverage \ - tox-test tox-test-coverage regexlint - -all: clean-pyc check test - -check: - @$(PYTHON) scripts/check_crlf.py pygments build external - @$(PYTHON) scripts/detect_missing_analyse_text.py --skip-no-aliases - @pyflakes pygments | grep -v 'but unused' || true - @$(PYTHON) scripts/check_sources.py -i build -i dist -i pygments/lexers/_mapping.py \ - -i docs/build -i pygments/formatters/_mapping.py -i pygments/unistring.py \ - -i tests/support/empty.py - @$(PYTHON) scripts/count_token_references.py --minfiles=1 --maxfiles=1 \ - --minlines=1 --maxlines=3 --subtoken - -clean: clean-pyc - -rm -rf doc/_build build Pygments.egg-info - -rm -f codetags.html - -clean-pyc: - find . -name '__pycache__' -exec rm -rf {} + - -docs: - make -C doc html - -mapfiles: - (cd pygments/formatters; $(PYTHON) _mapping.py) - (cd pygments/lexers; $(PYTHON) _mapping.py) - -pylint: - @pylint --rcfile scripts/pylintrc pygments - -reindent: - @$(PYTHON) scripts/reindent.py -r -B . - -TEST = tests - -test: - @$(PYTHON) `which pytest` $(TEST) - -test-coverage: - @$(PYTHON) `which pytest` --cov --cov-report=html --cov-report=term $(TEST) - -tox-test: - @tox -- $(TEST) - -tox-test-coverage: - @tox -- --with-coverage --cover-package=pygments --cover-erase $(TEST) - -RLMODULES = pygments.lexers - -regexlint: - @if [ -z "$(REGEXLINT)" ]; then echo "Please set REGEXLINT=checkout path"; exit 1; fi - PYTHONPATH=`pwd`:$(REGEXLINT) $(REGEXLINT)/regexlint/cmdline.py $(RLMODULES) diff --git a/PKG-INFO b/PKG-INFO deleted file mode 100644 index fbede55..0000000 --- a/PKG-INFO +++ /dev/null @@ -1,54 +0,0 @@ -Metadata-Version: 2.1 -Name: Pygments -Version: 2.12.0 -Summary: Pygments is a syntax highlighting package written in Python. -Home-page: https://pygments.org/ -Author: Georg Brandl -Author-email: georg@python.org -License: BSD License -Project-URL: Documentation, https://pygments.org/docs/ -Project-URL: Source, https://github.com/pygments/pygments -Project-URL: Bug Tracker, https://github.com/pygments/pygments/issues -Project-URL: Changelog, https://github.com/pygments/pygments/blob/master/CHANGES -Keywords: syntax highlighting -Platform: any -Classifier: Development Status :: 6 - Mature -Classifier: Intended Audience :: Developers -Classifier: Intended Audience :: End Users/Desktop -Classifier: Intended Audience :: System Administrators -Classifier: License :: OSI Approved :: BSD License -Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.6 -Classifier: Programming Language :: Python :: 3.7 -Classifier: Programming Language :: Python :: 3.8 -Classifier: Programming Language :: Python :: 3.9 -Classifier: Programming Language :: Python :: 3.10 -Classifier: Programming Language :: Python :: Implementation :: CPython -Classifier: Programming Language :: Python :: Implementation :: PyPy -Classifier: Topic :: Text Processing :: Filters -Classifier: Topic :: Utilities -Requires-Python: >=3.6 -License-File: LICENSE -License-File: AUTHORS - -Pygments -~~~~~~~~ - -Pygments is a syntax highlighting package written in Python. - -It is a generic syntax highlighter suitable for use in code hosting, forums, -wikis or other applications that need to prettify source code. Highlights -are: - -* a wide range of over 500 languages and other text formats is supported -* special attention is paid to details, increasing quality by a fair amount -* support for new languages and formats are added easily -* a number of output formats, presently HTML, LaTeX, RTF, SVG, all image - formats that PIL supports and ANSI sequences -* it is usable as a command-line tool and as a library - -Copyright 2006-2022 by the Pygments team, see ``AUTHORS``. -Licensed under the BSD, see ``LICENSE`` for details. - diff --git a/Pygments.egg-info/PKG-INFO b/Pygments.egg-info/PKG-INFO deleted file mode 100644 index fbede55..0000000 --- a/Pygments.egg-info/PKG-INFO +++ /dev/null @@ -1,54 +0,0 @@ -Metadata-Version: 2.1 -Name: Pygments -Version: 2.12.0 -Summary: Pygments is a syntax highlighting package written in Python. -Home-page: https://pygments.org/ -Author: Georg Brandl -Author-email: georg@python.org -License: BSD License -Project-URL: Documentation, https://pygments.org/docs/ -Project-URL: Source, https://github.com/pygments/pygments -Project-URL: Bug Tracker, https://github.com/pygments/pygments/issues -Project-URL: Changelog, https://github.com/pygments/pygments/blob/master/CHANGES -Keywords: syntax highlighting -Platform: any -Classifier: Development Status :: 6 - Mature -Classifier: Intended Audience :: Developers -Classifier: Intended Audience :: End Users/Desktop -Classifier: Intended Audience :: System Administrators -Classifier: License :: OSI Approved :: BSD License -Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.6 -Classifier: Programming Language :: Python :: 3.7 -Classifier: Programming Language :: Python :: 3.8 -Classifier: Programming Language :: Python :: 3.9 -Classifier: Programming Language :: Python :: 3.10 -Classifier: Programming Language :: Python :: Implementation :: CPython -Classifier: Programming Language :: Python :: Implementation :: PyPy -Classifier: Topic :: Text Processing :: Filters -Classifier: Topic :: Utilities -Requires-Python: >=3.6 -License-File: LICENSE -License-File: AUTHORS - -Pygments -~~~~~~~~ - -Pygments is a syntax highlighting package written in Python. - -It is a generic syntax highlighter suitable for use in code hosting, forums, -wikis or other applications that need to prettify source code. Highlights -are: - -* a wide range of over 500 languages and other text formats is supported -* special attention is paid to details, increasing quality by a fair amount -* support for new languages and formats are added easily -* a number of output formats, presently HTML, LaTeX, RTF, SVG, all image - formats that PIL supports and ANSI sequences -* it is usable as a command-line tool and as a library - -Copyright 2006-2022 by the Pygments team, see ``AUTHORS``. -Licensed under the BSD, see ``LICENSE`` for details. - diff --git a/Pygments.egg-info/SOURCES.txt b/Pygments.egg-info/SOURCES.txt deleted file mode 100644 index bdb5d9c..0000000 --- a/Pygments.egg-info/SOURCES.txt +++ /dev/null @@ -1,2114 +0,0 @@ -AUTHORS -CHANGES -LICENSE -MANIFEST.in -Makefile -README.rst -setup.cfg -setup.py -Pygments.egg-info/PKG-INFO -Pygments.egg-info/SOURCES.txt -Pygments.egg-info/dependency_links.txt -Pygments.egg-info/entry_points.txt -Pygments.egg-info/not-zip-safe -Pygments.egg-info/top_level.txt -doc/Makefile -doc/conf.py -doc/download.rst -doc/faq.rst -doc/index.rst -doc/make.bat -doc/pygmentize.1 -doc/styles.rst -doc/_static/demo-worker.js -doc/_static/demo.css -doc/_static/demo.js -doc/_static/favicon.ico -doc/_static/github.png -doc/_static/logo_new.png -doc/_static/logo_only.png -doc/_static/spinner.gif -doc/_templates/demo.html -doc/_templates/demo_sidebar.html -doc/_templates/docssidebar.html -doc/_templates/index_with_try.html -doc/_templates/indexsidebar.html -doc/_templates/languages.html -doc/_templates/styles.html -doc/_themes/pygments14/layout.html -doc/_themes/pygments14/localtoc.html -doc/_themes/pygments14/relations.html -doc/_themes/pygments14/theme.conf -doc/_themes/pygments14/static/bodybg.png -doc/_themes/pygments14/static/docbg.png -doc/_themes/pygments14/static/listitem.png -doc/_themes/pygments14/static/logo.png -doc/_themes/pygments14/static/pocoo.png -doc/_themes/pygments14/static/pygments14.css_t -doc/docs/api.rst -doc/docs/authors.rst -doc/docs/changelog.rst -doc/docs/cmdline.rst -doc/docs/filterdevelopment.rst -doc/docs/filters.rst -doc/docs/formatterdevelopment.rst -doc/docs/formatters.rst -doc/docs/index.rst -doc/docs/integrate.rst -doc/docs/java.rst -doc/docs/lexerdevelopment.rst -doc/docs/lexers.rst -doc/docs/moinmoin.rst -doc/docs/plugins.rst -doc/docs/quickstart.rst -doc/docs/rstdirective.rst -doc/docs/styledevelopment.rst -doc/docs/styles.rst -doc/docs/terminal-sessions.rst -doc/docs/tokens.rst -doc/docs/unicode.rst -doc/examples/example.py -external/autopygmentize -external/lasso-builtins-generator-9.lasso -external/lilypond-builtins-generator.ly -external/markdown-processor.py -external/moin-parser.py -external/pygments.bashcomp -external/rst-directive.py -external/scheme-builtins-generator.scm -pygments/__init__.py -pygments/__main__.py -pygments/cmdline.py -pygments/console.py -pygments/filter.py -pygments/formatter.py -pygments/lexer.py -pygments/modeline.py -pygments/plugin.py -pygments/regexopt.py -pygments/scanner.py -pygments/sphinxext.py -pygments/style.py -pygments/token.py -pygments/unistring.py -pygments/util.py -pygments/filters/__init__.py -pygments/formatters/__init__.py -pygments/formatters/_mapping.py -pygments/formatters/bbcode.py -pygments/formatters/groff.py -pygments/formatters/html.py -pygments/formatters/img.py -pygments/formatters/irc.py -pygments/formatters/latex.py -pygments/formatters/other.py -pygments/formatters/pangomarkup.py -pygments/formatters/rtf.py -pygments/formatters/svg.py -pygments/formatters/terminal.py -pygments/formatters/terminal256.py -pygments/lexers/__init__.py -pygments/lexers/_ada_builtins.py -pygments/lexers/_asy_builtins.py -pygments/lexers/_cl_builtins.py -pygments/lexers/_cocoa_builtins.py -pygments/lexers/_csound_builtins.py -pygments/lexers/_css_builtins.py -pygments/lexers/_julia_builtins.py -pygments/lexers/_lasso_builtins.py -pygments/lexers/_lilypond_builtins.py -pygments/lexers/_lua_builtins.py -pygments/lexers/_mapping.py -pygments/lexers/_mql_builtins.py -pygments/lexers/_mysql_builtins.py -pygments/lexers/_openedge_builtins.py -pygments/lexers/_php_builtins.py -pygments/lexers/_postgres_builtins.py -pygments/lexers/_qlik_builtins.py -pygments/lexers/_scheme_builtins.py -pygments/lexers/_scilab_builtins.py -pygments/lexers/_sourcemod_builtins.py -pygments/lexers/_stan_builtins.py -pygments/lexers/_stata_builtins.py -pygments/lexers/_tsql_builtins.py -pygments/lexers/_usd_builtins.py -pygments/lexers/_vbscript_builtins.py -pygments/lexers/_vim_builtins.py -pygments/lexers/actionscript.py -pygments/lexers/ada.py -pygments/lexers/agile.py -pygments/lexers/algebra.py -pygments/lexers/ambient.py -pygments/lexers/amdgpu.py -pygments/lexers/ampl.py -pygments/lexers/apdlexer.py -pygments/lexers/apl.py -pygments/lexers/archetype.py -pygments/lexers/arrow.py -pygments/lexers/asc.py -pygments/lexers/asm.py -pygments/lexers/automation.py -pygments/lexers/bare.py -pygments/lexers/basic.py -pygments/lexers/bdd.py -pygments/lexers/berry.py -pygments/lexers/bibtex.py -pygments/lexers/boa.py -pygments/lexers/business.py -pygments/lexers/c_cpp.py -pygments/lexers/c_like.py -pygments/lexers/capnproto.py -pygments/lexers/cddl.py -pygments/lexers/chapel.py -pygments/lexers/clean.py -pygments/lexers/compiled.py -pygments/lexers/configs.py -pygments/lexers/console.py -pygments/lexers/cplint.py -pygments/lexers/crystal.py -pygments/lexers/csound.py -pygments/lexers/css.py -pygments/lexers/d.py -pygments/lexers/dalvik.py -pygments/lexers/data.py -pygments/lexers/devicetree.py -pygments/lexers/diff.py -pygments/lexers/dotnet.py -pygments/lexers/dsls.py -pygments/lexers/dylan.py -pygments/lexers/ecl.py -pygments/lexers/eiffel.py -pygments/lexers/elm.py -pygments/lexers/elpi.py -pygments/lexers/email.py -pygments/lexers/erlang.py -pygments/lexers/esoteric.py -pygments/lexers/ezhil.py -pygments/lexers/factor.py -pygments/lexers/fantom.py -pygments/lexers/felix.py -pygments/lexers/floscript.py -pygments/lexers/forth.py -pygments/lexers/fortran.py -pygments/lexers/foxpro.py -pygments/lexers/freefem.py -pygments/lexers/functional.py -pygments/lexers/futhark.py -pygments/lexers/gcodelexer.py -pygments/lexers/gdscript.py -pygments/lexers/go.py -pygments/lexers/grammar_notation.py -pygments/lexers/graph.py -pygments/lexers/graphics.py -pygments/lexers/graphviz.py -pygments/lexers/gsql.py -pygments/lexers/haskell.py -pygments/lexers/haxe.py -pygments/lexers/hdl.py -pygments/lexers/hexdump.py -pygments/lexers/html.py -pygments/lexers/idl.py -pygments/lexers/igor.py -pygments/lexers/inferno.py -pygments/lexers/installers.py -pygments/lexers/int_fiction.py -pygments/lexers/iolang.py -pygments/lexers/j.py -pygments/lexers/javascript.py -pygments/lexers/jslt.py -pygments/lexers/julia.py -pygments/lexers/jvm.py -pygments/lexers/kuin.py -pygments/lexers/lilypond.py -pygments/lexers/lisp.py -pygments/lexers/macaulay2.py -pygments/lexers/make.py -pygments/lexers/markup.py -pygments/lexers/math.py -pygments/lexers/matlab.py -pygments/lexers/maxima.py -pygments/lexers/mcfunction.py -pygments/lexers/meson.py -pygments/lexers/mime.py -pygments/lexers/ml.py -pygments/lexers/modeling.py -pygments/lexers/modula2.py -pygments/lexers/monte.py -pygments/lexers/mosel.py -pygments/lexers/ncl.py -pygments/lexers/nimrod.py -pygments/lexers/nit.py -pygments/lexers/nix.py -pygments/lexers/oberon.py -pygments/lexers/objective.py -pygments/lexers/ooc.py -pygments/lexers/other.py -pygments/lexers/parasail.py -pygments/lexers/parsers.py -pygments/lexers/pascal.py -pygments/lexers/pawn.py -pygments/lexers/perl.py -pygments/lexers/php.py -pygments/lexers/pointless.py -pygments/lexers/pony.py -pygments/lexers/praat.py -pygments/lexers/procfile.py -pygments/lexers/prolog.py -pygments/lexers/promql.py -pygments/lexers/python.py -pygments/lexers/q.py -pygments/lexers/qlik.py -pygments/lexers/qvt.py -pygments/lexers/r.py -pygments/lexers/rdf.py -pygments/lexers/rebol.py -pygments/lexers/resource.py -pygments/lexers/ride.py -pygments/lexers/rita.py -pygments/lexers/rnc.py -pygments/lexers/roboconf.py -pygments/lexers/robotframework.py -pygments/lexers/ruby.py -pygments/lexers/rust.py -pygments/lexers/sas.py -pygments/lexers/savi.py -pygments/lexers/scdoc.py -pygments/lexers/scripting.py -pygments/lexers/sgf.py -pygments/lexers/shell.py -pygments/lexers/sieve.py -pygments/lexers/slash.py -pygments/lexers/smalltalk.py -pygments/lexers/smithy.py -pygments/lexers/smv.py -pygments/lexers/snobol.py -pygments/lexers/solidity.py -pygments/lexers/sophia.py -pygments/lexers/special.py -pygments/lexers/spice.py -pygments/lexers/sql.py -pygments/lexers/srcinfo.py -pygments/lexers/stata.py -pygments/lexers/supercollider.py -pygments/lexers/tal.py -pygments/lexers/tcl.py -pygments/lexers/teal.py -pygments/lexers/templates.py -pygments/lexers/teraterm.py -pygments/lexers/testing.py -pygments/lexers/text.py -pygments/lexers/textedit.py -pygments/lexers/textfmts.py -pygments/lexers/theorem.py -pygments/lexers/thingsdb.py -pygments/lexers/tnt.py -pygments/lexers/trafficscript.py -pygments/lexers/typoscript.py -pygments/lexers/ul4.py -pygments/lexers/unicon.py -pygments/lexers/urbi.py -pygments/lexers/usd.py -pygments/lexers/varnish.py -pygments/lexers/verification.py -pygments/lexers/web.py -pygments/lexers/webassembly.py -pygments/lexers/webidl.py -pygments/lexers/webmisc.py -pygments/lexers/whiley.py -pygments/lexers/x10.py -pygments/lexers/xorg.py -pygments/lexers/yang.py -pygments/lexers/zig.py -pygments/styles/__init__.py -pygments/styles/abap.py -pygments/styles/algol.py -pygments/styles/algol_nu.py -pygments/styles/arduino.py -pygments/styles/autumn.py -pygments/styles/borland.py -pygments/styles/bw.py -pygments/styles/colorful.py -pygments/styles/default.py -pygments/styles/dracula.py -pygments/styles/emacs.py -pygments/styles/friendly.py -pygments/styles/friendly_grayscale.py -pygments/styles/fruity.py -pygments/styles/gruvbox.py -pygments/styles/igor.py -pygments/styles/inkpot.py -pygments/styles/lilypond.py -pygments/styles/lovelace.py -pygments/styles/manni.py -pygments/styles/material.py -pygments/styles/monokai.py -pygments/styles/murphy.py -pygments/styles/native.py -pygments/styles/onedark.py -pygments/styles/paraiso_dark.py -pygments/styles/paraiso_light.py -pygments/styles/pastie.py -pygments/styles/perldoc.py -pygments/styles/rainbow_dash.py -pygments/styles/rrt.py -pygments/styles/sas.py -pygments/styles/solarized.py -pygments/styles/stata_dark.py -pygments/styles/stata_light.py -pygments/styles/tango.py -pygments/styles/trac.py -pygments/styles/vim.py -pygments/styles/vs.py -pygments/styles/xcode.py -pygments/styles/zenburn.py -scripts/check_crlf.py -scripts/check_repeated_token.py -scripts/check_sources.py -scripts/count_token_references.py -scripts/debug_lexer.py -scripts/detect_missing_analyse_text.py -scripts/get_css_properties.py -scripts/get_vimkw.py -scripts/pylintrc -scripts/release-checklist -scripts/update_contrasts.py -scripts/vim2pygments.py -tests/__init__.py -tests/conftest.py -tests/test_basic_api.py -tests/test_cmdline.py -tests/test_coffeescript.py -tests/test_crystal.py -tests/test_data.py -tests/test_devicetree_lexer.py -tests/test_groff_formatter.py -tests/test_guess.py -tests/test_html_formatter.py -tests/test_html_formatter_linenos_elements.py -tests/test_html_lexer.py -tests/test_inherit.py -tests/test_irc_formatter.py -tests/test_java.py -tests/test_javascript.py -tests/test_latex_formatter.py -tests/test_markdown_lexer.py -tests/test_modeline.py -tests/test_mysql.py -tests/test_pangomarkup_formatter.py -tests/test_perllexer.py -tests/test_procfile.py -tests/test_raw_token.py -tests/test_regexlexer.py -tests/test_regexopt.py -tests/test_robotframework_lexer.py -tests/test_rtf_formatter.py -tests/test_ruby.py -tests/test_sql.py -tests/test_templates.py -tests/test_terminal_formatter.py -tests/test_thingsdb.py -tests/test_tnt.py -tests/test_token.py -tests/test_unistring.py -tests/test_usd.py -tests/test_using_api.py -tests/test_util.py -tests/test_words.py -tests/contrast/min_contrasts.json -tests/contrast/test_contrasts.py -tests/dtds/HTML4-f.dtd -tests/dtds/HTML4-s.dtd -tests/dtds/HTML4.dcl -tests/dtds/HTML4.dtd -tests/dtds/HTML4.soc -tests/dtds/HTMLlat1.ent -tests/dtds/HTMLspec.ent -tests/dtds/HTMLsym.ent -tests/examplefiles/conftest.py -tests/examplefiles/abnf/abnf_example1.abnf -tests/examplefiles/abnf/abnf_example1.abnf.output -tests/examplefiles/abnf/abnf_example2.abnf -tests/examplefiles/abnf/abnf_example2.abnf.output -tests/examplefiles/ada/test.adb -tests/examplefiles/ada/test.adb.output -tests/examplefiles/adl/test.adls -tests/examplefiles/adl/test.adls.output -tests/examplefiles/adl/test_basic.adls -tests/examplefiles/adl/test_basic.adls.output -tests/examplefiles/agda/test.agda -tests/examplefiles/agda/test.agda.output -tests/examplefiles/aheui/durexmania.aheui -tests/examplefiles/aheui/durexmania.aheui.output -tests/examplefiles/aheui/fibonacci.tokigun.aheui -tests/examplefiles/aheui/fibonacci.tokigun.aheui.output -tests/examplefiles/aheui/hello-world.puzzlet.aheui -tests/examplefiles/aheui/hello-world.puzzlet.aheui.output -tests/examplefiles/ahk/demo.ahk -tests/examplefiles/ahk/demo.ahk.output -tests/examplefiles/alloy/example.als -tests/examplefiles/alloy/example.als.output -tests/examplefiles/amdgpu/amdgpu.isa -tests/examplefiles/amdgpu/amdgpu.isa.output -tests/examplefiles/antlr/antlr_ANTLRv3.g -tests/examplefiles/antlr/antlr_ANTLRv3.g.output -tests/examplefiles/antlr/antlr_throws -tests/examplefiles/antlr/antlr_throws.output -tests/examplefiles/apacheconf/apache2.conf -tests/examplefiles/apacheconf/apache2.conf.output -tests/examplefiles/apdl/example1apdl.ans -tests/examplefiles/apdl/example1apdl.ans.output -tests/examplefiles/apdl/example2apdl.ans -tests/examplefiles/apdl/example2apdl.ans.output -tests/examplefiles/apl/test.apl -tests/examplefiles/apl/test.apl.output -tests/examplefiles/applescript/pppoe.applescript -tests/examplefiles/applescript/pppoe.applescript.output -tests/examplefiles/applescript/unicode.applescript -tests/examplefiles/applescript/unicode.applescript.output -tests/examplefiles/arduino/Blink.ino -tests/examplefiles/arduino/Blink.ino.output -tests/examplefiles/arrow/primesieve.arw -tests/examplefiles/arrow/primesieve.arw.output -tests/examplefiles/as3/as3_test.as -tests/examplefiles/as3/as3_test.as.output -tests/examplefiles/as3/as3_test2.as -tests/examplefiles/as3/as3_test2.as.output -tests/examplefiles/as3/as3_test3.as -tests/examplefiles/as3/as3_test3.as.output -tests/examplefiles/asc/id_ecdsa -tests/examplefiles/asc/id_ecdsa.output -tests/examplefiles/aspx-cs/aspx-cs_example -tests/examplefiles/aspx-cs/aspx-cs_example.output -tests/examplefiles/aspx-vb/example2.aspx -tests/examplefiles/aspx-vb/example2.aspx.output -tests/examplefiles/asy/test.asy -tests/examplefiles/asy/test.asy.output -tests/examplefiles/at/hello.at -tests/examplefiles/at/hello.at.output -tests/examplefiles/autoit/autoit_submit.au3 -tests/examplefiles/autoit/autoit_submit.au3.output -tests/examplefiles/awk/test.awk -tests/examplefiles/awk/test.awk.output -tests/examplefiles/bare/bare.bare -tests/examplefiles/bare/bare.bare.output -tests/examplefiles/bash/example.sh -tests/examplefiles/bash/example.sh.output -tests/examplefiles/bash/ltmain.sh -tests/examplefiles/bash/ltmain.sh.output -tests/examplefiles/bash/stripheredoc.sh -tests/examplefiles/bash/stripheredoc.sh.output -tests/examplefiles/bat/example.bat -tests/examplefiles/bat/example.bat.output -tests/examplefiles/bbcbasic/example.bbc -tests/examplefiles/bbcbasic/example.bbc.output -tests/examplefiles/bc/example.bc -tests/examplefiles/bc/example.bc.output -tests/examplefiles/bdd/example.feature -tests/examplefiles/bdd/example.feature.output -tests/examplefiles/berry/berry.be -tests/examplefiles/berry/berry.be.output -tests/examplefiles/bib/test.bib -tests/examplefiles/bib/test.bib.output -tests/examplefiles/blitzbasic/test.bb -tests/examplefiles/blitzbasic/test.bb.output -tests/examplefiles/blitzmax/test.bmx -tests/examplefiles/blitzmax/test.bmx.output -tests/examplefiles/bnf/bnf_example1.bnf -tests/examplefiles/bnf/bnf_example1.bnf.output -tests/examplefiles/boa/example.boa -tests/examplefiles/boa/example.boa.output -tests/examplefiles/boo/test.boo -tests/examplefiles/boo/test.boo.output -tests/examplefiles/boogie/test.bpl -tests/examplefiles/boogie/test.bpl.output -tests/examplefiles/bst/plain.bst -tests/examplefiles/bst/plain.bst.output -tests/examplefiles/bugs/example.bug -tests/examplefiles/bugs/example.bug.output -tests/examplefiles/c/ceval.c -tests/examplefiles/c/ceval.c.output -tests/examplefiles/c/example.c -tests/examplefiles/c/example.c.output -tests/examplefiles/c/labels.c -tests/examplefiles/c/labels.c.output -tests/examplefiles/c/numbers.c -tests/examplefiles/c/numbers.c.output -tests/examplefiles/ca65/ca65_example -tests/examplefiles/ca65/ca65_example.output -tests/examplefiles/cadl/example1.cadl -tests/examplefiles/cadl/example1.cadl.output -tests/examplefiles/cadl/test.cadl -tests/examplefiles/cadl/test.cadl.output -tests/examplefiles/camkes/simple.camkes -tests/examplefiles/camkes/simple.camkes.output -tests/examplefiles/capdl/capdl_example.cdl -tests/examplefiles/capdl/capdl_example.cdl.output -tests/examplefiles/capnp/pets.capnp -tests/examplefiles/capnp/pets.capnp.output -tests/examplefiles/cbmbas/cbmbas_example -tests/examplefiles/cbmbas/cbmbas_example.output -tests/examplefiles/cddl/example.cddl -tests/examplefiles/cddl/example.cddl.output -tests/examplefiles/ceylon/example.ceylon -tests/examplefiles/ceylon/example.ceylon.output -tests/examplefiles/cfc/exampleScript.cfc -tests/examplefiles/cfc/exampleScript.cfc.output -tests/examplefiles/cfc/exampleTag.cfc -tests/examplefiles/cfc/exampleTag.cfc.output -tests/examplefiles/cfm/demo.cfm -tests/examplefiles/cfm/demo.cfm.output -tests/examplefiles/chai/example.chai -tests/examplefiles/chai/example.chai.output -tests/examplefiles/chapel/99_bottles_of_beer.chpl -tests/examplefiles/chapel/99_bottles_of_beer.chpl.output -tests/examplefiles/charmci/Charmci.ci -tests/examplefiles/charmci/Charmci.ci.output -tests/examplefiles/cheetah/cheetah_example.html -tests/examplefiles/cheetah/cheetah_example.html.output -tests/examplefiles/cirru/scope.cirru -tests/examplefiles/cirru/scope.cirru.output -tests/examplefiles/clay/example.clay -tests/examplefiles/clay/example.clay.output -tests/examplefiles/clean/StdGeneric.icl -tests/examplefiles/clean/StdGeneric.icl.output -tests/examplefiles/clojure/clojure-weird-keywords.clj -tests/examplefiles/clojure/clojure-weird-keywords.clj.output -tests/examplefiles/clojure/escape_semicolon.clj -tests/examplefiles/clojure/escape_semicolon.clj.output -tests/examplefiles/clojure/genclass.clj -tests/examplefiles/clojure/genclass.clj.output -tests/examplefiles/clojure/loggers.cljc -tests/examplefiles/clojure/loggers.cljc.output -tests/examplefiles/clojurescript/core.cljs -tests/examplefiles/clojurescript/core.cljs.output -tests/examplefiles/cmake/main.cmake -tests/examplefiles/cmake/main.cmake.output -tests/examplefiles/cobol/example.cob -tests/examplefiles/cobol/example.cob.output -tests/examplefiles/coffee-script/example.coffee -tests/examplefiles/coffee-script/example.coffee.output -tests/examplefiles/coffee-script/underscore.coffee -tests/examplefiles/coffee-script/underscore.coffee.output -tests/examplefiles/common-lisp/type.lisp -tests/examplefiles/common-lisp/type.lisp.output -tests/examplefiles/console/example.sh-session -tests/examplefiles/console/example.sh-session.output -tests/examplefiles/console/example.shell-session -tests/examplefiles/console/example.shell-session.output -tests/examplefiles/control/control -tests/examplefiles/control/control.output -tests/examplefiles/coq/coq_RelationClasses -tests/examplefiles/coq/coq_RelationClasses.output -tests/examplefiles/cplint/bag_game_mpe.pl -tests/examplefiles/cplint/bag_game_mpe.pl.output -tests/examplefiles/cplint/coin.pl -tests/examplefiles/cplint/coin.pl.output -tests/examplefiles/cplint/dt_umbrella.pl -tests/examplefiles/cplint/dt_umbrella.pl.output -tests/examplefiles/cplint/gaussian_mixture.pl -tests/examplefiles/cplint/gaussian_mixture.pl.output -tests/examplefiles/cplint/indian_gpadc.pl -tests/examplefiles/cplint/indian_gpadc.pl.output -tests/examplefiles/cpp/example.cpp -tests/examplefiles/cpp/example.cpp.output -tests/examplefiles/cpp/example2.cpp -tests/examplefiles/cpp/example2.cpp.output -tests/examplefiles/cpp/functions.cpp -tests/examplefiles/cpp/functions.cpp.output -tests/examplefiles/cpp/namespace.cpp -tests/examplefiles/cpp/namespace.cpp.output -tests/examplefiles/cpp/noexcept.cpp -tests/examplefiles/cpp/noexcept.cpp.output -tests/examplefiles/cpsa/yahalom.cpsa -tests/examplefiles/cpsa/yahalom.cpsa.output -tests/examplefiles/cr/test.cr -tests/examplefiles/cr/test.cr.output -tests/examplefiles/crmsh/example.pcmk -tests/examplefiles/crmsh/example.pcmk.output -tests/examplefiles/croc/simple.croc -tests/examplefiles/croc/simple.croc.output -tests/examplefiles/csharp/test.cs -tests/examplefiles/csharp/test.cs.output -tests/examplefiles/csound/test.orc -tests/examplefiles/csound/test.orc.output -tests/examplefiles/csound-document/test.csd -tests/examplefiles/csound-document/test.csd.output -tests/examplefiles/csound-score/test.sco -tests/examplefiles/csound-score/test.sco.output -tests/examplefiles/css/test.css -tests/examplefiles/css/test.css.output -tests/examplefiles/css/webkit-transition.css -tests/examplefiles/css/webkit-transition.css.output -tests/examplefiles/css+mozpreproc/demo.css.in -tests/examplefiles/css+mozpreproc/demo.css.in.output -tests/examplefiles/cucumber/example.feature -tests/examplefiles/cucumber/example.feature.output -tests/examplefiles/cuda/test.cu -tests/examplefiles/cuda/test.cu.output -tests/examplefiles/cypher/test.cyp -tests/examplefiles/cypher/test.cyp.output -tests/examplefiles/d/string_delimiters.d -tests/examplefiles/d/string_delimiters.d.output -tests/examplefiles/d/test.d -tests/examplefiles/d/test.d.output -tests/examplefiles/dart/test.dart -tests/examplefiles/dart/test.dart.output -tests/examplefiles/delphi/example.pas -tests/examplefiles/delphi/example.pas.output -tests/examplefiles/delphi/test.pas -tests/examplefiles/delphi/test.pas.output -tests/examplefiles/devicetree/example.dts -tests/examplefiles/devicetree/example.dts.output -tests/examplefiles/dg/inet_pton6.dg -tests/examplefiles/dg/inet_pton6.dg.output -tests/examplefiles/django/django_sample.html+django -tests/examplefiles/django/django_sample.html+django.output -tests/examplefiles/docker/docker.docker -tests/examplefiles/docker/docker.docker.output -tests/examplefiles/dtd/test.dtd -tests/examplefiles/dtd/test.dtd.output -tests/examplefiles/duel/jbst_example1.jbst -tests/examplefiles/duel/jbst_example1.jbst.output -tests/examplefiles/duel/jbst_example2.jbst -tests/examplefiles/duel/jbst_example2.jbst.output -tests/examplefiles/dylan/classes.dylan -tests/examplefiles/dylan/classes.dylan.output -tests/examplefiles/dylan/nanomsg.intr -tests/examplefiles/dylan/nanomsg.intr.output -tests/examplefiles/dylan-console/session.dylan-console -tests/examplefiles/dylan-console/session.dylan-console.output -tests/examplefiles/dylan-lid/unix-io.lid -tests/examplefiles/dylan-lid/unix-io.lid.output -tests/examplefiles/earl-grey/eg_example1.eg -tests/examplefiles/earl-grey/eg_example1.eg.output -tests/examplefiles/easytrieve/example.ezt -tests/examplefiles/easytrieve/example.ezt.output -tests/examplefiles/easytrieve/example.mac -tests/examplefiles/easytrieve/example.mac.output -tests/examplefiles/ebnf/test.ebnf -tests/examplefiles/ebnf/test.ebnf.output -tests/examplefiles/ec/test.ec -tests/examplefiles/ec/test.ec.output -tests/examplefiles/ec/test.eh -tests/examplefiles/ec/test.eh.output -tests/examplefiles/eiffel/example.e -tests/examplefiles/eiffel/example.e.output -tests/examplefiles/elixir/example_elixir.ex -tests/examplefiles/elixir/example_elixir.ex.output -tests/examplefiles/elm/example.elm -tests/examplefiles/elm/example.elm.output -tests/examplefiles/emacs/subr.el -tests/examplefiles/emacs/subr.el.output -tests/examplefiles/email/example.eml -tests/examplefiles/email/example.eml.output -tests/examplefiles/erl/erl_session -tests/examplefiles/erl/erl_session.output -tests/examplefiles/erlang/test.erl -tests/examplefiles/erlang/test.erl.output -tests/examplefiles/erlang/test.escript -tests/examplefiles/erlang/test.escript.output -tests/examplefiles/evoque/test.evoque -tests/examplefiles/evoque/test.evoque.output -tests/examplefiles/execline/example.exec -tests/examplefiles/execline/example.exec.output -tests/examplefiles/extempore/example.xtm -tests/examplefiles/extempore/example.xtm.output -tests/examplefiles/ezhil/ezhil_primefactors.n -tests/examplefiles/ezhil/ezhil_primefactors.n.output -tests/examplefiles/factor/wiki.factor -tests/examplefiles/factor/wiki.factor.output -tests/examplefiles/fan/test.fan -tests/examplefiles/fan/test.fan.output -tests/examplefiles/fancy/example_file.fy -tests/examplefiles/fancy/example_file.fy.output -tests/examplefiles/felix/test.flx -tests/examplefiles/felix/test.flx.output -tests/examplefiles/fennel/fennelview.fnl -tests/examplefiles/fennel/fennelview.fnl.output -tests/examplefiles/fish/example.fish -tests/examplefiles/fish/example.fish.output -tests/examplefiles/flatline/flatline_example -tests/examplefiles/flatline/flatline_example.output -tests/examplefiles/floscript/example.flo -tests/examplefiles/floscript/example.flo.output -tests/examplefiles/forth/demo.frt -tests/examplefiles/forth/demo.frt.output -tests/examplefiles/fortran/example.f90 -tests/examplefiles/fortran/example.f90.output -tests/examplefiles/fortran/zmlrpc.f90 -tests/examplefiles/fortran/zmlrpc.f90.output -tests/examplefiles/fortranfixed/ahcon.f -tests/examplefiles/fortranfixed/ahcon.f.output -tests/examplefiles/foxpro/example.prg -tests/examplefiles/foxpro/example.prg.output -tests/examplefiles/freefem/freefem.edp -tests/examplefiles/freefem/freefem.edp.output -tests/examplefiles/fsharp/Deflate.fs -tests/examplefiles/fsharp/Deflate.fs.output -tests/examplefiles/fstar/example.fst -tests/examplefiles/fstar/example.fst.output -tests/examplefiles/futhark/example.fut -tests/examplefiles/futhark/example.fut.output -tests/examplefiles/gap/example.gd -tests/examplefiles/gap/example.gd.output -tests/examplefiles/gap/example.gi -tests/examplefiles/gap/example.gi.output -tests/examplefiles/gcode/SupportLogo.gcode -tests/examplefiles/gcode/SupportLogo.gcode.output -tests/examplefiles/gcode/boomerangv4.gcode -tests/examplefiles/gcode/boomerangv4.gcode.output -tests/examplefiles/gdscript/gdscript_example.gd -tests/examplefiles/gdscript/gdscript_example.gd.output -tests/examplefiles/genshi/genshi_example.xml+genshi -tests/examplefiles/genshi/genshi_example.xml+genshi.output -tests/examplefiles/genshitext/genshitext_example.genshitext -tests/examplefiles/genshitext/genshitext_example.genshitext.output -tests/examplefiles/glsl/glsl.frag -tests/examplefiles/glsl/glsl.frag.output -tests/examplefiles/glsl/glsl.vert -tests/examplefiles/glsl/glsl.vert.output -tests/examplefiles/gnuplot/test.plot -tests/examplefiles/gnuplot/test.plot.output -tests/examplefiles/go/unicode.go -tests/examplefiles/go/unicode.go.output -tests/examplefiles/golo/example.golo -tests/examplefiles/golo/example.golo.output -tests/examplefiles/golo/hello.golo -tests/examplefiles/golo/hello.golo.output -tests/examplefiles/gooddata-cl/test.gdc -tests/examplefiles/gooddata-cl/test.gdc.output -tests/examplefiles/gosu/example.gs -tests/examplefiles/gosu/example.gs.output -tests/examplefiles/graphviz/graphviz-dot.gv -tests/examplefiles/graphviz/graphviz-dot.gv.output -tests/examplefiles/groff/perlfunc.1 -tests/examplefiles/groff/perlfunc.1.output -tests/examplefiles/groovy/example.groovy -tests/examplefiles/groovy/example.groovy.output -tests/examplefiles/groovy/quoted.groovy -tests/examplefiles/groovy/quoted.groovy.output -tests/examplefiles/groovy/test.gradle -tests/examplefiles/groovy/test.gradle.output -tests/examplefiles/groovy/test.groovy -tests/examplefiles/groovy/test.groovy.output -tests/examplefiles/gsql/test.gsql -tests/examplefiles/gsql/test.gsql.output -tests/examplefiles/gst/example.gst -tests/examplefiles/gst/example.gst.output -tests/examplefiles/haskell/AcidStateAdvanced.hs -tests/examplefiles/haskell/AcidStateAdvanced.hs.output -tests/examplefiles/haskell/SmallCheck.hs -tests/examplefiles/haskell/SmallCheck.hs.output -tests/examplefiles/haskell/example.hs -tests/examplefiles/haskell/example.hs.output -tests/examplefiles/hexdump/hexdump_debugexe -tests/examplefiles/hexdump/hexdump_debugexe.output -tests/examplefiles/hexdump/hexdump_hd -tests/examplefiles/hexdump/hexdump_hd.output -tests/examplefiles/hexdump/hexdump_hexcat -tests/examplefiles/hexdump/hexdump_hexcat.output -tests/examplefiles/hexdump/hexdump_hexdump -tests/examplefiles/hexdump/hexdump_hexdump.output -tests/examplefiles/hexdump/hexdump_od -tests/examplefiles/hexdump/hexdump_od.output -tests/examplefiles/hexdump/hexdump_xxd -tests/examplefiles/hexdump/hexdump_xxd.output -tests/examplefiles/hlsl/example.hlsl -tests/examplefiles/hlsl/example.hlsl.output -tests/examplefiles/hsail/test.hsail -tests/examplefiles/hsail/test.hsail.output -tests/examplefiles/html/example.xhtml -tests/examplefiles/html/example.xhtml.output -tests/examplefiles/html/test.html -tests/examplefiles/html/test.html.output -tests/examplefiles/html+handlebars/demo.hbs -tests/examplefiles/html+handlebars/demo.hbs.output -tests/examplefiles/html+handlebars/ember.handlebars -tests/examplefiles/html+handlebars/ember.handlebars.output -tests/examplefiles/html+ng2/example.ng2 -tests/examplefiles/html+ng2/example.ng2.output -tests/examplefiles/html+php/html+php_faulty.php -tests/examplefiles/html+php/html+php_faulty.php.output -tests/examplefiles/http/http_request_example -tests/examplefiles/http/http_request_example.output -tests/examplefiles/http/http_response_example -tests/examplefiles/http/http_response_example.output -tests/examplefiles/hx/OrderedMap.hx -tests/examplefiles/hx/OrderedMap.hx.output -tests/examplefiles/hx/example.hx -tests/examplefiles/hx/example.hx.output -tests/examplefiles/hybris/hybris_File.hy -tests/examplefiles/hybris/hybris_File.hy.output -tests/examplefiles/hylang/language.hy -tests/examplefiles/hylang/language.hy.output -tests/examplefiles/i6t/example.i6t -tests/examplefiles/i6t/example.i6t.output -tests/examplefiles/icon/example.icon -tests/examplefiles/icon/example.icon.output -tests/examplefiles/idl/idl_sample.pro -tests/examplefiles/idl/idl_sample.pro.output -tests/examplefiles/idris/test.idr -tests/examplefiles/idris/test.idr.output -tests/examplefiles/iex/iex_example -tests/examplefiles/iex/iex_example.output -tests/examplefiles/inform6/inform6_example -tests/examplefiles/inform6/inform6_example.output -tests/examplefiles/inform7/example.i7x -tests/examplefiles/inform7/example.i7x.output -tests/examplefiles/inform7/example.ni -tests/examplefiles/inform7/example.ni.output -tests/examplefiles/ini/test.ini -tests/examplefiles/ini/test.ini.output -tests/examplefiles/ioke/intro.ik -tests/examplefiles/ioke/intro.ik.output -tests/examplefiles/irc/example.weechatlog -tests/examplefiles/irc/example.weechatlog.output -tests/examplefiles/isabelle/example.thy -tests/examplefiles/isabelle/example.thy.output -tests/examplefiles/j/pacman.ijs -tests/examplefiles/j/pacman.ijs.output -tests/examplefiles/jags/example.jag -tests/examplefiles/jags/example.jag.output -tests/examplefiles/jasmin/example.j -tests/examplefiles/jasmin/example.j.output -tests/examplefiles/java/badcase.java -tests/examplefiles/java/badcase.java.output -tests/examplefiles/java/example.java -tests/examplefiles/java/example.java.output -tests/examplefiles/java/test.java -tests/examplefiles/java/test.java.output -tests/examplefiles/javascript+mozpreproc/demo.js.in -tests/examplefiles/javascript+mozpreproc/demo.js.in.output -tests/examplefiles/jcl/example.jcl -tests/examplefiles/jcl/example.jcl.output -tests/examplefiles/js/BOM.js -tests/examplefiles/js/BOM.js.output -tests/examplefiles/js/evil_regex.js -tests/examplefiles/js/evil_regex.js.output -tests/examplefiles/js/general.js -tests/examplefiles/js/general.js.output -tests/examplefiles/js/regex.js -tests/examplefiles/js/regex.js.output -tests/examplefiles/js/unicode.js -tests/examplefiles/js/unicode.js.output -tests/examplefiles/jsgf/example.jsgf -tests/examplefiles/jsgf/example.jsgf.output -tests/examplefiles/json/json-with-spaces.json -tests/examplefiles/json/json-with-spaces.json.output -tests/examplefiles/json/pypi-dump.json -tests/examplefiles/json/pypi-dump.json.output -tests/examplefiles/jsonld/example.jsonld -tests/examplefiles/jsonld/example.jsonld.output -tests/examplefiles/jsp/test.jsp -tests/examplefiles/jsp/test.jsp.output -tests/examplefiles/julia/string.jl -tests/examplefiles/julia/string.jl.output -tests/examplefiles/juttle/example.juttle -tests/examplefiles/juttle/example.juttle.output -tests/examplefiles/kal/example.kal -tests/examplefiles/kal/example.kal.output -tests/examplefiles/kconfig/Config.in.cache -tests/examplefiles/kconfig/Config.in.cache.output -tests/examplefiles/kmsg/example.dmesg -tests/examplefiles/kmsg/example.dmesg.output -tests/examplefiles/koka/garcia-wachs.kk -tests/examplefiles/koka/garcia-wachs.kk.output -tests/examplefiles/kotlin/example.kt -tests/examplefiles/kotlin/example.kt.output -tests/examplefiles/kuin/example.kn -tests/examplefiles/kuin/example.kn.output -tests/examplefiles/lagda/example.lagda -tests/examplefiles/lagda/example.lagda.output -tests/examplefiles/lasso/json.lasso -tests/examplefiles/lasso/json.lasso.output -tests/examplefiles/lasso/json.lasso9 -tests/examplefiles/lasso/json.lasso9.output -tests/examplefiles/lean/test.lean -tests/examplefiles/lean/test.lean.output -tests/examplefiles/lhs/DancingSudoku.lhs -tests/examplefiles/lhs/DancingSudoku.lhs.output -tests/examplefiles/lhs/Sudoku.lhs -tests/examplefiles/lhs/Sudoku.lhs.output -tests/examplefiles/lighty/lighttpd_config.conf -tests/examplefiles/lighty/lighttpd_config.conf.output -tests/examplefiles/lilypond/example.ly -tests/examplefiles/lilypond/example.ly.output -tests/examplefiles/limbo/limbo.b -tests/examplefiles/limbo/limbo.b.output -tests/examplefiles/liquid/example.liquid -tests/examplefiles/liquid/example.liquid.output -tests/examplefiles/live-script/livescript-demo.ls -tests/examplefiles/live-script/livescript-demo.ls.output -tests/examplefiles/llvm-mir/llvm-mir.mir -tests/examplefiles/llvm-mir/llvm-mir.mir.output -tests/examplefiles/logos/logos_example.xm -tests/examplefiles/logos/logos_example.xm.output -tests/examplefiles/logtalk/source.lgt -tests/examplefiles/logtalk/source.lgt.output -tests/examplefiles/lsl/hello.lsl -tests/examplefiles/lsl/hello.lsl.output -tests/examplefiles/lua/example.lua -tests/examplefiles/lua/example.lua.output -tests/examplefiles/macaulay2/test.m2 -tests/examplefiles/macaulay2/test.m2.output -tests/examplefiles/make/Makefile -tests/examplefiles/make/Makefile.output -tests/examplefiles/make/automake.mk -tests/examplefiles/make/automake.mk.output -tests/examplefiles/make/firefox.mak -tests/examplefiles/make/firefox.mak.output -tests/examplefiles/make/python25-bsd.mak -tests/examplefiles/make/python25-bsd.mak.output -tests/examplefiles/make/vpath.mk -tests/examplefiles/make/vpath.mk.output -tests/examplefiles/mako/test.mao -tests/examplefiles/mako/test.mao.output -tests/examplefiles/maql/test.maql -tests/examplefiles/maql/test.maql.output -tests/examplefiles/mask/test.mask -tests/examplefiles/mask/test.mask.output -tests/examplefiles/mathematica/example.ma -tests/examplefiles/mathematica/example.ma.output -tests/examplefiles/matlab/matlab_noreturn -tests/examplefiles/matlab/matlab_noreturn.output -tests/examplefiles/matlab/matlab_sample -tests/examplefiles/matlab/matlab_sample.output -tests/examplefiles/matlabsession/matlabsession_sample.txt -tests/examplefiles/matlabsession/matlabsession_sample.txt.output -tests/examplefiles/maxima/foo.mac -tests/examplefiles/maxima/foo.mac.output -tests/examplefiles/mcfunction/main.mcfunction -tests/examplefiles/mcfunction/main.mcfunction.output -tests/examplefiles/md/example.md -tests/examplefiles/md/example.md.output -tests/examplefiles/meson/meson.build -tests/examplefiles/meson/meson.build.output -tests/examplefiles/mime/MIME_example.eml -tests/examplefiles/mime/MIME_example.eml.output -tests/examplefiles/modelica/Constants.mo -tests/examplefiles/modelica/Constants.mo.output -tests/examplefiles/modula2/Sorting.mod -tests/examplefiles/modula2/Sorting.mod.output -tests/examplefiles/modula2/modula2_test_cases.def -tests/examplefiles/modula2/modula2_test_cases.def.output -tests/examplefiles/modula2/test.mod -tests/examplefiles/modula2/test.mod.output -tests/examplefiles/monkey/example.monkey -tests/examplefiles/monkey/example.monkey.output -tests/examplefiles/monte/test.mt -tests/examplefiles/monte/test.mt.output -tests/examplefiles/moocode/example.moo -tests/examplefiles/moocode/example.moo.output -tests/examplefiles/moocode/test.moo -tests/examplefiles/moocode/test.moo.output -tests/examplefiles/moon/example.moon -tests/examplefiles/moon/example.moon.output -tests/examplefiles/mosel/test.mos -tests/examplefiles/mosel/test.mos.output -tests/examplefiles/mql/example.mq4 -tests/examplefiles/mql/example.mq4.output -tests/examplefiles/mql/example.mqh -tests/examplefiles/mql/example.mqh.output -tests/examplefiles/ms/example.ms -tests/examplefiles/ms/example.ms.output -tests/examplefiles/mscgen/example.msc -tests/examplefiles/mscgen/example.msc.output -tests/examplefiles/mscgen/example2.msc -tests/examplefiles/mscgen/example2.msc.output -tests/examplefiles/mupad/AlternatingGroup.mu -tests/examplefiles/mupad/AlternatingGroup.mu.output -tests/examplefiles/mupad/function.mu -tests/examplefiles/mupad/function.mu.output -tests/examplefiles/myghty/test.myt -tests/examplefiles/myghty/test.myt.output -tests/examplefiles/nasm/nasm_aoutso.asm -tests/examplefiles/nasm/nasm_aoutso.asm.output -tests/examplefiles/nasm/nasm_objexe.asm -tests/examplefiles/nasm/nasm_objexe.asm.output -tests/examplefiles/ncl/test.ncl -tests/examplefiles/ncl/test.ncl.output -tests/examplefiles/nemerle/nemerle_sample.n -tests/examplefiles/nemerle/nemerle_sample.n.output -tests/examplefiles/nesc/IPDispatchC.nc -tests/examplefiles/nesc/IPDispatchC.nc.output -tests/examplefiles/nesc/IPDispatchP.nc -tests/examplefiles/nesc/IPDispatchP.nc.output -tests/examplefiles/newlisp/irc.lsp -tests/examplefiles/newlisp/irc.lsp.output -tests/examplefiles/newlisp/markdown.lsp -tests/examplefiles/newlisp/markdown.lsp.output -tests/examplefiles/newlisp/reversi.lsp -tests/examplefiles/newlisp/reversi.lsp.output -tests/examplefiles/newspeak/example.ns2 -tests/examplefiles/newspeak/example.ns2.output -tests/examplefiles/newspeak/minimal.ns2 -tests/examplefiles/newspeak/minimal.ns2.output -tests/examplefiles/nginx/nginx_nginx.conf -tests/examplefiles/nginx/nginx_nginx.conf.output -tests/examplefiles/nim/example.nim -tests/examplefiles/nim/example.nim.output -tests/examplefiles/nim/test.nim -tests/examplefiles/nim/test.nim.output -tests/examplefiles/nit/all.nit -tests/examplefiles/nit/all.nit.output -tests/examplefiles/nixos/example.nix -tests/examplefiles/nixos/example.nix.output -tests/examplefiles/nodejsrepl/nodejsrepl_test.nodejsrepl -tests/examplefiles/nodejsrepl/nodejsrepl_test.nodejsrepl.output -tests/examplefiles/notmuch/notmuch_example -tests/examplefiles/notmuch/notmuch_example.output -tests/examplefiles/nsis/bigtest.nsi -tests/examplefiles/nsis/bigtest.nsi.output -tests/examplefiles/nt/test.nt -tests/examplefiles/nt/test.nt.output -tests/examplefiles/nusmv/guidance.smv -tests/examplefiles/nusmv/guidance.smv.output -tests/examplefiles/objdump-nasm/no-show-raw-isns.dump -tests/examplefiles/objdump-nasm/no-show-raw-isns.dump.output -tests/examplefiles/objective-c/objc_example.m -tests/examplefiles/objective-c/objc_example.m.output -tests/examplefiles/objective-j/CPDictionary.j -tests/examplefiles/objective-j/CPDictionary.j.output -tests/examplefiles/ocaml/format.ml -tests/examplefiles/ocaml/format.ml.output -tests/examplefiles/odin/test.odin -tests/examplefiles/odin/test.odin.output -tests/examplefiles/odin/test2.odin -tests/examplefiles/odin/test2.odin.output -tests/examplefiles/omg-idl/example.idl -tests/examplefiles/omg-idl/example.idl.output -tests/examplefiles/opa/test.opa -tests/examplefiles/opa/test.opa.output -tests/examplefiles/openedge/example.cls -tests/examplefiles/openedge/example.cls.output -tests/examplefiles/openedge/openedge_example -tests/examplefiles/openedge/openedge_example.output -tests/examplefiles/pacmanconf/pacman.conf -tests/examplefiles/pacmanconf/pacman.conf.output -tests/examplefiles/pan/test.pan -tests/examplefiles/pan/test.pan.output -tests/examplefiles/parasail/test.psl -tests/examplefiles/parasail/test.psl.output -tests/examplefiles/pawn/pawn_example -tests/examplefiles/pawn/pawn_example.output -tests/examplefiles/pawn/test.pwn -tests/examplefiles/pawn/test.pwn.output -tests/examplefiles/perl/perl_misc -tests/examplefiles/perl/perl_misc.output -tests/examplefiles/perl/perl_perl5db -tests/examplefiles/perl/perl_perl5db.output -tests/examplefiles/perl/perl_regex-delims -tests/examplefiles/perl/perl_regex-delims.output -tests/examplefiles/perl6/RoleQ.pm6 -tests/examplefiles/perl6/RoleQ.pm6.output -tests/examplefiles/perl6/grammar-test.p6 -tests/examplefiles/perl6/grammar-test.p6.output -tests/examplefiles/perl6/test.p6 -tests/examplefiles/perl6/test.p6.output -tests/examplefiles/php/ints.php -tests/examplefiles/php/ints.php.output -tests/examplefiles/php/test.php -tests/examplefiles/php/test.php.output -tests/examplefiles/pig/test.pig -tests/examplefiles/pig/test.pig.output -tests/examplefiles/pike/Error.pmod -tests/examplefiles/pike/Error.pmod.output -tests/examplefiles/pike/FakeFile.pike -tests/examplefiles/pike/FakeFile.pike.output -tests/examplefiles/pkgconfig/pkgconfig_example.pc -tests/examplefiles/pkgconfig/pkgconfig_example.pc.output -tests/examplefiles/pointless/example.ptls -tests/examplefiles/pointless/example.ptls.output -tests/examplefiles/pony/example.pony -tests/examplefiles/pony/example.pony.output -tests/examplefiles/postgresql/postgresql_test.txt -tests/examplefiles/postgresql/postgresql_test.txt.output -tests/examplefiles/postscript/cells.ps -tests/examplefiles/postscript/cells.ps.output -tests/examplefiles/pot/de.MoinMoin.po -tests/examplefiles/pot/de.MoinMoin.po.output -tests/examplefiles/pov/sphere.pov -tests/examplefiles/pov/sphere.pov.output -tests/examplefiles/pov/while.pov -tests/examplefiles/pov/while.pov.output -tests/examplefiles/powershell/Get-CommandDefinitionHtml.ps1 -tests/examplefiles/powershell/Get-CommandDefinitionHtml.ps1.output -tests/examplefiles/powershell/test.ps1 -tests/examplefiles/powershell/test.ps1.output -tests/examplefiles/praat/example.praat -tests/examplefiles/praat/example.praat.output -tests/examplefiles/procfile/Procfile -tests/examplefiles/procfile/Procfile.output -tests/examplefiles/prolog/qsort.prolog -tests/examplefiles/prolog/qsort.prolog.output -tests/examplefiles/prolog/sibling.prolog -tests/examplefiles/prolog/sibling.prolog.output -tests/examplefiles/prolog/strings.prolog -tests/examplefiles/prolog/strings.prolog.output -tests/examplefiles/promql/example.promql -tests/examplefiles/promql/example.promql.output -tests/examplefiles/properties/java.properties -tests/examplefiles/properties/java.properties.output -tests/examplefiles/protobuf/addressbook.proto -tests/examplefiles/protobuf/addressbook.proto.output -tests/examplefiles/psql/psql_session.txt -tests/examplefiles/psql/psql_session.txt.output -tests/examplefiles/psysh/psysh_test.psysh -tests/examplefiles/psysh/psysh_test.psysh.output -tests/examplefiles/puppet/example.pp -tests/examplefiles/puppet/example.pp.output -tests/examplefiles/pycon/pycon_ctrlc_traceback -tests/examplefiles/pycon/pycon_ctrlc_traceback.output -tests/examplefiles/pycon/pycon_test.pycon -tests/examplefiles/pycon/pycon_test.pycon.output -tests/examplefiles/pypylog/test.pypylog -tests/examplefiles/pypylog/test.pypylog.output -tests/examplefiles/pypylog/test2.pypylog -tests/examplefiles/pypylog/test2.pypylog.output -tests/examplefiles/pytb/database.pytb -tests/examplefiles/pytb/database.pytb.output -tests/examplefiles/pytb/error_locations.pytb -tests/examplefiles/pytb/error_locations.pytb.output -tests/examplefiles/pytb/py3tb_test.py3tb -tests/examplefiles/pytb/py3tb_test.py3tb.output -tests/examplefiles/pytb/pytb_test2.pytb -tests/examplefiles/pytb/pytb_test2.pytb.output -tests/examplefiles/pytb/pytb_test3.pytb -tests/examplefiles/pytb/pytb_test3.pytb.output -tests/examplefiles/pytb/syntax_error.py2tb -tests/examplefiles/pytb/syntax_error.py2tb.output -tests/examplefiles/pytb/syntax_error.pytb -tests/examplefiles/pytb/syntax_error.pytb.output -tests/examplefiles/pytb/syntax_error_caret_code.py2tb -tests/examplefiles/pytb/syntax_error_caret_code.py2tb.output -tests/examplefiles/pytb/syntax_error_caret_code.pytb -tests/examplefiles/pytb/syntax_error_caret_code.pytb.output -tests/examplefiles/pytb/truncated.pytb -tests/examplefiles/pytb/truncated.pytb.output -tests/examplefiles/python/linecontinuation.py -tests/examplefiles/python/linecontinuation.py.output -tests/examplefiles/python/py3_test.txt -tests/examplefiles/python/py3_test.txt.output -tests/examplefiles/python/switch_case.txt -tests/examplefiles/python/switch_case.txt.output -tests/examplefiles/python/unicodedoc.py -tests/examplefiles/python/unicodedoc.py.output -tests/examplefiles/q/example.q -tests/examplefiles/q/example.q.output -tests/examplefiles/qbasic/qbasic_example -tests/examplefiles/qbasic/qbasic_example.output -tests/examplefiles/qlik/example.qvs -tests/examplefiles/qlik/example.qvs.output -tests/examplefiles/qml/minehunt.qml -tests/examplefiles/qml/minehunt.qml.output -tests/examplefiles/qvto/sample.qvto -tests/examplefiles/qvto/sample.qvto.output -tests/examplefiles/racket/example.rkt -tests/examplefiles/racket/example.rkt.output -tests/examplefiles/ragel-cpp/ragel-cpp_rlscan -tests/examplefiles/ragel-cpp/ragel-cpp_rlscan.output -tests/examplefiles/ragel-cpp/ragel-cpp_snippet -tests/examplefiles/ragel-cpp/ragel-cpp_snippet.output -tests/examplefiles/rb/condensed_ruby.rb -tests/examplefiles/rb/condensed_ruby.rb.output -tests/examplefiles/rb/example.rb -tests/examplefiles/rb/example.rb.output -tests/examplefiles/rb/fucked_up.rb -tests/examplefiles/rb/fucked_up.rb.output -tests/examplefiles/rb/hash_syntax.rb -tests/examplefiles/rb/hash_syntax.rb.output -tests/examplefiles/rb/multiline_regexes.rb -tests/examplefiles/rb/multiline_regexes.rb.output -tests/examplefiles/rb/pleac.in.rb -tests/examplefiles/rb/pleac.in.rb.output -tests/examplefiles/rb/ruby_func_def.rb -tests/examplefiles/rb/ruby_func_def.rb.output -tests/examplefiles/rb/test.rb -tests/examplefiles/rb/test.rb.output -tests/examplefiles/rbcon/irb_heredoc -tests/examplefiles/rbcon/irb_heredoc.output -tests/examplefiles/rconsole/r-console-transcript.Rout -tests/examplefiles/rconsole/r-console-transcript.Rout.output -tests/examplefiles/rd/example.Rd -tests/examplefiles/rd/example.Rd.output -tests/examplefiles/reason/test.re -tests/examplefiles/reason/test.re.output -tests/examplefiles/rebol/test.r3 -tests/examplefiles/rebol/test.r3.output -tests/examplefiles/red/example.red -tests/examplefiles/red/example.red.output -tests/examplefiles/red/example.reds -tests/examplefiles/red/example.reds.output -tests/examplefiles/redcode/dwarf.cw -tests/examplefiles/redcode/dwarf.cw.output -tests/examplefiles/registry/example.reg -tests/examplefiles/registry/example.reg.output -tests/examplefiles/resource/resourcebundle_demo -tests/examplefiles/resource/resourcebundle_demo.output -tests/examplefiles/rexx/example.rexx -tests/examplefiles/rexx/example.rexx.output -tests/examplefiles/rhtml/example.rhtml -tests/examplefiles/rhtml/example.rhtml.output -tests/examplefiles/rhtml/test.rhtml -tests/examplefiles/rhtml/test.rhtml.output -tests/examplefiles/ride/auction.ride -tests/examplefiles/ride/auction.ride.output -tests/examplefiles/rita/example.rita -tests/examplefiles/rita/example.rita.output -tests/examplefiles/rnc/rnc_example.rnc -tests/examplefiles/rnc/rnc_example.rnc.output -tests/examplefiles/roboconf-graph/roboconf.graph -tests/examplefiles/roboconf-graph/roboconf.graph.output -tests/examplefiles/roboconf-instances/roboconf.instances -tests/examplefiles/roboconf-instances/roboconf.instances.output -tests/examplefiles/robotframework/robotframework_test.txt -tests/examplefiles/robotframework/robotframework_test.txt.output -tests/examplefiles/rql/rql-queries.rql -tests/examplefiles/rql/rql-queries.rql.output -tests/examplefiles/rsl/test.rsl -tests/examplefiles/rsl/test.rsl.output -tests/examplefiles/rst/functional.rst -tests/examplefiles/rst/functional.rst.output -tests/examplefiles/rst/jinjadesignerdoc.rst -tests/examplefiles/rst/jinjadesignerdoc.rst.output -tests/examplefiles/rts/example.rts -tests/examplefiles/rts/example.rts.output -tests/examplefiles/rust/eval.rs -tests/examplefiles/rust/eval.rs.output -tests/examplefiles/savi/example.savi -tests/examplefiles/savi/example.savi.output -tests/examplefiles/sc/example.scd -tests/examplefiles/sc/example.scd.output -tests/examplefiles/scala/char.scala -tests/examplefiles/scala/char.scala.output -tests/examplefiles/scala/comments.scala -tests/examplefiles/scala/comments.scala.output -tests/examplefiles/scala/constants.scala -tests/examplefiles/scala/constants.scala.output -tests/examplefiles/scala/declarations.scala -tests/examplefiles/scala/declarations.scala.output -tests/examplefiles/scala/dependent-types.scala -tests/examplefiles/scala/dependent-types.scala.output -tests/examplefiles/scala/end-soft-keyword.scala -tests/examplefiles/scala/end-soft-keyword.scala.output -tests/examplefiles/scala/end.scala -tests/examplefiles/scala/end.scala.output -tests/examplefiles/scala/exports.scala -tests/examplefiles/scala/exports.scala.output -tests/examplefiles/scala/extensions.scala -tests/examplefiles/scala/extensions.scala.output -tests/examplefiles/scala/for-comprehension.scala -tests/examplefiles/scala/for-comprehension.scala.output -tests/examplefiles/scala/imports.scala -tests/examplefiles/scala/imports.scala.output -tests/examplefiles/scala/inheritance.scala -tests/examplefiles/scala/inheritance.scala.output -tests/examplefiles/scala/inline.scala -tests/examplefiles/scala/inline.scala.output -tests/examplefiles/scala/interpolated-string.scala -tests/examplefiles/scala/interpolated-string.scala.output -tests/examplefiles/scala/match-types.scala -tests/examplefiles/scala/match-types.scala.output -tests/examplefiles/scala/new.scala -tests/examplefiles/scala/new.scala.output -tests/examplefiles/scala/operators.scala -tests/examplefiles/scala/operators.scala.output -tests/examplefiles/scala/package.scala -tests/examplefiles/scala/package.scala.output -tests/examplefiles/scala/pattern-matching.scala -tests/examplefiles/scala/pattern-matching.scala.output -tests/examplefiles/scala/quoted.scala -tests/examplefiles/scala/quoted.scala.output -tests/examplefiles/scala/singleton-types.scala -tests/examplefiles/scala/singleton-types.scala.output -tests/examplefiles/scala/soft-keywords.scala -tests/examplefiles/scala/soft-keywords.scala.output -tests/examplefiles/scala/storage-modifiers.scala -tests/examplefiles/scala/storage-modifiers.scala.output -tests/examplefiles/scala/symbols.scala -tests/examplefiles/scala/symbols.scala.output -tests/examplefiles/scala/type-operators.scala -tests/examplefiles/scala/type-operators.scala.output -tests/examplefiles/scala/using.scala -tests/examplefiles/scala/using.scala.output -tests/examplefiles/scaml/test.scaml -tests/examplefiles/scaml/test.scaml.output -tests/examplefiles/scdoc/scdoc_manual.scd -tests/examplefiles/scdoc/scdoc_manual.scd.output -tests/examplefiles/scheme/boot-9.scm -tests/examplefiles/scheme/boot-9.scm.output -tests/examplefiles/scheme/r6rs-comments.scm -tests/examplefiles/scheme/r6rs-comments.scm.output -tests/examplefiles/scilab/foo.sce -tests/examplefiles/scilab/foo.sce.output -tests/examplefiles/scilab/scilab.sci -tests/examplefiles/scilab/scilab.sci.output -tests/examplefiles/sed/all_sorts_of_syntax.sed -tests/examplefiles/sed/all_sorts_of_syntax.sed.output -tests/examplefiles/sed/count_words.sed -tests/examplefiles/sed/count_words.sed.output -tests/examplefiles/sed/increment_number.sed -tests/examplefiles/sed/increment_number.sed.output -tests/examplefiles/sed/reverse.sed -tests/examplefiles/sed/reverse.sed.output -tests/examplefiles/sgf/example.sgf -tests/examplefiles/sgf/example.sgf.output -tests/examplefiles/shen/test.shen -tests/examplefiles/shen/test.shen.output -tests/examplefiles/shexc/example.shex -tests/examplefiles/shexc/example.shex.output -tests/examplefiles/sieve/example.sieve -tests/examplefiles/sieve/example.sieve.output -tests/examplefiles/silver/test.sil -tests/examplefiles/silver/test.sil.output -tests/examplefiles/singularity/Singularity -tests/examplefiles/singularity/Singularity.output -tests/examplefiles/slim/example.slim -tests/examplefiles/slim/example.slim.output -tests/examplefiles/slurm/example.sl -tests/examplefiles/slurm/example.sl.output -tests/examplefiles/smali/hello.smali -tests/examplefiles/smali/hello.smali.output -tests/examplefiles/smalltalk/Object.st -tests/examplefiles/smalltalk/Object.st.output -tests/examplefiles/smarty/smarty_example.html -tests/examplefiles/smarty/smarty_example.html.output -tests/examplefiles/smithy/test.smithy -tests/examplefiles/smithy/test.smithy.output -tests/examplefiles/sml/example.sml -tests/examplefiles/sml/example.sml.output -tests/examplefiles/sml/intsyn.fun -tests/examplefiles/sml/intsyn.fun.output -tests/examplefiles/sml/intsyn.sig -tests/examplefiles/sml/intsyn.sig.output -tests/examplefiles/snbt/main.snbt -tests/examplefiles/snbt/main.snbt.output -tests/examplefiles/snobol/example.snobol -tests/examplefiles/snobol/example.snobol.output -tests/examplefiles/snowball/example.sbl -tests/examplefiles/snowball/example.sbl.output -tests/examplefiles/solidity/test.sol -tests/examplefiles/solidity/test.sol.output -tests/examplefiles/sophia/test.aes -tests/examplefiles/sophia/test.aes.output -tests/examplefiles/sourceslist/sources.list -tests/examplefiles/sourceslist/sources.list.output -tests/examplefiles/sp/hello.sp -tests/examplefiles/sp/hello.sp.output -tests/examplefiles/sparql/sparql.rq -tests/examplefiles/sparql/sparql.rq.output -tests/examplefiles/spec/phpMyAdmin.spec -tests/examplefiles/spec/phpMyAdmin.spec.output -tests/examplefiles/spice/example.spice -tests/examplefiles/spice/example.spice.output -tests/examplefiles/splus/test.R -tests/examplefiles/splus/test.R.output -tests/examplefiles/sqlite3/sqlite3.sqlite3-console -tests/examplefiles/sqlite3/sqlite3.sqlite3-console.output -tests/examplefiles/squidconf/squid.conf -tests/examplefiles/squidconf/squid.conf.output -tests/examplefiles/srcinfo/c-intercal.SRCINFO -tests/examplefiles/srcinfo/c-intercal.SRCINFO.output -tests/examplefiles/srcinfo/compiler-rt.SRCINFO -tests/examplefiles/srcinfo/compiler-rt.SRCINFO.output -tests/examplefiles/srcinfo/hunspell.SRCINFO -tests/examplefiles/srcinfo/hunspell.SRCINFO.output -tests/examplefiles/srcinfo/thunderbird.SRCINFO -tests/examplefiles/srcinfo/thunderbird.SRCINFO.output -tests/examplefiles/ssp/test.ssp -tests/examplefiles/ssp/test.ssp.output -tests/examplefiles/stan/example.stan -tests/examplefiles/stan/example.stan.output -tests/examplefiles/swift/test.swift -tests/examplefiles/swift/test.swift.output -tests/examplefiles/swig/swig_java.swg -tests/examplefiles/swig/swig_java.swg.output -tests/examplefiles/swig/swig_std_vector.i -tests/examplefiles/swig/swig_std_vector.i.output -tests/examplefiles/systemverilog/flipflop.sv -tests/examplefiles/systemverilog/flipflop.sv.output -tests/examplefiles/tads3/tads3_example.t -tests/examplefiles/tads3/tads3_example.t.output -tests/examplefiles/tal/piano.tal -tests/examplefiles/tal/piano.tal.output -tests/examplefiles/tap/example.tap -tests/examplefiles/tap/example.tap.output -tests/examplefiles/tasm/example.tasm -tests/examplefiles/tasm/example.tasm.output -tests/examplefiles/tcsh/test.tcsh -tests/examplefiles/tcsh/test.tcsh.output -tests/examplefiles/tea/example.tea -tests/examplefiles/tea/example.tea.output -tests/examplefiles/teal/example.teal -tests/examplefiles/teal/example.teal.output -tests/examplefiles/termcap/termcap -tests/examplefiles/termcap/termcap.output -tests/examplefiles/terminfo/terminfo -tests/examplefiles/terminfo/terminfo.output -tests/examplefiles/text/mysql.txt -tests/examplefiles/text/mysql.txt.output -tests/examplefiles/thingsdb/test.ti -tests/examplefiles/thingsdb/test.ti.output -tests/examplefiles/thrift/demo.thrift -tests/examplefiles/thrift/demo.thrift.output -tests/examplefiles/tid/TiddlyWiki5.tid -tests/examplefiles/tid/TiddlyWiki5.tid.output -tests/examplefiles/tnt/example.tnt -tests/examplefiles/tnt/example.tnt.output -tests/examplefiles/todotxt/example.todotxt -tests/examplefiles/todotxt/example.todotxt.output -tests/examplefiles/toml/example.toml -tests/examplefiles/toml/example.toml.output -tests/examplefiles/trac-wiki/moin_SyntaxReference.txt -tests/examplefiles/trac-wiki/moin_SyntaxReference.txt.output -tests/examplefiles/treetop/metagrammar.treetop -tests/examplefiles/treetop/metagrammar.treetop.output -tests/examplefiles/ts/typescript_example -tests/examplefiles/ts/typescript_example.output -tests/examplefiles/tsql/tsql_example.sql -tests/examplefiles/tsql/tsql_example.sql.output -tests/examplefiles/ttl/teraterm.ttl -tests/examplefiles/ttl/teraterm.ttl.output -tests/examplefiles/turtle/example.ttl -tests/examplefiles/turtle/example.ttl.output -tests/examplefiles/twig/twig_test -tests/examplefiles/twig/twig_test.output -tests/examplefiles/typoscript/typoscript_example -tests/examplefiles/typoscript/typoscript_example.output -tests/examplefiles/ucode/example.u1 -tests/examplefiles/ucode/example.u1.output -tests/examplefiles/ul4/example_operators.ul4 -tests/examplefiles/ul4/example_operators.ul4.output -tests/examplefiles/ul4/example_tags.ul4 -tests/examplefiles/ul4/example_tags.ul4.output -tests/examplefiles/ul4/example_template.ul4 -tests/examplefiles/ul4/example_template.ul4.output -tests/examplefiles/ul4/example_types.ul4 -tests/examplefiles/ul4/example_types.ul4.output -tests/examplefiles/unicon/example.icn -tests/examplefiles/unicon/example.icn.output -tests/examplefiles/urbiscript/example.u -tests/examplefiles/urbiscript/example.u.output -tests/examplefiles/usd/example.usd -tests/examplefiles/usd/example.usd.output -tests/examplefiles/vb.net/test.vb -tests/examplefiles/vb.net/test.vb.output -tests/examplefiles/vb.net/vbnet_test.bas -tests/examplefiles/vb.net/vbnet_test.bas.output -tests/examplefiles/vbscript/example.vbs -tests/examplefiles/vbscript/example.vbs.output -tests/examplefiles/vcl/varnish.vcl -tests/examplefiles/vcl/varnish.vcl.output -tests/examplefiles/vctreestatus/vctreestatus_hg -tests/examplefiles/vctreestatus/vctreestatus_hg.output -tests/examplefiles/verilog/example_coq.v -tests/examplefiles/verilog/example_coq.v.output -tests/examplefiles/vgl/example.rpf -tests/examplefiles/vgl/example.rpf.output -tests/examplefiles/vhdl/test.vhdl -tests/examplefiles/vhdl/test.vhdl.output -tests/examplefiles/vim/phpcomplete.vim -tests/examplefiles/vim/phpcomplete.vim.output -tests/examplefiles/vim/vimrc -tests/examplefiles/vim/vimrc.output -tests/examplefiles/wat/fib.wat -tests/examplefiles/wat/fib.wat.output -tests/examplefiles/wdiff/wdiff_example1.wdiff -tests/examplefiles/wdiff/wdiff_example1.wdiff.output -tests/examplefiles/wdiff/wdiff_example3.wdiff -tests/examplefiles/wdiff/wdiff_example3.wdiff.output -tests/examplefiles/webidl/example.webidl -tests/examplefiles/webidl/example.webidl.output -tests/examplefiles/whiley/example.whiley -tests/examplefiles/whiley/example.whiley.output -tests/examplefiles/x10/example.x10 -tests/examplefiles/x10/example.x10.output -tests/examplefiles/xml/xml_example -tests/examplefiles/xml/xml_example.output -tests/examplefiles/xorg.conf/xorg.conf -tests/examplefiles/xorg.conf/xorg.conf.output -tests/examplefiles/xquery/test-3.0.xq -tests/examplefiles/xquery/test-3.0.xq.output -tests/examplefiles/xquery/test-exist-update.xq -tests/examplefiles/xquery/test-exist-update.xq.output -tests/examplefiles/xquery/test.xqy -tests/examplefiles/xquery/test.xqy.output -tests/examplefiles/xslt/test.xsl -tests/examplefiles/xslt/test.xsl.output -tests/examplefiles/xtend/example.xtend -tests/examplefiles/xtend/example.xtend.output -tests/examplefiles/xul+mozpreproc/demo.xul.in -tests/examplefiles/xul+mozpreproc/demo.xul.in.output -tests/examplefiles/yaml/example.yaml -tests/examplefiles/yaml/example.yaml.output -tests/examplefiles/yaml+jinja/example.sls -tests/examplefiles/yaml+jinja/example.sls.output -tests/examplefiles/yang/test.yang -tests/examplefiles/yang/test.yang.output -tests/examplefiles/zeek/test.bro -tests/examplefiles/zeek/test.bro.output -tests/examplefiles/zeek/test.zeek -tests/examplefiles/zeek/test.zeek.output -tests/examplefiles/zephir/test.zep -tests/examplefiles/zephir/test.zep.output -tests/examplefiles/zig/example.zig -tests/examplefiles/zig/example.zig.output -tests/html_linenos_expected_output/inline_cls_step_1_start_1_special_0_anchor_filename.html -tests/html_linenos_expected_output/inline_cls_step_1_start_1_special_0_anchor_nofilename.html -tests/html_linenos_expected_output/inline_cls_step_1_start_1_special_0_noanchor_filename.html -tests/html_linenos_expected_output/inline_cls_step_1_start_1_special_0_noanchor_nofilename.html -tests/html_linenos_expected_output/inline_cls_step_1_start_1_special_3_anchor_filename.html -tests/html_linenos_expected_output/inline_cls_step_1_start_1_special_3_anchor_nofilename.html -tests/html_linenos_expected_output/inline_cls_step_1_start_1_special_3_noanchor_filename.html -tests/html_linenos_expected_output/inline_cls_step_1_start_1_special_3_noanchor_nofilename.html -tests/html_linenos_expected_output/inline_cls_step_1_start_8_special_0_anchor_filename.html -tests/html_linenos_expected_output/inline_cls_step_1_start_8_special_0_anchor_nofilename.html -tests/html_linenos_expected_output/inline_cls_step_1_start_8_special_0_noanchor_filename.html -tests/html_linenos_expected_output/inline_cls_step_1_start_8_special_0_noanchor_nofilename.html -tests/html_linenos_expected_output/inline_cls_step_1_start_8_special_3_anchor_filename.html -tests/html_linenos_expected_output/inline_cls_step_1_start_8_special_3_anchor_nofilename.html -tests/html_linenos_expected_output/inline_cls_step_1_start_8_special_3_noanchor_filename.html -tests/html_linenos_expected_output/inline_cls_step_1_start_8_special_3_noanchor_nofilename.html -tests/html_linenos_expected_output/inline_cls_step_2_start_1_special_0_anchor_filename.html -tests/html_linenos_expected_output/inline_cls_step_2_start_1_special_0_anchor_nofilename.html -tests/html_linenos_expected_output/inline_cls_step_2_start_1_special_0_noanchor_filename.html -tests/html_linenos_expected_output/inline_cls_step_2_start_1_special_0_noanchor_nofilename.html -tests/html_linenos_expected_output/inline_cls_step_2_start_1_special_3_anchor_filename.html -tests/html_linenos_expected_output/inline_cls_step_2_start_1_special_3_anchor_nofilename.html -tests/html_linenos_expected_output/inline_cls_step_2_start_1_special_3_noanchor_filename.html -tests/html_linenos_expected_output/inline_cls_step_2_start_1_special_3_noanchor_nofilename.html -tests/html_linenos_expected_output/inline_cls_step_2_start_8_special_0_anchor_filename.html -tests/html_linenos_expected_output/inline_cls_step_2_start_8_special_0_anchor_nofilename.html -tests/html_linenos_expected_output/inline_cls_step_2_start_8_special_0_noanchor_filename.html -tests/html_linenos_expected_output/inline_cls_step_2_start_8_special_0_noanchor_nofilename.html -tests/html_linenos_expected_output/inline_cls_step_2_start_8_special_3_anchor_filename.html -tests/html_linenos_expected_output/inline_cls_step_2_start_8_special_3_anchor_nofilename.html -tests/html_linenos_expected_output/inline_cls_step_2_start_8_special_3_noanchor_filename.html -tests/html_linenos_expected_output/inline_cls_step_2_start_8_special_3_noanchor_nofilename.html -tests/html_linenos_expected_output/inline_nocls_step_1_start_1_special_0_anchor_filename.html -tests/html_linenos_expected_output/inline_nocls_step_1_start_1_special_0_anchor_nofilename.html -tests/html_linenos_expected_output/inline_nocls_step_1_start_1_special_0_noanchor_filename.html -tests/html_linenos_expected_output/inline_nocls_step_1_start_1_special_0_noanchor_nofilename.html -tests/html_linenos_expected_output/inline_nocls_step_1_start_1_special_3_anchor_filename.html -tests/html_linenos_expected_output/inline_nocls_step_1_start_1_special_3_anchor_nofilename.html -tests/html_linenos_expected_output/inline_nocls_step_1_start_1_special_3_noanchor_filename.html -tests/html_linenos_expected_output/inline_nocls_step_1_start_1_special_3_noanchor_nofilename.html -tests/html_linenos_expected_output/inline_nocls_step_1_start_8_special_0_anchor_filename.html -tests/html_linenos_expected_output/inline_nocls_step_1_start_8_special_0_anchor_nofilename.html -tests/html_linenos_expected_output/inline_nocls_step_1_start_8_special_0_noanchor_filename.html -tests/html_linenos_expected_output/inline_nocls_step_1_start_8_special_0_noanchor_nofilename.html -tests/html_linenos_expected_output/inline_nocls_step_1_start_8_special_3_anchor_filename.html -tests/html_linenos_expected_output/inline_nocls_step_1_start_8_special_3_anchor_nofilename.html -tests/html_linenos_expected_output/inline_nocls_step_1_start_8_special_3_noanchor_filename.html -tests/html_linenos_expected_output/inline_nocls_step_1_start_8_special_3_noanchor_nofilename.html -tests/html_linenos_expected_output/inline_nocls_step_2_start_1_special_0_anchor_filename.html -tests/html_linenos_expected_output/inline_nocls_step_2_start_1_special_0_anchor_nofilename.html -tests/html_linenos_expected_output/inline_nocls_step_2_start_1_special_0_noanchor_filename.html -tests/html_linenos_expected_output/inline_nocls_step_2_start_1_special_0_noanchor_nofilename.html -tests/html_linenos_expected_output/inline_nocls_step_2_start_1_special_3_anchor_filename.html -tests/html_linenos_expected_output/inline_nocls_step_2_start_1_special_3_anchor_nofilename.html -tests/html_linenos_expected_output/inline_nocls_step_2_start_1_special_3_noanchor_filename.html -tests/html_linenos_expected_output/inline_nocls_step_2_start_1_special_3_noanchor_nofilename.html -tests/html_linenos_expected_output/inline_nocls_step_2_start_8_special_0_anchor_filename.html -tests/html_linenos_expected_output/inline_nocls_step_2_start_8_special_0_anchor_nofilename.html -tests/html_linenos_expected_output/inline_nocls_step_2_start_8_special_0_noanchor_filename.html -tests/html_linenos_expected_output/inline_nocls_step_2_start_8_special_0_noanchor_nofilename.html -tests/html_linenos_expected_output/inline_nocls_step_2_start_8_special_3_anchor_filename.html -tests/html_linenos_expected_output/inline_nocls_step_2_start_8_special_3_anchor_nofilename.html -tests/html_linenos_expected_output/inline_nocls_step_2_start_8_special_3_noanchor_filename.html -tests/html_linenos_expected_output/inline_nocls_step_2_start_8_special_3_noanchor_nofilename.html -tests/html_linenos_expected_output/table_cls_step_1_start_1_special_0_anchor_filename.html -tests/html_linenos_expected_output/table_cls_step_1_start_1_special_0_anchor_nofilename.html -tests/html_linenos_expected_output/table_cls_step_1_start_1_special_0_noanchor_filename.html -tests/html_linenos_expected_output/table_cls_step_1_start_1_special_0_noanchor_nofilename.html -tests/html_linenos_expected_output/table_cls_step_1_start_1_special_3_anchor_filename.html -tests/html_linenos_expected_output/table_cls_step_1_start_1_special_3_anchor_nofilename.html -tests/html_linenos_expected_output/table_cls_step_1_start_1_special_3_noanchor_filename.html -tests/html_linenos_expected_output/table_cls_step_1_start_1_special_3_noanchor_nofilename.html -tests/html_linenos_expected_output/table_cls_step_1_start_8_special_0_anchor_filename.html -tests/html_linenos_expected_output/table_cls_step_1_start_8_special_0_anchor_nofilename.html -tests/html_linenos_expected_output/table_cls_step_1_start_8_special_0_noanchor_filename.html -tests/html_linenos_expected_output/table_cls_step_1_start_8_special_0_noanchor_nofilename.html -tests/html_linenos_expected_output/table_cls_step_1_start_8_special_3_anchor_filename.html -tests/html_linenos_expected_output/table_cls_step_1_start_8_special_3_anchor_nofilename.html -tests/html_linenos_expected_output/table_cls_step_1_start_8_special_3_noanchor_filename.html -tests/html_linenos_expected_output/table_cls_step_1_start_8_special_3_noanchor_nofilename.html -tests/html_linenos_expected_output/table_cls_step_2_start_1_special_0_anchor_filename.html -tests/html_linenos_expected_output/table_cls_step_2_start_1_special_0_anchor_nofilename.html -tests/html_linenos_expected_output/table_cls_step_2_start_1_special_0_noanchor_filename.html -tests/html_linenos_expected_output/table_cls_step_2_start_1_special_0_noanchor_nofilename.html -tests/html_linenos_expected_output/table_cls_step_2_start_1_special_3_anchor_filename.html -tests/html_linenos_expected_output/table_cls_step_2_start_1_special_3_anchor_nofilename.html -tests/html_linenos_expected_output/table_cls_step_2_start_1_special_3_noanchor_filename.html -tests/html_linenos_expected_output/table_cls_step_2_start_1_special_3_noanchor_nofilename.html -tests/html_linenos_expected_output/table_cls_step_2_start_8_special_0_anchor_filename.html -tests/html_linenos_expected_output/table_cls_step_2_start_8_special_0_anchor_nofilename.html -tests/html_linenos_expected_output/table_cls_step_2_start_8_special_0_noanchor_filename.html -tests/html_linenos_expected_output/table_cls_step_2_start_8_special_0_noanchor_nofilename.html -tests/html_linenos_expected_output/table_cls_step_2_start_8_special_3_anchor_filename.html -tests/html_linenos_expected_output/table_cls_step_2_start_8_special_3_anchor_nofilename.html -tests/html_linenos_expected_output/table_cls_step_2_start_8_special_3_noanchor_filename.html -tests/html_linenos_expected_output/table_cls_step_2_start_8_special_3_noanchor_nofilename.html -tests/html_linenos_expected_output/table_nocls_step_1_start_1_special_0_anchor_filename.html -tests/html_linenos_expected_output/table_nocls_step_1_start_1_special_0_anchor_nofilename.html -tests/html_linenos_expected_output/table_nocls_step_1_start_1_special_0_noanchor_filename.html -tests/html_linenos_expected_output/table_nocls_step_1_start_1_special_0_noanchor_nofilename.html -tests/html_linenos_expected_output/table_nocls_step_1_start_1_special_3_anchor_filename.html -tests/html_linenos_expected_output/table_nocls_step_1_start_1_special_3_anchor_nofilename.html -tests/html_linenos_expected_output/table_nocls_step_1_start_1_special_3_noanchor_filename.html -tests/html_linenos_expected_output/table_nocls_step_1_start_1_special_3_noanchor_nofilename.html -tests/html_linenos_expected_output/table_nocls_step_1_start_8_special_0_anchor_filename.html -tests/html_linenos_expected_output/table_nocls_step_1_start_8_special_0_anchor_nofilename.html -tests/html_linenos_expected_output/table_nocls_step_1_start_8_special_0_noanchor_filename.html -tests/html_linenos_expected_output/table_nocls_step_1_start_8_special_0_noanchor_nofilename.html -tests/html_linenos_expected_output/table_nocls_step_1_start_8_special_3_anchor_filename.html -tests/html_linenos_expected_output/table_nocls_step_1_start_8_special_3_anchor_nofilename.html -tests/html_linenos_expected_output/table_nocls_step_1_start_8_special_3_noanchor_filename.html -tests/html_linenos_expected_output/table_nocls_step_1_start_8_special_3_noanchor_nofilename.html -tests/html_linenos_expected_output/table_nocls_step_2_start_1_special_0_anchor_filename.html -tests/html_linenos_expected_output/table_nocls_step_2_start_1_special_0_anchor_nofilename.html -tests/html_linenos_expected_output/table_nocls_step_2_start_1_special_0_noanchor_filename.html -tests/html_linenos_expected_output/table_nocls_step_2_start_1_special_0_noanchor_nofilename.html -tests/html_linenos_expected_output/table_nocls_step_2_start_1_special_3_anchor_filename.html -tests/html_linenos_expected_output/table_nocls_step_2_start_1_special_3_anchor_nofilename.html -tests/html_linenos_expected_output/table_nocls_step_2_start_1_special_3_noanchor_filename.html -tests/html_linenos_expected_output/table_nocls_step_2_start_1_special_3_noanchor_nofilename.html -tests/html_linenos_expected_output/table_nocls_step_2_start_8_special_0_anchor_filename.html -tests/html_linenos_expected_output/table_nocls_step_2_start_8_special_0_anchor_nofilename.html -tests/html_linenos_expected_output/table_nocls_step_2_start_8_special_0_noanchor_filename.html -tests/html_linenos_expected_output/table_nocls_step_2_start_8_special_0_noanchor_nofilename.html -tests/html_linenos_expected_output/table_nocls_step_2_start_8_special_3_anchor_filename.html -tests/html_linenos_expected_output/table_nocls_step_2_start_8_special_3_anchor_nofilename.html -tests/html_linenos_expected_output/table_nocls_step_2_start_8_special_3_noanchor_filename.html -tests/html_linenos_expected_output/table_nocls_step_2_start_8_special_3_noanchor_nofilename.html -tests/snippets/conftest.py -tests/snippets/apacheconf/test_directive_no_args.txt -tests/snippets/apacheconf/test_fix_lock_absolute_path.txt -tests/snippets/apacheconf/test_include_globs.txt -tests/snippets/apacheconf/test_malformed_scoped_directive_closing_tag.txt -tests/snippets/apacheconf/test_multi_include_globs.txt -tests/snippets/apacheconf/test_multi_include_globs_root.txt -tests/snippets/apacheconf/test_multiline_argument.txt -tests/snippets/apacheconf/test_multiline_comment.txt -tests/snippets/apacheconf/test_normal_scoped_directive.txt -tests/snippets/apl/test_leading_underscore.txt -tests/snippets/asm/test_cpuid.txt -tests/snippets/bibtex/test_basic_bst.txt -tests/snippets/bibtex/test_comment.txt -tests/snippets/bibtex/test_entry.txt -tests/snippets/bibtex/test_mismatched_brace.txt -tests/snippets/bibtex/test_missing_body.txt -tests/snippets/bibtex/test_preamble.txt -tests/snippets/bibtex/test_string.txt -tests/snippets/c/test_comment_end.txt -tests/snippets/c/test_label.txt -tests/snippets/c/test_label_followed_by_statement.txt -tests/snippets/c/test_label_space_before_colon.txt -tests/snippets/c/test_numbers.txt -tests/snippets/c/test_preproc_file.txt -tests/snippets/c/test_preproc_file2.txt -tests/snippets/c/test_preproc_file3.txt -tests/snippets/c/test_preproc_file4.txt -tests/snippets/c/test_preproc_file5.txt -tests/snippets/c/test_switch.txt -tests/snippets/c/test_switch_space_before_colon.txt -tests/snippets/cfm/test_basic_comment.txt -tests/snippets/cfm/test_nested_comment.txt -tests/snippets/coffeescript/test_beware_infinite_loop.txt -tests/snippets/coffeescript/test_mixed_slashes.txt -tests/snippets/console/fake_ps2_prompt.txt -tests/snippets/console/prompt_in_output.txt -tests/snippets/console/ps2_prompt.txt -tests/snippets/console/test_comment_after_prompt.txt -tests/snippets/console/test_newline_in_echo_no_ps2.txt -tests/snippets/console/test_newline_in_echo_ps2.txt -tests/snippets/console/test_newline_in_ls_no_ps2.txt -tests/snippets/console/test_newline_in_ls_ps2.txt -tests/snippets/console/test_virtualenv.txt -tests/snippets/coq/test_unicode.txt -tests/snippets/cpp/test_good_comment.txt -tests/snippets/cpp/test_open_comment.txt -tests/snippets/cpp/test_unicode_identifiers.txt -tests/snippets/crystal/test_annotation.txt -tests/snippets/crystal/test_array_access.txt -tests/snippets/crystal/test_chars.txt -tests/snippets/crystal/test_constant_and_module.txt -tests/snippets/crystal/test_escaped_bracestring.txt -tests/snippets/crystal/test_escaped_interpolation.txt -tests/snippets/crystal/test_interpolation_nested_curly.txt -tests/snippets/crystal/test_lib.txt -tests/snippets/crystal/test_macro.txt -tests/snippets/crystal/test_operator_methods.txt -tests/snippets/crystal/test_percent_strings.txt -tests/snippets/crystal/test_percent_strings_special.txt -tests/snippets/crystal/test_pseudo_builtins.txt -tests/snippets/crystal/test_pseudo_keywords.txt -tests/snippets/crystal/test_range_syntax1.txt -tests/snippets/crystal/test_range_syntax2.txt -tests/snippets/csound/test_braced_strings.txt -tests/snippets/csound/test_comments.txt -tests/snippets/csound/test_escape_sequences.txt -tests/snippets/csound/test_function_like_macro_definitions.txt -tests/snippets/csound/test_function_like_macros.txt -tests/snippets/csound/test_global_value_identifiers.txt -tests/snippets/csound/test_goto_statements.txt -tests/snippets/csound/test_include_directives.txt -tests/snippets/csound/test_includestr_directives.txt -tests/snippets/csound/test_instrument_blocks.txt -tests/snippets/csound/test_keywords.txt -tests/snippets/csound/test_labels.txt -tests/snippets/csound/test_macro_preprocessor_directives.txt -tests/snippets/csound/test_name.txt -tests/snippets/csound/test_numbers.txt -tests/snippets/csound/test_object_like_macro_definitions.txt -tests/snippets/csound/test_operators.txt -tests/snippets/csound/test_other_preprocessor_directives.txt -tests/snippets/csound/test_printks_and_prints_escape_sequences.txt -tests/snippets/csound/test_quoted_strings.txt -tests/snippets/csound/test_user_defined_opcodes.txt -tests/snippets/doscon/test_gt_only.txt -tests/snippets/elpi/test_catastrophic_backtracking.txt -tests/snippets/elpi/test_chr.txt -tests/snippets/elpi/test_clause.txt -tests/snippets/elpi/test_namespace.txt -tests/snippets/elpi/test_pred.txt -tests/snippets/elpi/test_type.txt -tests/snippets/ezhil/test_function.txt -tests/snippets/ezhil/test_gcd_expr.txt -tests/snippets/ezhil/test_if_statement.txt -tests/snippets/ezhil/test_sum.txt -tests/snippets/gas/test_comments.txt -tests/snippets/gdscript/test_comment.txt -tests/snippets/gdscript/test_export_array.txt -tests/snippets/gdscript/test_function_with_types.txt -tests/snippets/gdscript/test_inner_class.txt -tests/snippets/gdscript/test_multiline_string.txt -tests/snippets/gdscript/test_signal.txt -tests/snippets/gdscript/test_simple_function.txt -tests/snippets/gdscript/test_variable_declaration_and_assigment.txt -tests/snippets/haskell/test_promoted_names.txt -tests/snippets/html/multiline-comment-catastrophic-backtracking.txt -tests/snippets/http/test_application_calendar_xml.txt -tests/snippets/http/test_application_xml.txt -tests/snippets/http/test_http_status_line.txt -tests/snippets/http/test_http_status_line_without_reason_phrase.txt -tests/snippets/http/test_http_status_line_without_reason_phrase_rfc_7230.txt -tests/snippets/idris/test_compiler_directive.txt -tests/snippets/idris/test_reserved_word.txt -tests/snippets/ini/test_indented_entries_1.txt -tests/snippets/ini/test_indented_entries_2.txt -tests/snippets/ini/test_indented_entries_3.txt -tests/snippets/j/test_deal_operator.txt -tests/snippets/j/test_deal_operator_fixed_seed.txt -tests/snippets/java/test_default.txt -tests/snippets/java/test_enhanced_for.txt -tests/snippets/java/test_numeric_literals.txt -tests/snippets/java/test_record.txt -tests/snippets/js/super.txt -tests/snippets/jslt/test_sample.txt -tests/snippets/json/test_basic.txt -tests/snippets/json/test_basic_bare.txt -tests/snippets/julia/test_keywords.txt -tests/snippets/julia/test_macros.txt -tests/snippets/julia/test_names.txt -tests/snippets/julia/test_numbers.txt -tests/snippets/julia/test_operators.txt -tests/snippets/julia/test_strings.txt -tests/snippets/julia/test_symbols.txt -tests/snippets/julia/test_types.txt -tests/snippets/julia/test_unicode.txt -tests/snippets/julia-repl/test_repl.txt -tests/snippets/kotlin/test_can_cope_generics_in_destructuring.txt -tests/snippets/kotlin/test_can_cope_with_backtick_names_in_functions.txt -tests/snippets/kotlin/test_can_cope_with_commas_and_dashes_in_backtick_Names.txt -tests/snippets/kotlin/test_can_cope_with_destructuring.txt -tests/snippets/kotlin/test_can_cope_with_generics.txt -tests/snippets/kotlin/test_modifier_keyword.txt -tests/snippets/kotlin/test_should_cope_with_multiline_comments.txt -tests/snippets/kotlin/test_string_interpolation.txt -tests/snippets/less/test_single_line_comments.txt -tests/snippets/mason/test_handles_tags_correctly.txt -tests/snippets/matlab/test_classes_with_properties.txt -tests/snippets/matlab/test_command_mode.txt -tests/snippets/matlab/test_comment_after_continuation.txt -tests/snippets/matlab/test_dot_operator.txt -tests/snippets/matlab/test_keywords_ended_by_newline.txt -tests/snippets/matlab/test_line_continuation.txt -tests/snippets/matlab/test_multiple_spaces_variable_assignment.txt -tests/snippets/matlab/test_one_space_assignment.txt -tests/snippets/matlab/test_operator_multiple_space.txt -tests/snippets/matlab/test_single_line.txt -tests/snippets/mcfunction/commenting.txt -tests/snippets/mcfunction/coordinates.txt -tests/snippets/mcfunction/data.txt -tests/snippets/mcfunction/difficult_1.txt -tests/snippets/mcfunction/multiline.txt -tests/snippets/mcfunction/selectors.txt -tests/snippets/mcfunction/simple.txt -tests/snippets/md/test_bold_fenced_by_asterisk.txt -tests/snippets/md/test_bold_fenced_by_underscore.txt -tests/snippets/md/test_bulleted_list_1.txt -tests/snippets/md/test_bulleted_list_2.txt -tests/snippets/md/test_bulleted_list_3.txt -tests/snippets/md/test_bulleted_list_4.txt -tests/snippets/md/test_code_block_fenced_by_backticks.txt -tests/snippets/md/test_code_block_with_language.txt -tests/snippets/md/test_escape_italics.txt -tests/snippets/md/test_inline_code.txt -tests/snippets/md/test_inline_code_after_block.txt -tests/snippets/md/test_inline_code_in_list.txt -tests/snippets/md/test_invalid_bold.txt -tests/snippets/md/test_invalid_italics.txt -tests/snippets/md/test_italics_and_bold.txt -tests/snippets/md/test_italics_fenced_by_asterisk.txt -tests/snippets/md/test_italics_fenced_by_underscore.txt -tests/snippets/md/test_italics_no_multiline.txt -tests/snippets/md/test_links.txt -tests/snippets/md/test_mentions.txt -tests/snippets/md/test_numbered_list.txt -tests/snippets/md/test_quote.txt -tests/snippets/md/test_reference_style_links.txt -tests/snippets/md/test_strikethrough.txt -tests/snippets/md/test_task_list.txt -tests/snippets/md/test_topics.txt -tests/snippets/nasm/checkid.txt -tests/snippets/objectivec/test_literal_number_bool.txt -tests/snippets/objectivec/test_literal_number_bool_expression.txt -tests/snippets/objectivec/test_literal_number_expression.txt -tests/snippets/objectivec/test_literal_number_int.txt -tests/snippets/objectivec/test_literal_number_nested_expression.txt -tests/snippets/objectivec/test_module_import.txt -tests/snippets/octave/test_multilinecomment.txt -tests/snippets/omg-idl/annotation_named_params.txt -tests/snippets/omg-idl/enumerators.txt -tests/snippets/peg/test_basic.txt -tests/snippets/peg/test_modified_strings.txt -tests/snippets/peg/test_operators.txt -tests/snippets/php/test_string_escaping_run.txt -tests/snippets/powershell/test_colon_punctuation.txt -tests/snippets/powershell/test_remoting_session.txt -tests/snippets/powershell/test_session.txt -tests/snippets/praat/test_broken_unquoted_string.txt -tests/snippets/praat/test_function_call.txt -tests/snippets/praat/test_inline_if.txt -tests/snippets/praat/test_interpolated_indexed_numeric_with_precision.txt -tests/snippets/praat/test_interpolated_local_numeric_with_precision.txt -tests/snippets/praat/test_interpolated_numeric_hash.txt -tests/snippets/praat/test_interpolated_numeric_indexed.txt -tests/snippets/praat/test_interpolated_numeric_with_precision.txt -tests/snippets/praat/test_interpolated_string_hash.txt -tests/snippets/praat/test_interpolated_string_indexed.txt -tests/snippets/praat/test_interpolation_boundary.txt -tests/snippets/praat/test_numeric_assignment.txt -tests/snippets/praat/test_string_assignment.txt -tests/snippets/praat/test_string_escaped_quotes.txt -tests/snippets/promql/test_complex_exp_single_quotes.txt -tests/snippets/promql/test_expression_and_comment.txt -tests/snippets/promql/test_function_delta.txt -tests/snippets/promql/test_function_multi_line.txt -tests/snippets/promql/test_function_multi_line_with_offset.txt -tests/snippets/promql/test_function_sum_with_args.txt -tests/snippets/promql/test_matching_operator_no_regex_match.txt -tests/snippets/promql/test_metric.txt -tests/snippets/promql/test_metric_multiple_labels.txt -tests/snippets/promql/test_metric_multiple_labels_with_spaces.txt -tests/snippets/promql/test_metric_one_label.txt -tests/snippets/properties/test_comments.txt -tests/snippets/properties/test_escaped_space_in_key.txt -tests/snippets/properties/test_escaped_space_in_value.txt -tests/snippets/properties/test_just_key.txt -tests/snippets/properties/test_just_key_with_space.txt -tests/snippets/properties/test_leading_whitespace_comments.txt -tests/snippets/properties/test_space_delimited_kv_pair.txt -tests/snippets/python/test_floats.txt -tests/snippets/python/test_fstring_01a.txt -tests/snippets/python/test_fstring_01b.txt -tests/snippets/python/test_fstring_02a.txt -tests/snippets/python/test_fstring_02b.txt -tests/snippets/python/test_fstring_03a.txt -tests/snippets/python/test_fstring_03b.txt -tests/snippets/python/test_fstring_04a.txt -tests/snippets/python/test_fstring_04b.txt -tests/snippets/python/test_fstring_05a.txt -tests/snippets/python/test_fstring_05b.txt -tests/snippets/python/test_fstring_06a.txt -tests/snippets/python/test_fstring_06b.txt -tests/snippets/python/test_fstring_07a.txt -tests/snippets/python/test_fstring_07b.txt -tests/snippets/python/test_fstring_08a.txt -tests/snippets/python/test_fstring_08b.txt -tests/snippets/python/test_fstring_09a.txt -tests/snippets/python/test_fstring_09b.txt -tests/snippets/python/test_fstring_10a.txt -tests/snippets/python/test_fstring_10b.txt -tests/snippets/python/test_fstring_11a.txt -tests/snippets/python/test_fstring_11b.txt -tests/snippets/python/test_fstring_12a.txt -tests/snippets/python/test_fstring_12b.txt -tests/snippets/python/test_fstring_13a.txt -tests/snippets/python/test_fstring_13b.txt -tests/snippets/python/test_fstring_14a.txt -tests/snippets/python/test_fstring_14b.txt -tests/snippets/python/test_fstring_15a.txt -tests/snippets/python/test_fstring_15b.txt -tests/snippets/python/test_fstring_16a.txt -tests/snippets/python/test_fstring_16b.txt -tests/snippets/python/test_fstring_17a.txt -tests/snippets/python/test_fstring_17b.txt -tests/snippets/python/test_fstring_18a.txt -tests/snippets/python/test_fstring_18b.txt -tests/snippets/python/test_fstring_19a.txt -tests/snippets/python/test_fstring_19b.txt -tests/snippets/python/test_fstring_20a.txt -tests/snippets/python/test_fstring_20b.txt -tests/snippets/python/test_fstring_21a.txt -tests/snippets/python/test_fstring_21b.txt -tests/snippets/python/test_fstring_22a.txt -tests/snippets/python/test_fstring_22b.txt -tests/snippets/python/test_fstring_23a.txt -tests/snippets/python/test_fstring_23b.txt -tests/snippets/python/test_fstring_24a.txt -tests/snippets/python/test_fstring_24b.txt -tests/snippets/python/test_fstring_25a.txt -tests/snippets/python/test_fstring_25b.txt -tests/snippets/python/test_fstring_26a.txt -tests/snippets/python/test_fstring_26b.txt -tests/snippets/python/test_fstring_27a.txt -tests/snippets/python/test_fstring_27b.txt -tests/snippets/python/test_fstring_28a.txt -tests/snippets/python/test_fstring_28b.txt -tests/snippets/python/test_fstring_29a.txt -tests/snippets/python/test_fstring_29b.txt -tests/snippets/python/test_fstring_30a.txt -tests/snippets/python/test_fstring_30b.txt -tests/snippets/python/test_fstring_31a.txt -tests/snippets/python/test_fstring_31b.txt -tests/snippets/python/test_fstring_32a.txt -tests/snippets/python/test_fstring_32b.txt -tests/snippets/python/test_fstring_33a.txt -tests/snippets/python/test_fstring_33b.txt -tests/snippets/python/test_fstring_34a.txt -tests/snippets/python/test_fstring_34b.txt -tests/snippets/python/test_fstring_35a.txt -tests/snippets/python/test_fstring_35b.txt -tests/snippets/python/test_fstring_36a.txt -tests/snippets/python/test_fstring_36b.txt -tests/snippets/python/test_needs_name.txt -tests/snippets/python/test_pep_515.txt -tests/snippets/python/test_raw_fstring.txt -tests/snippets/python/test_walrus_operator.txt -tests/snippets/python2/test_cls_builtin.txt -tests/snippets/qbasic/test_keywords_with_dollar.txt -tests/snippets/r/test_call.txt -tests/snippets/r/test_custom_operator.txt -tests/snippets/r/test_dot_indexing.txt -tests/snippets/r/test_dot_name.txt -tests/snippets/r/test_indexing.txt -tests/snippets/r/test_name1.txt -tests/snippets/r/test_name2.txt -tests/snippets/r/test_name3.txt -tests/snippets/ruby/test_escaped_bracestring.txt -tests/snippets/ruby/test_interpolation_nested_curly.txt -tests/snippets/ruby/test_operator_methods.txt -tests/snippets/ruby/test_range_syntax1.txt -tests/snippets/ruby/test_range_syntax2.txt -tests/snippets/ruby/test_range_syntax3.txt -tests/snippets/rust/test_attribute.txt -tests/snippets/rust/test_break.txt -tests/snippets/rust/test_rawstrings.txt -tests/snippets/scala/test_colon_colon_function_name.txt -tests/snippets/scala/test_default_parameter.txt -tests/snippets/scala/test_end_val.txt -tests/snippets/scala/test_end_valx.txt -tests/snippets/scala/test_float_with_exponents.txt -tests/snippets/scala/test_function_operator_name.txt -tests/snippets/scala/test_import_path.txt -tests/snippets/scala/test_invalid_symbol_and_invalid_char.txt -tests/snippets/scala/test_open_soft_keyword.txt -tests/snippets/scala/test_package_name.txt -tests/snippets/scala/test_prepend_operator.txt -tests/snippets/scala/test_qualified_name.txt -tests/snippets/scala/test_qualified_name_class.txt -tests/snippets/scala/test_script_header.txt -tests/snippets/scala/test_symbol_followed_by_op.txt -tests/snippets/scala/test_symbol_name_ending_with_star.txt -tests/snippets/scala/test_underscore_name.txt -tests/snippets/scheme/keywords.txt -tests/snippets/scheme/numbers.txt -tests/snippets/scheme/strings.txt -tests/snippets/shell/test_array_nums.txt -tests/snippets/shell/test_curly_no_escape_and_quotes.txt -tests/snippets/shell/test_curly_with_escape.txt -tests/snippets/shell/test_end_of_line_nums.txt -tests/snippets/shell/test_parsed_single.txt -tests/snippets/shell/test_short_variable_names.txt -tests/snippets/shexc/test_prefixed_name_starting_with_number.txt -tests/snippets/smarty/test_nested_curly.txt -tests/snippets/snbt/json.txt -tests/snippets/snbt/literals.txt -tests/snippets/snbt/multiline.txt -tests/snippets/snbt/nesting.txt -tests/snippets/snbt/quoted_keys.txt -tests/snippets/systemverilog/test_basic.txt -tests/snippets/systemverilog/test_classes.txt -tests/snippets/systemverilog/test_numbers.txt -tests/snippets/systemverilog/test_operators.txt -tests/snippets/tcl/test_comma_and_at.txt -tests/snippets/teal/test_comments.txt -tests/snippets/teal/test_literals.txt -tests/snippets/teal/test_strings.txt -tests/snippets/terraform/test_attributes.txt -tests/snippets/terraform/test_backend.txt -tests/snippets/terraform/test_comment.txt -tests/snippets/terraform/test_functions.txt -tests/snippets/terraform/test_heredoc.txt -tests/snippets/terraform/test_module.txt -tests/snippets/terraform/test_resource.txt -tests/snippets/terraform/test_types.txt -tests/snippets/terraform/test_variable_declaration.txt -tests/snippets/terraform/test_variable_read.txt -tests/snippets/turtle/test_prefixed_name_starting_with_number.txt -tests/snippets/typescript/test_function_definition.txt -tests/snippets/unixconfig/etc_group.txt -tests/snippets/unixconfig/etc_passwd.txt -tests/snippets/unixconfig/etc_shadow.txt -tests/snippets/usd/test_attribute.txt -tests/snippets/usd/test_composition_arcs.txt -tests/snippets/usd/test_metadata.txt -tests/snippets/usd/test_numbers.txt -tests/snippets/usd/test_outer_match_at_sign.txt -tests/snippets/usd/test_outer_match_double.txt -tests/snippets/usd/test_outer_match_single.txt -tests/snippets/usd/test_string_multiple_line.txt -tests/snippets/usd/test_string_priority.txt -tests/snippets/usd/test_string_single_line.txt -tests/snippets/vbscript/test_floats.txt -tests/snippets/vbscript/test_floats_multiple.txt -tests/snippets/vbscript/test_integers.txt -tests/snippets/vbscript/test_invalid_character.txt -tests/snippets/vbscript/test_names.txt -tests/snippets/vbscript/test_reject_almost_float.txt -tests/snippets/vbscript/test_unterminated_string.txt -tests/snippets/wat/test_align_and_offset_accept_hexadecimal_numbers.txt -tests/snippets/wat/test_comment_with_open_paren.txt -tests/snippets/wat/test_comment_with_semicolon.txt -tests/snippets/wat/test_i32_const_is_builtin.txt -tests/snippets/wat/test_multiline_comment.txt -tests/snippets/wat/test_nested_comment.txt -tests/snippets/wat/test_string_byte_escape.txt -tests/snippets/wat/test_string_with_escape.txt -tests/snippets/wat/test_variable_name_pattern.txt -tests/snippets/whiley/test_whiley_operator.txt -tests/snippets/xml/multiline-comment-catastrophic-backtracking.txt -tests/snippets/yaml/test_yaml.txt -tests/snippets/yang/test_float_value.txt -tests/snippets/yang/test_integer_value.txt -tests/snippets/yang/test_namespace_1.txt -tests/snippets/yang/test_namespace_2.txt -tests/snippets/yang/test_revision_date.txt -tests/snippets/yang/test_string_value.txt -tests/support/empty.py -tests/support/html_formatter.py -tests/support/python_lexer.py -tests/support/structural_diff.py -tests/support/tags \ No newline at end of file diff --git a/Pygments.egg-info/dependency_links.txt b/Pygments.egg-info/dependency_links.txt deleted file mode 100644 index 8b13789..0000000 --- a/Pygments.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/Pygments.egg-info/entry_points.txt b/Pygments.egg-info/entry_points.txt deleted file mode 100644 index 15498e3..0000000 --- a/Pygments.egg-info/entry_points.txt +++ /dev/null @@ -1,2 +0,0 @@ -[console_scripts] -pygmentize = pygments.cmdline:main diff --git a/Pygments.egg-info/not-zip-safe b/Pygments.egg-info/not-zip-safe deleted file mode 100644 index 8b13789..0000000 --- a/Pygments.egg-info/not-zip-safe +++ /dev/null @@ -1 +0,0 @@ - diff --git a/Pygments.egg-info/top_level.txt b/Pygments.egg-info/top_level.txt deleted file mode 100644 index a9f49e0..0000000 --- a/Pygments.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -pygments diff --git a/README.rst b/README.rst index 9974cbb..a581491 100644 --- a/README.rst +++ b/README.rst @@ -9,15 +9,29 @@ Installing ---------- ... works as usual, use ``pip install Pygments`` to get published versions, -or ``python setup.py install`` to install from a checkout. +or ``pip install -e .`` to install from a checkout in editable mode. Documentation ------------- ... can be found online at https://pygments.org/ or created with Sphinx by :: - cd doc - make html + tox -e doc + +By default, the documentation does not include the demo page, as it requires +having Docker installed for building Pyodide. To build the documentation with +the demo page, use :: + + tox -e web-doc + +The initial build might take some time, but subsequent ones should be instant +because of Docker caching. + +To view the generated documentation, serve it using Python's ``http.server`` +module (this step is required for the demo to work) :: + + python3 -m http.server --directory doc/_build/html + Development ----------- @@ -30,15 +44,44 @@ Continuous testing runs on GitHub workflows: .. image:: https://github.com/pygments/pygments/workflows/Pygments/badge.svg :target: https://github.com/pygments/pygments/actions?query=workflow%3APygments -Contribution guidelines are found in Contributing.md_. +Please read our `Contributing instructions `_. + +Security considerations +----------------------- + +Pygments provides no guarantees on execution time, which needs to be taken +into consideration when using Pygments to process arbitrary user inputs. For +example, if you have a web service which uses Pygments for highlighting, there +may be inputs which will cause the Pygments process to run "forever" and/or use +significant amounts of memory. This can subsequently be used to perform a +remote denial-of-service attack on the server if the processes are not +terminated quickly. + +Unfortunately, it's practically impossible to harden Pygments itself against +those issues: Some regular expressions can result in "catastrophic +backtracking", but other bugs like incorrect matchers can also +cause similar problems, and there is no way to find them in an automated fashion +(short of solving the halting problem.) Pygments has extensive unit tests, +automated randomized testing, and is also tested by `OSS-Fuzz `_, +but we will never be able to eliminate all bugs in this area. + +Our recommendations are: + +* Ensure that the Pygments process is *terminated* after a reasonably short + timeout. In general Pygments should take seconds at most for reasonably-sized + input. +* *Limit* the number of concurrent Pygments processes to avoid oversubscription + of resources. -.. _Contributing.md: https://github.com/pygments/pygments/blob/master/Contributing.md +The Pygments authors will treat any bug resulting in long processing times with +high priority -- it's one of those things that will be fixed in a patch release. +When reporting a bug where you suspect super-linear execution times, please make +sure to attach an input to reproduce it. The authors ----------- -Pygments is maintained by **Georg Brandl**, e-mail address *georg*\ *@*\ *python.org* -and **Matthäus Chajdas**. +Pygments is maintained by **Georg Brandl**, e-mail address *georg*\ *@*\ *python.org*, **Matthäus Chajdas** and **Jean Abou-Samra**. Many lexers and fixes have been contributed by **Armin Ronacher**, the rest of the `Pocoo `_ team and **Tim Hatch**. diff --git a/description.rst b/description.rst new file mode 100644 index 0000000..20a6c9c --- /dev/null +++ b/description.rst @@ -0,0 +1,18 @@ +Pygments +~~~~~~~~ + +Pygments is a syntax highlighting package written in Python. + +It is a generic syntax highlighter suitable for use in code hosting, forums, +wikis or other applications that need to prettify source code. Highlights +are: + +* a wide range of over 500 languages and other text formats is supported +* special attention is paid to details, increasing quality by a fair amount +* support for new languages and formats are added easily +* a number of output formats, presently HTML, LaTeX, RTF, SVG, all image + formats that PIL supports and ANSI sequences +* it is usable as a command-line tool and as a library + +Copyright 2006-2023 by the Pygments team, see ``AUTHORS``. +Licensed under the BSD, see ``LICENSE`` for details. diff --git a/doc/_static/demo-worker.js b/doc/_static/demo-worker.js index af8b009..22b8b3d 100644 --- a/doc/_static/demo-worker.js +++ b/doc/_static/demo-worker.js @@ -1,21 +1,23 @@ -self.languagePluginUrl = '/_static/pyodide/'; importScripts('/_static/pyodide/pyodide.js'); -(async function() { - await languagePluginLoader; +async function loadPyodideAndPygments() { + self.pyodide = await loadPyodide(); await self.pyodide.loadPackage(["Pygments"]); const styles = self.pyodide.runPython(` from pygments.formatters.html import HtmlFormatter from pygments.styles import STYLE_MAP {s: HtmlFormatter(style=s).get_style_defs('.demo-highlight') for s in STYLE_MAP} - `); + `).toJs(); self.postMessage({loaded: {styles}}) -})(); +} +let pyodideReadyPromise = loadPyodideAndPygments(); self.onmessage = async (event) => { + // Make sure loading is done. + await pyodideReadyPromise; if (event.data.highlight) { - self.pyodide.globals['code'] = event.data.highlight.code; - self.pyodide.globals['lexer_name'] = event.data.highlight.lexer; + self.pyodide.globals.set('code', event.data.highlight.code); + self.pyodide.globals.set('lexer_name', event.data.highlight.lexer); self.pyodide.runPython(` import pygments.lexers @@ -40,14 +42,14 @@ self.onmessage = async (event) => { `); self.postMessage({html}); } else if (formatter == 'tokens') { - const tokens = self.pyodide.runPython('list(tokens)'); + const tokens = self.pyodide.runPython('list(tokens)').toJs(); self.postMessage({tokens}); } else { console.warn('unknown formatter:', formatter); } } else if (event.data.guess_lexer) { - self.pyodide.globals['code'] = event.data.guess_lexer.code; - self.pyodide.globals['filename'] = event.data.guess_lexer.filename; + self.pyodide.globals.set('code', event.data.guess_lexer.code); + self.pyodide.globals.set('filename', event.data.guess_lexer.filename); const lexer = self.pyodide.runPython(` import sys sys.setrecursionlimit(1000) diff --git a/doc/_static/demo.css b/doc/_static/demo.css index e14379a..eaa4410 100644 --- a/doc/_static/demo.css +++ b/doc/_static/demo.css @@ -17,6 +17,7 @@ padding: 2px; width: 100%; min-height: 150px; + resize: vertical; } #hlcode { diff --git a/doc/_static/demo.js b/doc/_static/demo.js index 488ded0..b193d10 100644 --- a/doc/_static/demo.js +++ b/doc/_static/demo.js @@ -29,7 +29,10 @@ if (qvars.formatter !== undefined) { } styleSelect.addEventListener('change', () => { - style.textContent = styles[styleSelect.value]; + if (!styles) + // Worker has not loaded yet. + return; + style.textContent = styles.get(styleSelect.value); updateCopyLink(); updateContrastWarning(); }); @@ -89,7 +92,7 @@ highlightWorker.onmessage = (msg) => { outputDiv.innerHTML = msg.data.html; codeHeader.hidden = false; loadingDiv.hidden = true; - style.textContent = styles[styleSelect.value]; + style.textContent = styles.get(styleSelect.value); } else if (msg.data.tokens) { const table = document.createElement('table'); table.className = 'tokens'; diff --git a/doc/_templates/languages.html b/doc/_templates/languages.html deleted file mode 100644 index e046a90..0000000 --- a/doc/_templates/languages.html +++ /dev/null @@ -1,31 +0,0 @@ -{% extends "layout.html" %} - -{% block htmltitle %}Languages {{ titlesuffix }}{% endblock %} - -{% block body %} - -

Languages

- -
    -{% for language in languages %} -
  • - {% if language.url %} - {{language.name}} - {% else %} - {{language.name}} - {% endif %} -
  • -{% endfor %} -
-{{ body }} - -

... that's all?

- -Well, why not write your own? Contributing to Pygments is easy and fun. Take a -look at the docs on lexer development. Pull -requests are welcome on GitHub. - -Note: the languages listed here are supported in the development version. The -latest release may lack a few of them. - -{% endblock %} diff --git a/doc/_themes/pygments14/layout.html b/doc/_themes/pygments14/layout.html index 34e86ef..3762510 100644 --- a/doc/_themes/pygments14/layout.html +++ b/doc/_themes/pygments14/layout.html @@ -85,8 +85,8 @@ {% block footer %} {# closes "flexwrapper" div #}