Hana 9e216da9ef go.mod: add go.mod and move pygments to third_party
After go1.16, go will use module mode by default,
even when the repository is checked out under GOPATH
or in a one-off directory. Add go.mod, go.sum to keep
this repo buildable without opting out of the module
mode.

> go mod init github.com/mmcgrana/gobyexample
> go mod tidy
> go mod vendor

In module mode, the 'vendor' directory is special
and its contents will be actively maintained by the
go command. pygments aren't the dependency the go will
know about, so it will delete the contents from vendor
directory. Move it to `third_party` directory now.

And, vendor the blackfriday package.

Note: the tutorial contents are not affected by the
change in go1.16 because all the examples in this
tutorial ask users to run the go command with the
explicit list of files to be compiled (e.g.
`go run hello-world.go` or `go build command-line-arguments.go`).
When the source list is provided, the go command does
not have to compute the build list and whether it's
running in GOPATH mode or module mode becomes irrelevant.
2021-02-15 16:45:26 -05:00

153 lines
2.7 KiB
ReStructuredText

:orphan:
Supported languages
===================
Pygments supports an ever-growing range of languages. Watch this space...
Programming languages
---------------------
* ActionScript
* Ada
* ANTLR
* AppleScript
* Assembly (various)
* Asymptote
* Awk
* Befunge
* Boo
* BrainFuck
* C, C++
* C#
* Clojure
* CoffeeScript
* ColdFusion
* Common Lisp
* Coq
* Cryptol (incl. Literate Cryptol)
* `Cython <http://cython.org>`_
* `D <http://dlang.org>`_
* Dart
* Delphi
* Dylan
* Erlang
* `Ezhil <http://ezhillang.org>`_ Ezhil - A Tamil programming language
* Factor
* Fancy
* Fortran
* F#
* GAP
* Gherkin (Cucumber)
* GL shaders
* Groovy
* `Haskell <http://www.haskell.org>`_ (incl. Literate Haskell)
* 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 <http://perl.org>`_
* 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
* Smalltalk
* SNOBOL
* Tcl
* 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.