Merge pull request #14 from silene/coq-parser
[ohcount] / src / languages.h
1 // languages.h written by Mitchell Foral. mitchell<att>caladbolg.net.
2 // See COPYING for license information.
3
4 #ifndef OHCOUNT_LANGUAGES_H
5 #define OHCOUNT_LANGUAGES_H
6
7 #include <string.h>
8
9 #define LANG_ACTIONSCRIPT "actionscript"
10 #define LANG_ADA "ada"
11 #define LANG_ASSEMBLER "assembler"
12 #define LANG_AUGEAS "augeas"
13 #define LANG_AUTOCONF "autoconf"
14 #define LANG_AUTOMAKE "automake"
15 #define LANG_AWK "awk"
16 #define LANG_BRAINFUCK "brainfuck"
17 #define LANG_BFPP "bfpp"
18 #define LANG_BAT "bat"
19 #define LANG_BLITZMAX "blitzmax"
20 #define LANG_BOO "boo"
21 #define LANG_C "c"
22 #define LANG_CHAISCRIPT "chaiscript"
23 #define LANG_CLASSIC_BASIC "classic_basic"
24 #define LANG_CLEARSILVER "clearsilver"
25 #define LANG_CLEARSILVER_TEMPLATE "clearsilver_template"
26 #define LANG_CLOJURE "clojure"
27 #define LANG_CMAKE "cmake"
28 #define LANG_COFFEESCRIPT "coffeescript"
29 #define LANG_COQ "coq"
30 #define LANG_CPP "cpp"
31 #define LANG_CS_ASPX "cs_aspx"
32 #define LANG_CSHARP "csharp"
33 #define LANG_CSS "css"
34 #define LANG_CUDA "cuda"
35 #define LANG_DCL "dcl"
36 #define LANG_DMD "dmd"
37 #define LANG_DYLAN "dylan"
38 #define LANG_EBUILD "ebuild"
39 #define LANG_EC "ec"
40 #define LANG_EIFFEL "eiffel"
41 #define LANG_ERLANG "erlang"
42 #define LANG_EXHERES "exheres"
43 #define LANG_EMACSLISP "emacslisp"
44 #define LANG_FACTOR "factor"
45 #define LANG_FORTH "forth"
46 #define LANG_FORTRANFIXED "fortranfixed"
47 #define LANG_FORTRANFREE "fortranfree"
48 #define LANG_FSHARP "fsharp"
49 #define LANG_GLSL "glsl"
50 #define LANG_GOLANG "golang"
51 #define LANG_GROOVY "groovy"
52 #define LANG_HASKELL "haskell"
53 #define LANG_HAML "haml"
54 #define LANG_HAXE "haxe"
55 #define LANG_HTML "html"
56 #define LANG_IDL_PVWAVE "idl_pvwave"
57 #define LANG_JAM "jam"
58 #define LANG_JAVA "java"
59 #define LANG_JAVASCRIPT "javascript"
60 #define LANG_JSP "jsp"
61 #define LANG_LIMBO "limbo"
62 #define LANG_LISP "lisp"
63 #define LANG_LOGTALK "logtalk"
64 #define LANG_LUA "lua"
65 #define LANG_MAKE "make"
66 #define LANG_MATLAB "matlab"
67 #define LANG_METAFONT "metafont"
68 #define LANG_METAPOST "metapost"
69 #define LANG_METAPOST_WITH_TEX "metapost_with_tex"
70 #define LANG_MODULA2 "modula2"
71 #define LANG_MODULA3 "modula3"
72 #define LANG_MXML "mxml"
73 #define LANG_NIX "nix"
74 #define LANG_NSIS "nsis"
75 #define LANG_OBERON "oberon"
76 #define LANG_OBJECTIVE_C "objective_c"
77 #define LANG_OBJECTIVE_J "objective_j"
78 #define LANG_OCAML "ocaml"
79 #define LANG_OCTAVE "octave"
80 #define LANG_PASCAL "pascal"
81 #define LANG_PERL "perl"
82 #define LANG_PHP "php"
83 #define LANG_PIKE "pike"
84 #define LANG_PROLOG "prolog"
85 #define LANG_PUPPET "puppet"
86 #define LANG_PYTHON "python"
87 #define LANG_QML "qml"
88 #define LANG_R "r"
89 #define LANG_RACKET "racket"
90 #define LANG_REBOL "rebol"
91 #define LANG_REXX "rexx"
92 #define LANG_RHTML "rhtml"
93 #define LANG_RUBY "ruby"
94 #define LANG_SCALA "scala"
95 #define LANG_SCHEME "scheme"
96 #define LANG_SCILAB "scilab"
97 #define LANG_SHELL "shell"
98 #define LANG_SMALLTALK "smalltalk"
99 #define LANG_STRATEGO "stratego"
100 #define LANG_STRUCTURED_BASIC "structured_basic"
101 #define LANG_SQL "sql"
102 #define LANG_TCL "tcl"
103 #define LANG_TEX "tex"
104 #define LANG_TEX_DTX "tex_dtx"
105 #define LANG_VALA "vala"
106 #define LANG_VB_ASPX "vb_aspx"
107 #define LANG_VHDL "vhdl"
108 #define LANG_VIM "vim"
109 #define LANG_VISUALBASIC "visualbasic"
110 #define LANG_XAML "xaml"
111 #define LANG_XML "xml"
112 #define LANG_XSLT "xslt"
113 #define LANG_XMLSCHEMA "xmlschema"
114
115 // For gperf.
116 struct LanguageMap { const char *key; const char *name; const char *nice_name; int category; };
117 struct LanguageMap *ohcount_hash_language_from_name(register const char *str, register unsigned int len);
118
119 #endif