And now for something completely Pythonic...

Pygments 0.9 "Herbstzeitlose" released

written by Georg, on Sunday, October 14, 2007 20:49.

I've just uploaded the Pygments 0.9 packages to CheeseShop. Highlights in this release are:
  • Lexers added:
    • Erlang
    • ActionScript
    • Literate Haskell
    • Common Lisp
    • Various assembly languages
    • Gettext catalogs
    • Squid configuration
    • Debian control files
    • MySQL-style SQL
    • MOOCode
  • Lexers improved:
    • Greatly improved the Haskell and OCaml lexers.
    • Improved the Bash lexer's handling of nested constructs.
    • The C# and Java lexers exhibited abysmal performance with some input code; this should now be fixed.
    • The IRC logs lexer is now able to colorize weechat logs too.
    • The Lua lexer now recognizes multi-line comments.
    • Fixed bugs in the D and MiniD lexer.
  • The encoding handling of the command line mode (pygmentize) was enhanced. You shouldn't get UnicodeErrors from it anymore if you don't give an encoding option.
  • Added a -P option to the command line mode which can be used to give options whose values contain commas or equals signs.
  • Added 256-color terminal formatter.
  • Added an experimental SVG formatter.
  • Added the lineanchors option to the HTML formatter, thanks to Ian Charnas for the idea.
  • Gave the line numbers table a CSS class in the HTML formatter.
  • Added a Vim 7-like style.
I want to express my gratitude to all contributors who helped to build this impressive feature list for 0.9. Thanks!

Comments

  1. Wow, great work! Just the other week I was doing a presentation showing some snippets of code and I thought to myself: I wish this thing could generate svg. I managed to get some nice looking html output though but it meant some manual tweaking. Looks like next time I won't need to do that.

    —  Anders Olsson on Monday, October 15, 2007 8:39 #

Commenting is no longer possible.