highlighter2: source code highlighting
It's fork from original highlighter, with some changes for performance. This version work faster (5 - 10 times) for big files (> 1000 lines of code).
Processes source code using tons of lexers, tokenizing it and formatting it as e.g. HTML.
Very similar to the Python Pygments library; many lexers directly converted from it.
Modules
[Index]
- Text
- Text.Highlighter
- Formatters
- Text.Highlighter.Lexer
- Text.Highlighter.Lexers
- Text.Highlighter.Lexers.ABAP
- Text.Highlighter.Lexers.ActionScript
- Text.Highlighter.Lexers.ActionScript3
- Text.Highlighter.Lexers.Ada
- Text.Highlighter.Lexers.Antlr
- Text.Highlighter.Lexers.ApacheConf
- Text.Highlighter.Lexers.AppleScript
- Text.Highlighter.Lexers.Asymptote
- Text.Highlighter.Lexers.Atomo
- Text.Highlighter.Lexers.Autohotkey
- Text.Highlighter.Lexers.BBCode
- Text.Highlighter.Lexers.Bash
- Text.Highlighter.Lexers.Batch
- Text.Highlighter.Lexers.Befunge
- Text.Highlighter.Lexers.BlitzMax
- Text.Highlighter.Lexers.Boo
- Text.Highlighter.Lexers.Brainfuck
- Text.Highlighter.Lexers.C
- Text.Highlighter.Lexers.CMake
- Text.Highlighter.Lexers.Clojure
- Text.Highlighter.Lexers.CoffeeScript
- Text.Highlighter.Lexers.Coldfusion
- Text.Highlighter.Lexers.CommonLisp
- Text.Highlighter.Lexers.Cpp
- Text.Highlighter.Lexers.Css
- Text.Highlighter.Lexers.Cython
- Text.Highlighter.Lexers.D
- Text.Highlighter.Lexers.DarcsPatch
- Text.Highlighter.Lexers.DebianControl
- Text.Highlighter.Lexers.Diff
- Text.Highlighter.Lexers.Django
- Text.Highlighter.Lexers.Duel
- Text.Highlighter.Lexers.Dylan
- Text.Highlighter.Lexers.Erlang
- Text.Highlighter.Lexers.Factor
- Text.Highlighter.Lexers.Felix
- Text.Highlighter.Lexers.Fortran
- Text.Highlighter.Lexers.GLShader
- Text.Highlighter.Lexers.Gas
- Text.Highlighter.Lexers.GenshiText
- Text.Highlighter.Lexers.Gettext
- Text.Highlighter.Lexers.Gherkin
- Text.Highlighter.Lexers.Gnuplot
- Text.Highlighter.Lexers.Go
- Text.Highlighter.Lexers.GoodDataCL
- Text.Highlighter.Lexers.Groff
- Text.Highlighter.Lexers.Haskell
- Text.Highlighter.Lexers.Haxe
- Text.Highlighter.Lexers.Html
- Text.Highlighter.Lexers.Hybris
- Text.Highlighter.Lexers.Ini
- Text.Highlighter.Lexers.Io
- Text.Highlighter.Lexers.Ioke
- Text.Highlighter.Lexers.IrcLogs
- Text.Highlighter.Lexers.Java
- Text.Highlighter.Lexers.Javascript
- Text.Highlighter.Lexers.LighttpdConf
- Text.Highlighter.Lexers.Llvm
- Text.Highlighter.Lexers.Logtalk
- Text.Highlighter.Lexers.Lua
- Text.Highlighter.Lexers.MOOCode
- Text.Highlighter.Lexers.Mako
- Text.Highlighter.Lexers.Maql
- Text.Highlighter.Lexers.Matlab
- Text.Highlighter.Lexers.MiniD
- Text.Highlighter.Lexers.Modelica
- Text.Highlighter.Lexers.Modula2
- Text.Highlighter.Lexers.MoinWiki
- Text.Highlighter.Lexers.MuPAD
- Text.Highlighter.Lexers.Mxml
- Text.Highlighter.Lexers.MySql
- Text.Highlighter.Lexers.Nasm
- Text.Highlighter.Lexers.Newspeak
- Text.Highlighter.Lexers.NginxConf
- Text.Highlighter.Lexers.NumPy
- Text.Highlighter.Lexers.Objdump
- Text.Highlighter.Lexers.ObjectiveC
- Text.Highlighter.Lexers.ObjectiveJ
- Text.Highlighter.Lexers.Ocaml
- Text.Highlighter.Lexers.Ooc
- Text.Highlighter.Lexers.Perl
- Text.Highlighter.Lexers.Php
- Text.Highlighter.Lexers.PostScript
- Text.Highlighter.Lexers.Povray
- Text.Highlighter.Lexers.Prolog
- Text.Highlighter.Lexers.Properties
- Text.Highlighter.Lexers.ProtoBuf
- Text.Highlighter.Lexers.Python
- Text.Highlighter.Lexers.Python3
- Text.Highlighter.Lexers.Python3Traceback
- Text.Highlighter.Lexers.PythonTraceback
- Text.Highlighter.Lexers.Ragel
- Text.Highlighter.Lexers.RagelEmbedded
- Text.Highlighter.Lexers.Redcode
- Text.Highlighter.Lexers.S
- Text.Highlighter.Lexers.Scala
- Text.Highlighter.Lexers.Scheme
- Text.Highlighter.Lexers.Scss
- Text.Highlighter.Lexers.Smalltalk
- Text.Highlighter.Lexers.Smarty
- Text.Highlighter.Lexers.SourcesList
- Text.Highlighter.Lexers.Sql
- Text.Highlighter.Lexers.SquidConf
- Text.Highlighter.Lexers.Tcl
- Text.Highlighter.Lexers.Tcsh
- Text.Highlighter.Lexers.Tex
- Text.Highlighter.Lexers.Vala
- Text.Highlighter.Lexers.VbNet
- Text.Highlighter.Lexers.Velocity
- Text.Highlighter.Lexers.Verilog
- Text.Highlighter.Lexers.Vim
- Text.Highlighter.Lexers.Xml
- Text.Highlighter.Lexers.Xslt
- Text.Highlighter.Types
- Text.Highlighter
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
executable | Install a "highlighter" executable for highlighting source code as HTML. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- highlighter2-0.2.5.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.2.3, 0.2.4, 0.2.5 |
---|---|
Dependencies | base (>=4 && <5), blaze-html, blaze-markup, bytestring, containers, filepath, mtl (>=2.2.1), pcre-light, text [details] |
License | BSD-3-Clause |
Author | Alex Suraci, Smirnov Alexey |
Maintainer | chemistmail@gmail.com |
Category | Text |
Source repo | head: git clone git@github.com:chemist/highlighter.git -b master |
Uploaded | by chemist at 2015-03-20T08:38:08Z |
Distributions | NixOS:0.2.5 |
Reverse Dependencies | 2 direct, 0 indirect [details] |
Executables | highlighter |
Downloads | 2363 total (19 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2015-03-20 [all 1 reports] |