From: TizenOpenSource Date: Wed, 7 Feb 2024 06:55:42 +0000 (+0900) Subject: Imported Upstream version 2.17.2 X-Git-Tag: upstream/2.17.2^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4bb14d44e3448f730b7ed6f18ee9043e9dd5f59;p=platform%2Fupstream%2Fpython3-pygments.git Imported Upstream version 2.17.2 --- 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 #}