From 59b91c97572cc2b5d7ddf9d81f6c686e68e0b582 Mon Sep 17 00:00:00 2001 From: JinWang An Date: Tue, 5 Jan 2021 12:14:55 +0900 Subject: [PATCH] Imported Upstream version 1.5 --- AUTHORS | 31 +- CHANGES | 88 +- LICENSE | 2 +- Makefile | 2 +- PKG-INFO | 6 +- Pygments.egg-info/PKG-INFO | 6 +- Pygments.egg-info/SOURCES.txt | 48 + TODO | 2 - docs/build/api.html | 2 +- docs/build/authors.html | 33 +- docs/build/changelog.html | 70 +- docs/build/cmdline.html | 2 +- docs/build/filterdevelopment.html | 2 +- docs/build/filters.html | 2 +- docs/build/formatterdevelopment.html | 2 +- docs/build/formatters.html | 2 +- docs/build/index.html | 2 +- docs/build/installation.html | 2 +- docs/build/integrate.html | 2 +- docs/build/lexerdevelopment.html | 4 +- docs/build/lexers.html | 1014 +++++- docs/build/moinmoin.html | 2 +- docs/build/plugins.html | 4 +- docs/build/quickstart.html | 2 +- docs/build/rstdirective.html | 2 +- docs/build/styles.html | 4 +- docs/build/tokens.html | 4 +- docs/build/unicode.html | 2 +- docs/generate.py | 4 +- docs/src/lexerdevelopment.txt | 2 +- docs/src/plugins.txt | 3 +- docs/src/styles.txt | 2 +- docs/src/tokens.txt | 2 +- external/markdown-processor.py | 2 +- external/moin-parser.py | 2 +- external/rst-directive-old.py | 2 +- external/rst-directive.py | 2 +- pygments/__init__.py | 4 +- pygments/cmdline.py | 7 +- pygments/console.py | 2 +- pygments/filter.py | 2 +- pygments/filters/__init__.py | 2 +- pygments/formatter.py | 2 +- pygments/formatters/__init__.py | 2 +- pygments/formatters/_mapping.py | 4 +- pygments/formatters/bbcode.py | 2 +- pygments/formatters/html.py | 4 +- pygments/formatters/img.py | 2 +- pygments/formatters/latex.py | 17 +- pygments/formatters/other.py | 2 +- pygments/formatters/rtf.py | 2 +- pygments/formatters/svg.py | 2 +- pygments/formatters/terminal.py | 7 +- pygments/formatters/terminal256.py | 7 +- pygments/lexer.py | 39 +- pygments/lexers/__init__.py | 25 +- pygments/lexers/_asybuiltins.py | 2 +- pygments/lexers/_clbuiltins.py | 2 +- pygments/lexers/_luabuiltins.py | 2 +- pygments/lexers/_mapping.py | 89 +- pygments/lexers/_phpbuiltins.py | 3882 ++++++++++++---------- pygments/lexers/_postgres_builtins.py | 231 ++ pygments/lexers/_scilab_builtins.py | 29 + pygments/lexers/_vimbuiltins.py | 6 +- pygments/lexers/agile.py | 642 ++-- pygments/lexers/asm.py | 22 +- pygments/lexers/compiled.py | 847 +++-- pygments/lexers/dotnet.py | 297 +- pygments/lexers/functional.py | 1075 +++++- pygments/lexers/hdl.py | 267 +- pygments/lexers/jvm.py | 847 +++++ pygments/lexers/math.py | 476 ++- pygments/lexers/other.py | 1861 +++++++---- pygments/lexers/parsers.py | 8 +- pygments/lexers/shell.py | 361 ++ pygments/lexers/special.py | 2 +- pygments/lexers/sql.py | 565 ++++ pygments/lexers/templates.py | 91 +- pygments/lexers/text.py | 397 ++- pygments/lexers/web.py | 494 ++- pygments/plugin.py | 2 +- pygments/scanner.py | 2 +- pygments/style.py | 2 +- pygments/styles/__init__.py | 3 +- pygments/styles/autumn.py | 2 +- pygments/styles/borland.py | 2 +- pygments/styles/bw.py | 2 +- pygments/styles/colorful.py | 2 +- pygments/styles/default.py | 2 +- pygments/styles/emacs.py | 2 +- pygments/styles/friendly.py | 2 +- pygments/styles/fruity.py | 3 +- pygments/styles/manni.py | 2 +- pygments/styles/monokai.py | 2 +- pygments/styles/murphy.py | 2 +- pygments/styles/native.py | 2 +- pygments/styles/pastie.py | 2 +- pygments/styles/perldoc.py | 2 +- pygments/styles/rrt.py | 33 + pygments/styles/tango.py | 2 +- pygments/styles/trac.py | 2 +- pygments/styles/vim.py | 2 +- pygments/styles/vs.py | 2 +- pygments/token.py | 2 +- pygments/unistring.py | 2 +- pygments/util.py | 4 +- scripts/check_sources.py | 4 +- scripts/find_codetags.py | 2 +- scripts/find_error.py | 26 +- scripts/get_vimkw.py | 13 +- setup.py | 4 +- tests/examplefiles/antlr_throws | 1 + tests/examplefiles/as3_test.as | 4 +- tests/examplefiles/classes.dylan | 16 + tests/examplefiles/coq_RelationClasses | 447 +++ tests/examplefiles/example.cls | 15 + tests/examplefiles/example.gs | 106 + tests/examplefiles/example.gst | 7 + tests/examplefiles/example.kt | 47 + tests/examplefiles/example.moon | 629 ++++ tests/examplefiles/example.nim | 1010 ++++++ tests/examplefiles/example.p | 34 + tests/examplefiles/example.sh-session | 2 + tests/examplefiles/example.sml | 156 + tests/examplefiles/example.snobol | 15 + tests/examplefiles/example.tea | 34 + tests/examplefiles/example.u | 548 +++ tests/examplefiles/example_elixir.ex | 363 ++ tests/examplefiles/example_file.fy | 128 + tests/examplefiles/foo.sce | 6 + tests/examplefiles/function.mu | 1 + tests/examplefiles/http_request_example | 14 + tests/examplefiles/http_response_example | 27 + tests/examplefiles/intsyn.fun | 675 ++++ tests/examplefiles/intsyn.sig | 286 ++ tests/examplefiles/irc.lsp | 214 ++ tests/examplefiles/markdown.lsp | 679 ++++ tests/examplefiles/nemerle_sample.n | 87 + tests/examplefiles/objc_example.m | 14 + tests/examplefiles/postgresql_test.txt | 47 + tests/examplefiles/psql_session.txt | 122 + tests/examplefiles/reversi.lsp | 427 +++ tests/examplefiles/scilab.sci | 30 + tests/examplefiles/squid.conf | 55 +- tests/examplefiles/test.awk | 121 + tests/examplefiles/test.bro | 250 ++ tests/examplefiles/test.cs | 23 + tests/examplefiles/test.dart | 23 + tests/examplefiles/test.dtd | 89 + tests/examplefiles/test.ec | 605 ++++ tests/examplefiles/test.ecl | 58 + tests/examplefiles/test.eh | 315 ++ tests/examplefiles/test.fan | 818 +++++ tests/examplefiles/test.groovy | 97 + tests/examplefiles/test.nim | 93 + tests/examplefiles/test.ps1 | 108 + tests/examplefiles/test.pypylog | 1839 ++++++++++ tests/examplefiles/test.rb | 3 + tests/examplefiles/test.vhdl | 161 + tests/old_run.py | 2 +- tests/run.py | 2 +- tests/test_basic_api.py | 19 +- tests/test_clexer.py | 2 +- tests/test_cmdline.py | 2 +- tests/test_examplefiles.py | 9 +- tests/test_html_formatter.py | 34 +- tests/test_latex_formatter.py | 2 +- tests/test_perllexer.py | 137 + tests/test_regexlexer.py | 2 +- tests/test_token.py | 2 +- tests/test_using_api.py | 2 +- tests/test_util.py | 40 +- 172 files changed, 21489 insertions(+), 3745 deletions(-) mode change 100644 => 100755 docs/generate.py create mode 100644 pygments/lexers/_postgres_builtins.py create mode 100644 pygments/lexers/_scilab_builtins.py create mode 100644 pygments/lexers/jvm.py create mode 100644 pygments/lexers/shell.py create mode 100644 pygments/lexers/sql.py create mode 100644 pygments/styles/rrt.py create mode 100644 tests/examplefiles/antlr_throws create mode 100644 tests/examplefiles/coq_RelationClasses create mode 100644 tests/examplefiles/example.cls create mode 100644 tests/examplefiles/example.gs create mode 100644 tests/examplefiles/example.gst create mode 100644 tests/examplefiles/example.kt create mode 100644 tests/examplefiles/example.moon create mode 100644 tests/examplefiles/example.nim create mode 100644 tests/examplefiles/example.p create mode 100644 tests/examplefiles/example.sml create mode 100644 tests/examplefiles/example.snobol create mode 100644 tests/examplefiles/example.tea create mode 100644 tests/examplefiles/example.u create mode 100644 tests/examplefiles/example_elixir.ex create mode 100644 tests/examplefiles/example_file.fy create mode 100644 tests/examplefiles/foo.sce create mode 100644 tests/examplefiles/function.mu create mode 100644 tests/examplefiles/http_request_example create mode 100644 tests/examplefiles/http_response_example create mode 100644 tests/examplefiles/intsyn.fun create mode 100644 tests/examplefiles/intsyn.sig create mode 100755 tests/examplefiles/irc.lsp create mode 100755 tests/examplefiles/markdown.lsp create mode 100644 tests/examplefiles/nemerle_sample.n create mode 100644 tests/examplefiles/postgresql_test.txt create mode 100644 tests/examplefiles/psql_session.txt create mode 100644 tests/examplefiles/reversi.lsp create mode 100644 tests/examplefiles/scilab.sci create mode 100644 tests/examplefiles/test.awk create mode 100644 tests/examplefiles/test.bro create mode 100644 tests/examplefiles/test.dart create mode 100644 tests/examplefiles/test.dtd create mode 100644 tests/examplefiles/test.ec create mode 100644 tests/examplefiles/test.ecl create mode 100644 tests/examplefiles/test.eh create mode 100755 tests/examplefiles/test.fan create mode 100644 tests/examplefiles/test.groovy create mode 100644 tests/examplefiles/test.nim create mode 100644 tests/examplefiles/test.ps1 create mode 100644 tests/examplefiles/test.pypylog create mode 100644 tests/examplefiles/test.vhdl create mode 100644 tests/test_perllexer.py diff --git a/AUTHORS b/AUTHORS index 07235bd..83bbee5 100644 --- a/AUTHORS +++ b/AUTHORS @@ -16,42 +16,60 @@ Other contributors, listed alphabetically, are: * Paul Baumgart, 280 North, Inc. -- Objective-J lexer * Michael Bayer -- Myghty lexers * John Benediktsson -- Factor lexer +* Christopher Bertels -- Fancy lexer * Jarrett Billingsley -- MiniD lexer * Adam Blinkinsop -- Haskell, Redcode lexers * Frits van Bommel -- assembler lexers * Pierre Bourdon -- bugfixes * Hiram Chirino -- Scaml and Jade lexers +* Leaf Corcoran -- MoonScript lexer * Christopher Creutzig -- MuPAD lexer * Pete Curry -- bugfixes * Owen Durni -- haXe lexer * Nick Efford -- Python 3 lexer * Artem Egorkine -- terminal256 formatter * James H. Fisher -- PostScript lexer -* Naveen Garg - Autohotkey lexer +* Carlos Galdino -- Elixir and Elixir Console lexers +* Naveen Garg -- Autohotkey lexer * Laurent Gautier -- R/S lexer +* Alex Gaynor -- PyPy log lexer +* Bertrand Goetzmann -- Groovy lexer * Krzysiek Goj -- Scala lexer * Matt Good -- Genshi, Cheetah lexers * Patrick Gotthardt -- PHP namespaces support * Olivier Guibe -- Asymptote lexer +* Martin Harriman -- SNOBOL lexer * Matthew Harrison -- SVG formatter * Steven Hazel -- Tcl lexer * Aslak Hellesøy -- Gherkin lexer +* Jordi Gutiérrez Hermoso -- Octave lexer * David Hess, Fish Software, Inc. -- Objective-J lexer * Varun Hiremath -- Debian control lexer * Ben Hollis -- Mason lexer * Tim Howard -- BlitzMax lexer +* Ivan Inozemtsev -- Fantom lexer +* Brian R. Jackson -- Tea lexer * Dennis Kaarsemaker -- sources.list lexer +* Igor Kalnitsky -- vhdl lexer +* Adam Koprowski -- Opa lexer * Benjamin Kowarsch -- Modula-2 lexer * Marek Kubica -- Scheme lexer * Jochen Kupperschmidt -- Markdown processor * Gerd Kurzbach -- Modelica lexer +* Olov Lassus -- Dart lexer +* Sylvestre Ledru -- Scilab lexer * Mark Lee -- Vala lexer * Ben Mabey -- Gherkin lexer * Simone Margaritelli -- Hybris lexer * Kirk McDonald -- D lexer +* Gordon McGregor -- SystemVerilog lexer * Stephen McKamey -- Duel/JBST lexer +* Brian McKenna -- F# lexer * Lukas Meuser -- BBCode formatter, Lua lexer +* Hong Minhee -- HTTP lexer +* Michael Mior -- Awk lexer * Paulo Moura -- Logtalk lexer +* Mher Movsisyan -- DTD lexer * Ana Nelson -- Ragel, ANTLR, R console lexers * Nam T. Nguyen -- Monokai style * Jesper Noehr -- HTML formatter "anchorlinenos" @@ -60,7 +78,10 @@ Other contributors, listed alphabetically, are: * Jon Parise -- Protocol buffers lexer * Ronny Pfannschmidt -- BBCode lexer * Benjamin Peterson -- Test suite refactoring +* Dominik Picheta -- Nimrod lexer +* Clément Prévost -- UrbiScript lexer * Justin Reidy -- MXML lexer +* Norman Richards -- JSON lexer * Lubomir Rintel -- GoodData MAQL and CL lexers * Andre Roberge -- Tango style * Konrad Rudolph -- LaTeX formatter enhancements @@ -71,15 +92,23 @@ Other contributors, listed alphabetically, are: * Ken Schutte -- Matlab lexers * Tassilo Schweyer -- Io, MOOCode lexers * Joerg Sieker -- ABAP lexer +* Robert Simmons -- Standard ML lexer * Kirill Simonov -- YAML lexer * Steve Spigarelli -- XQuery lexer +* Jerome St-Louis -- eC lexer +* James Strachan -- Kotlin lexer * Tiberius Teng -- default style overhaul * Jeremy Thurgood -- Erlang, Squid config lexers * Erick Tryzelaar -- Felix lexer +* Daniele Varrazzo -- PostgreSQL lexers +* Abe Voelker -- OpenEdge ABL lexer * Whitney Young -- ObjectiveC lexer +* Matthias Vallentin -- Bro lexer * Nathan Weizenbaum -- Haml and Sass lexers * Dietmar Winkler -- Modelica lexer * Nils Winter -- Smalltalk lexer * Davy Wybiral -- Clojure lexer +* Diego Zamboni -- CFengine3 lexer +* Alex Zimin -- Nemerle lexer Many thanks for all contributions! diff --git a/CHANGES b/CHANGES index 60090be..56778f8 100644 --- a/CHANGES +++ b/CHANGES @@ -4,9 +4,91 @@ Pygments changelog Issue numbers refer to the tracker at http://bitbucket.org/birkenfeld/pygments-main/issues. +Version 1.5 +----------- +(codename Zeitdilatation, released Mar 10, 2012) + +- Lexers added: + + * Awk (#630) + * Fancy (#633) + * PyPy Log + * eC + * Nimrod + * Nemerle (#667) + * F# (#353) + * Groovy (#501) + * PostgreSQL (#660) + * DTD + * Gosu (#634) + * Octave (PR#22) + * Standard ML (PR#14) + * CFengine3 (#601) + * Opa (PR#37) + * HTTP sessions (PR#42) + * JSON (PR#31) + * SNOBOL (PR#30) + * MoonScript (PR#43) + * ECL (PR#29) + * Urbiscript (PR#17) + * OpenEdge ABL (PR#27) + * SystemVerilog (PR#35) + * Coq (#734) + * PowerShell (#654) + * Dart (#715) + * Fantom (PR#36) + * Bro (PR#5) + * NewLISP (PR#26) + * VHDL (PR#45) + * Scilab (#740) + * Elixir (PR#57) + * Tea (PR#56) + * Kotlin (PR#58) + +- Fix Python 3 terminal highlighting with pygmentize (#691). + +- In the LaTeX formatter, escape special &, < and > chars (#648). + +- In the LaTeX formatter, fix display problems for styles with token + background colors (#670). + +- Enhancements to the Squid conf lexer (#664). + +- Several fixes to the reStructuredText lexer (#636). + +- Recognize methods in the ObjC lexer (#638). + +- Fix Lua "class" highlighting: it does not have classes (#665). + +- Fix degenerate regex in Scala lexer (#671) and highlighting bugs (#713, 708). + +- Fix number pattern order in Ocaml lexer (#647). + +- Fix generic type highlighting in ActionScript 3 (#666). + +- Fixes to the Clojure lexer (PR#9). + +- Fix degenerate regex in Nemerle lexer (#706). + +- Fix infinite looping in CoffeeScript lexer (#729). + +- Fix crashes and analysis with ObjectiveC lexer (#693, #696). + +- Add some Fortran 2003 keywords. + +- Fix Boo string regexes (#679). + +- Add "rrt" style (#727). + +- Fix infinite looping in Darcs Patch lexer. + +- Lots of misc fixes to character-eating bugs and ordering problems in many + different lexers. + + Version 1.4 ----------- -(codename Unschärfe, released Jan 03, 2010) +(codename Unschärfe, released Jan 03, 2011) - Lexers added: @@ -269,7 +351,7 @@ Version 1.0 - Added Tango style, written by Andre Roberge for the Crunchy project. -- Added Python3TracebackLexer and ``python3`` option to +- Added Python3TracebackLexer and ``python3`` option to PythonConsoleLexer. - Fixed a few bugs in the Haskell lexer. @@ -607,7 +689,7 @@ Version 0.7 - Added token stream filters, and a pygmentize option to use them. -- Changed behavior of `in` Operator for tokens. +- Changed behavior of `in` Operator for tokens. - Added mimetypes for all lexers. diff --git a/LICENSE b/LICENSE index 0ad59ec..314b371 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2006-2010 by the respective authors (see AUTHORS file). +Copyright (c) 2006-2011 by the respective authors (see AUTHORS file). All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/Makefile b/Makefile index 6e81f2e..c894012 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ # # Combines scripts for common tasks. # -# :copyright: Copyright 2006-2010 by the Pygments team, see AUTHORS. +# :copyright: Copyright 2006-2012 by the Pygments team, see AUTHORS. # :license: BSD, see LICENSE for details. # diff --git a/PKG-INFO b/PKG-INFO index 332c5dc..0fec627 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ -Metadata-Version: 1.0 +Metadata-Version: 1.1 Name: Pygments -Version: 1.4 +Version: 1.5 Summary: Pygments is a syntax highlighting package written in Python. Home-page: http://pygments.org/ Author: Georg Brandl @@ -28,7 +28,7 @@ Description: .. _Pygments tip: http://bitbucket.org/birkenfeld/pygments-main/get/tip.zip#egg=Pygments-dev - :copyright: Copyright 2006-2010 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2012 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. Keywords: syntax highlighting diff --git a/Pygments.egg-info/PKG-INFO b/Pygments.egg-info/PKG-INFO index 332c5dc..0fec627 100644 --- a/Pygments.egg-info/PKG-INFO +++ b/Pygments.egg-info/PKG-INFO @@ -1,6 +1,6 @@ -Metadata-Version: 1.0 +Metadata-Version: 1.1 Name: Pygments -Version: 1.4 +Version: 1.5 Summary: Pygments is a syntax highlighting package written in Python. Home-page: http://pygments.org/ Author: Georg Brandl @@ -28,7 +28,7 @@ Description: .. _Pygments tip: http://bitbucket.org/birkenfeld/pygments-main/get/tip.zip#egg=Pygments-dev - :copyright: Copyright 2006-2010 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2012 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. Keywords: syntax highlighting diff --git a/Pygments.egg-info/SOURCES.txt b/Pygments.egg-info/SOURCES.txt index b3f065b..6c36a84 100644 --- a/Pygments.egg-info/SOURCES.txt +++ b/Pygments.egg-info/SOURCES.txt @@ -91,6 +91,8 @@ pygments/lexers/_clbuiltins.py pygments/lexers/_luabuiltins.py pygments/lexers/_mapping.py pygments/lexers/_phpbuiltins.py +pygments/lexers/_postgres_builtins.py +pygments/lexers/_scilab_builtins.py pygments/lexers/_vimbuiltins.py pygments/lexers/agile.py pygments/lexers/asm.py @@ -98,10 +100,13 @@ pygments/lexers/compiled.py pygments/lexers/dotnet.py pygments/lexers/functional.py pygments/lexers/hdl.py +pygments/lexers/jvm.py pygments/lexers/math.py pygments/lexers/other.py pygments/lexers/parsers.py +pygments/lexers/shell.py pygments/lexers/special.py +pygments/lexers/sql.py pygments/lexers/templates.py pygments/lexers/text.py pygments/lexers/web.py @@ -120,6 +125,7 @@ pygments/styles/murphy.py pygments/styles/native.py pygments/styles/pastie.py pygments/styles/perldoc.py +pygments/styles/rrt.py pygments/styles/tango.py pygments/styles/trac.py pygments/styles/vim.py @@ -142,6 +148,7 @@ tests/test_cmdline.py tests/test_examplefiles.py tests/test_html_formatter.py tests/test_latex_formatter.py +tests/test_perllexer.py tests/test_regexlexer.py tests/test_token.py tests/test_using_api.py @@ -169,6 +176,7 @@ tests/examplefiles/SmallCheck.hs tests/examplefiles/Sorting.mod tests/examplefiles/Sudoku.lhs tests/examplefiles/addressbook.proto +tests/examplefiles/antlr_throws tests/examplefiles/apache2.conf tests/examplefiles/as3_test.as tests/examplefiles/as3_test2.as @@ -182,6 +190,7 @@ tests/examplefiles/ceval.c tests/examplefiles/cheetah_example.html tests/examplefiles/classes.dylan tests/examplefiles/condensed_ruby.rb +tests/examplefiles/coq_RelationClasses tests/examplefiles/database.pytb tests/examplefiles/de.MoinMoin.po tests/examplefiles/demo.ahk @@ -192,22 +201,37 @@ tests/examplefiles/erl_session tests/examplefiles/escape_semicolon.clj tests/examplefiles/evil_regex.js tests/examplefiles/example.c +tests/examplefiles/example.cls tests/examplefiles/example.cpp +tests/examplefiles/example.gs +tests/examplefiles/example.gst +tests/examplefiles/example.kt tests/examplefiles/example.lua tests/examplefiles/example.moo +tests/examplefiles/example.moon +tests/examplefiles/example.nim tests/examplefiles/example.ns2 +tests/examplefiles/example.p tests/examplefiles/example.pas tests/examplefiles/example.rb tests/examplefiles/example.rhtml tests/examplefiles/example.sh-session +tests/examplefiles/example.sml +tests/examplefiles/example.snobol +tests/examplefiles/example.tea +tests/examplefiles/example.u tests/examplefiles/example.weechatlog tests/examplefiles/example.xhtml tests/examplefiles/example.yaml tests/examplefiles/example2.aspx +tests/examplefiles/example_elixir.ex +tests/examplefiles/example_file.fy tests/examplefiles/firefox.mak tests/examplefiles/flipflop.sv +tests/examplefiles/foo.sce tests/examplefiles/format.ml tests/examplefiles/fucked_up.rb +tests/examplefiles/function.mu tests/examplefiles/functional.rst tests/examplefiles/genclass.clj tests/examplefiles/genshi_example.xml+genshi @@ -215,10 +239,15 @@ tests/examplefiles/genshitext_example.genshitext tests/examplefiles/glsl.frag tests/examplefiles/glsl.vert tests/examplefiles/html+php_faulty.php +tests/examplefiles/http_request_example +tests/examplefiles/http_response_example tests/examplefiles/import.hs tests/examplefiles/intro.ik tests/examplefiles/ints.php +tests/examplefiles/intsyn.fun +tests/examplefiles/intsyn.sig tests/examplefiles/irb_heredoc +tests/examplefiles/irc.lsp tests/examplefiles/java.properties tests/examplefiles/jbst_example1.jbst tests/examplefiles/jbst_example2.jbst @@ -227,6 +256,7 @@ tests/examplefiles/lighttpd_config.conf tests/examplefiles/linecontinuation.py tests/examplefiles/ltmain.sh tests/examplefiles/main.cmake +tests/examplefiles/markdown.lsp tests/examplefiles/matlab_noreturn tests/examplefiles/matlab_sample tests/examplefiles/matlabsession_sample.txt @@ -235,6 +265,7 @@ tests/examplefiles/moin_SyntaxReference.txt tests/examplefiles/multiline_regexes.rb tests/examplefiles/nasm_aoutso.asm tests/examplefiles/nasm_objexe.asm +tests/examplefiles/nemerle_sample.n tests/examplefiles/nginx_nginx.conf tests/examplefiles/numbers.c tests/examplefiles/objc_example.m @@ -245,7 +276,9 @@ tests/examplefiles/perl_regex-delims tests/examplefiles/perlfunc.1 tests/examplefiles/phpcomplete.vim tests/examplefiles/pleac.in.rb +tests/examplefiles/postgresql_test.txt tests/examplefiles/pppoe.applescript +tests/examplefiles/psql_session.txt tests/examplefiles/py3_test.txt tests/examplefiles/pycon_test.pycon tests/examplefiles/pytb_test2.pytb @@ -255,7 +288,9 @@ tests/examplefiles/r-console-transcript.Rout tests/examplefiles/ragel-cpp_rlscan tests/examplefiles/ragel-cpp_snippet tests/examplefiles/regex.js +tests/examplefiles/reversi.lsp tests/examplefiles/ruby_func_def.rb +tests/examplefiles/scilab.sci tests/examplefiles/sibling.prolog tests/examplefiles/simple.md tests/examplefiles/smarty_example.html @@ -269,16 +304,25 @@ tests/examplefiles/stripheredoc.sh tests/examplefiles/test.R tests/examplefiles/test.adb tests/examplefiles/test.asy +tests/examplefiles/test.awk tests/examplefiles/test.bas tests/examplefiles/test.bmx tests/examplefiles/test.boo +tests/examplefiles/test.bro tests/examplefiles/test.cs tests/examplefiles/test.css tests/examplefiles/test.d +tests/examplefiles/test.dart +tests/examplefiles/test.dtd +tests/examplefiles/test.ec +tests/examplefiles/test.ecl +tests/examplefiles/test.eh tests/examplefiles/test.erl tests/examplefiles/test.evoque +tests/examplefiles/test.fan tests/examplefiles/test.flx tests/examplefiles/test.gdc +tests/examplefiles/test.groovy tests/examplefiles/test.html tests/examplefiles/test.ini tests/examplefiles/test.java @@ -287,9 +331,12 @@ tests/examplefiles/test.maql tests/examplefiles/test.mod tests/examplefiles/test.moo tests/examplefiles/test.myt +tests/examplefiles/test.nim tests/examplefiles/test.pas tests/examplefiles/test.php tests/examplefiles/test.plot +tests/examplefiles/test.ps1 +tests/examplefiles/test.pypylog tests/examplefiles/test.r3 tests/examplefiles/test.rb tests/examplefiles/test.rhtml @@ -297,6 +344,7 @@ tests/examplefiles/test.scaml tests/examplefiles/test.ssp tests/examplefiles/test.tcsh tests/examplefiles/test.vb +tests/examplefiles/test.vhdl tests/examplefiles/test.xqy tests/examplefiles/test.xsl tests/examplefiles/truncated.pytb diff --git a/TODO b/TODO index 6482700..3ff63a3 100644 --- a/TODO +++ b/TODO @@ -3,8 +3,6 @@ Todo - suggested new lexers * IPython sessions - * PostgreSQL/SQLite - * Nemerle - lexers that need work: * review perl lexer (numerous bugs, but so far no one had complaints ;) diff --git a/docs/build/api.html b/docs/build/api.html index 42a6f71..3f583fc 100644 --- a/docs/build/api.html +++ b/docs/build/api.html @@ -453,6 +453,6 @@ or a tuple, it is returned as a list. - \ No newline at end of file diff --git a/docs/build/authors.html b/docs/build/authors.html index 6fb30e6..8f520b7 100644 --- a/docs/build/authors.html +++ b/docs/build/authors.html @@ -225,42 +225,60 @@ div.toc h2 {
  • Paul Baumgart, 280 North, Inc. -- Objective-J lexer
  • Michael Bayer -- Myghty lexers
  • John Benediktsson -- Factor lexer
  • +
  • Christopher Bertels -- Fancy lexer
  • Jarrett Billingsley -- MiniD lexer
  • Adam Blinkinsop -- Haskell, Redcode lexers
  • Frits van Bommel -- assembler lexers
  • Pierre Bourdon -- bugfixes
  • Hiram Chirino -- Scaml and Jade lexers
  • +
  • Leaf Corcoran -- MoonScript lexer
  • Christopher Creutzig -- MuPAD lexer
  • Pete Curry -- bugfixes
  • Owen Durni -- haXe lexer
  • Nick Efford -- Python 3 lexer
  • Artem Egorkine -- terminal256 formatter
  • James H. Fisher -- PostScript lexer
  • -
  • Naveen Garg - Autohotkey lexer
  • +
  • Carlos Galdino -- Elixir and Elixir Console lexers
  • +
  • Naveen Garg -- Autohotkey lexer
  • Laurent Gautier -- R/S lexer
  • +
  • Alex Gaynor -- PyPy log lexer
  • +
  • Bertrand Goetzmann -- Groovy lexer
  • Krzysiek Goj -- Scala lexer
  • Matt Good -- Genshi, Cheetah lexers
  • Patrick Gotthardt -- PHP namespaces support
  • Olivier Guibe -- Asymptote lexer
  • +
  • Martin Harriman -- SNOBOL lexer
  • Matthew Harrison -- SVG formatter
  • Steven Hazel -- Tcl lexer
  • Aslak Hellesøy -- Gherkin lexer
  • +
  • Jordi Gutiérrez Hermoso -- Octave lexer
  • David Hess, Fish Software, Inc. -- Objective-J lexer
  • Varun Hiremath -- Debian control lexer
  • Ben Hollis -- Mason lexer
  • Tim Howard -- BlitzMax lexer
  • +
  • Ivan Inozemtsev -- Fantom lexer
  • +
  • Brian R. Jackson -- Tea lexer
  • Dennis Kaarsemaker -- sources.list lexer
  • +
  • Igor Kalnitsky -- vhdl lexer
  • +
  • Adam Koprowski -- Opa lexer
  • Benjamin Kowarsch -- Modula-2 lexer
  • Marek Kubica -- Scheme lexer
  • Jochen Kupperschmidt -- Markdown processor
  • Gerd Kurzbach -- Modelica lexer
  • +
  • Olov Lassus -- Dart lexer
  • +
  • Sylvestre Ledru -- Scilab lexer
  • Mark Lee -- Vala lexer
  • Ben Mabey -- Gherkin lexer
  • Simone Margaritelli -- Hybris lexer
  • Kirk McDonald -- D lexer
  • +
  • Gordon McGregor -- SystemVerilog lexer
  • Stephen McKamey -- Duel/JBST lexer
  • +
  • Brian McKenna -- F# lexer
  • Lukas Meuser -- BBCode formatter, Lua lexer
  • +
  • Hong Minhee -- HTTP lexer
  • +
  • Michael Mior -- Awk lexer
  • Paulo Moura -- Logtalk lexer
  • +
  • Mher Movsisyan -- DTD lexer
  • Ana Nelson -- Ragel, ANTLR, R console lexers
  • Nam T. Nguyen -- Monokai style
  • Jesper Noehr -- HTML formatter "anchorlinenos"
  • @@ -269,7 +287,10 @@ div.toc h2 {
  • Jon Parise -- Protocol buffers lexer
  • Ronny Pfannschmidt -- BBCode lexer
  • Benjamin Peterson -- Test suite refactoring
  • +
  • Dominik Picheta -- Nimrod lexer
  • +
  • Clément Prévost -- UrbiScript lexer
  • Justin Reidy -- MXML lexer
  • +
  • Norman Richards -- JSON lexer
  • Lubomir Rintel -- GoodData MAQL and CL lexers
  • Andre Roberge -- Tango style
  • Konrad Rudolph -- LaTeX formatter enhancements
  • @@ -280,21 +301,29 @@ div.toc h2 {
  • Ken Schutte -- Matlab lexers
  • Tassilo Schweyer -- Io, MOOCode lexers
  • Joerg Sieker -- ABAP lexer
  • +
  • Robert Simmons -- Standard ML lexer
  • Kirill Simonov -- YAML lexer
  • Steve Spigarelli -- XQuery lexer
  • +
  • Jerome St-Louis -- eC lexer
  • +
  • James Strachan -- Kotlin lexer
  • Tiberius Teng -- default style overhaul
  • Jeremy Thurgood -- Erlang, Squid config lexers
  • Erick Tryzelaar -- Felix lexer
  • +
  • Daniele Varrazzo -- PostgreSQL lexers
  • +
  • Abe Voelker -- OpenEdge ABL lexer
  • Whitney Young -- ObjectiveC lexer
  • +
  • Matthias Vallentin -- Bro lexer
  • Nathan Weizenbaum -- Haml and Sass lexers
  • Dietmar Winkler -- Modelica lexer
  • Nils Winter -- Smalltalk lexer
  • Davy Wybiral -- Clojure lexer
  • +
  • Diego Zamboni -- CFengine3 lexer
  • +
  • Alex Zimin -- Nemerle lexer
  • Many thanks for all contributions!

    - \ No newline at end of file diff --git a/docs/build/changelog.html b/docs/build/changelog.html index a785d5f..4415fa7 100644 --- a/docs/build/changelog.html +++ b/docs/build/changelog.html @@ -213,6 +213,8 @@ div.toc h2 {

    Contents