summaryrefslogtreecommitdiff
path: root/doc/languages.rst
blob: b06ccc55d3e4353a510b47c33c01ea2c1fd8cc12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
:orphan:

Supported languages
===================

Pygments supports an ever-growing range of languages. Watch this space...

Programming languages
---------------------

* ActionScript
* Ada
* ANTLR
* AppleScript
* Assembly (various)
* Asymptote
* `Augeas <http://augeas.net>`_
* Awk
* BBC Basic
* Befunge
* `Boa <http://boa.cs.iastate.edu/docs/index.php>`_
* Boo
* BrainFuck
* C, C++
* C#
* `Charm++ CI <http://charmplusplus.org/>`_
* Clojure
* CoffeeScript
* ColdFusion
* Common Lisp
* Coq
* Cryptol (incl. Literate Cryptol)
* `Crystal <http://crystal-lang.org>`_
* `Cython <http://cython.org>`_
* `D <http://dlang.org>`_
* Dart
* DCPU-16
* Delphi
* Dylan
* `Elm <http://elm-lang.org/>`_
* Erlang
* `Ezhil <http://ezhillang.org>`_ Ezhil - A Tamil programming language
* Factor
* Fancy
* `Fennel <https://fennel-lang.org/>`_
* `FloScript <http://ioflo.com/>`_
* Fortran
* `FreeFEM++ <https://freefem.org/>`_
* F#
* GAP
* Gherkin (Cucumber)
* GL shaders
* Groovy
* `Haskell <http://www.haskell.org>`_ (incl. Literate Haskell)
* HLSL
* `HSpec <http://hackage.haskell.org/package/hspec>`_
* IDL
* Io
* Java
* JavaScript
* Lasso
* LLVM
* Logtalk
* `Lua <http://www.lua.org>`_
* Matlab
* MiniD
* Modelica
* Modula-2
* MuPad
* Nemerle
* Nimrod
* Objective-C
* Objective-J
* Octave
* OCaml
* PHP
* `Perl 5 <http://perl.org>`_ and `Perl 6 <https://perl6.org>`_
* `Pony <https://www.ponylang.io/>`_
* PovRay
* PostScript
* PowerShell
* Prolog
* `Python <http://www.python.org>`_ 2.x and 3.x (incl. console sessions and tracebacks)
* `REBOL <http://www.rebol.com>`_
* `Red <http://www.red-lang.org>`_
* Redcode
* `Ruby <http://www.ruby-lang.org>`_ (incl. irb sessions)
* Rust
* S, S-Plus, R
* Scala
* Scheme
* Scilab
* `SGF <https://www.red-bean.com/sgf/>`_
* `Slash <https://github.com/arturadib/Slash-A>`_
* `Slurm <https://slurm.schedmd.com/overview.html>`_
* Smalltalk
* SNOBOL
* Tcl
* `Tera Term language <https://ttssh2.osdn.jp/>`_
* `TOML <https://github.com/toml-lang/toml>`_
* Vala
* Verilog
* VHDL
* Visual Basic.NET
* Visual FoxPro
* XQuery
* Zephir

Template languages
------------------

* Cheetah templates
* `Django <http://www.djangoproject.com>`_ / `Jinja
  <http://jinja.pocoo.org/jinja>`_ templates
* ERB (Ruby templating)
* `Genshi <http://genshi.edgewall.org>`_ (the Trac template language)
* JSP (Java Server Pages)
* `Myghty <http://www.myghty.org>`_ (the HTML::Mason based framework)
* `Mako <http://www.makotemplates.org>`_ (the Myghty successor)
* `Smarty <http://www.smarty.net>`_ templates (PHP templating)
* Tea

Other markup
------------

* Apache config files
* Bash shell scripts
* BBCode
* CMake
* CSS
* Debian control files
* Diff files
* DTD
* Gettext catalogs
* Gnuplot script
* Groff markup
* HTML
* HTTP sessions
* INI-style config files
* IRC logs (irssi style)
* Lighttpd config files
* Makefiles
* MoinMoin/Trac Wiki markup
* MySQL
* Nginx config files
* POV-Ray scenes
* Ragel
* Redcode
* ReST
* Robot Framework
* RPM spec files
* SQL, also MySQL, SQLite
* Squid configuration
* TeX
* tcsh
* Vim Script
* Windows batch files
* XML
* XSLT
* YAML

... that's all?
---------------

Well, why not write your own? Contributing to Pygments is easy and fun.  Take a look at the
:doc:`docs on lexer development <docs/lexerdevelopment>` and
:ref:`contact details <contribute>`.

Note: the languages listed here are supported in the development version. The
latest release may lack a few of them.