ohcount
src
languages.h
Go to the documentation of this file.
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_AMPL "ampl"
12
#define LANG_ASSEMBLER "assembler"
13
#define LANG_AUGEAS "augeas"
14
#define LANG_AUTOCONF "autoconf"
15
#define LANG_AUTOMAKE "automake"
16
#define LANG_AWK "awk"
17
#define LANG_BRAINFUCK "brainfuck"
18
#define LANG_BFPP "bfpp"
19
#define LANG_BAT "bat"
20
#define LANG_BLITZMAX "blitzmax"
21
#define LANG_BOO "boo"
22
#define LANG_C "c"
23
#define LANG_CHAISCRIPT "chaiscript"
24
#define LANG_CLASSIC_BASIC "classic_basic"
25
#define LANG_CLEARSILVER "clearsilver"
26
#define LANG_CLEARSILVER_TEMPLATE "clearsilver_template"
27
#define LANG_CLOJURE "clojure"
28
#define LANG_CMAKE "cmake"
29
#define LANG_COFFEESCRIPT "coffeescript"
30
#define LANG_COQ "coq"
31
#define LANG_CPP "cpp"
32
#define LANG_CRYSTAL "crystal"
33
#define LANG_CS_ASPX "cs_aspx"
34
#define LANG_CSHARP "csharp"
35
#define LANG_CSS "css"
36
#define LANG_CUDA "cuda"
37
#define LANG_DCL "dcl"
38
#define LANG_DMD "dmd"
39
#define LANG_DYLAN "dylan"
40
#define LANG_EBUILD "ebuild"
41
#define LANG_EC "ec"
42
#define LANG_EIFFEL "eiffel"
43
#define LANG_ERLANG "erlang"
44
#define LANG_EXHERES "exheres"
45
#define LANG_EMACSLISP "emacslisp"
46
#define LANG_FACTOR "factor"
47
#define LANG_FORTH "forth"
48
#define LANG_FORTRANFIXED "fortranfixed"
49
#define LANG_FORTRANFREE "fortranfree"
50
#define LANG_FSHARP "fsharp"
51
#define LANG_GENIE "genie"
52
#define LANG_GLSL "glsl"
53
#define LANG_GOLANG "golang"
54
#define LANG_GRACE "grace"
55
#define LANG_GROOVY "groovy"
56
#define LANG_HASKELL "haskell"
57
#define LANG_HAML "haml"
58
#define LANG_HAXE "haxe"
59
#define LANG_HTML "html"
60
#define LANG_IDL_PVWAVE "idl_pvwave"
61
#define LANG_JAM "jam"
62
#define LANG_JAVA "java"
63
#define LANG_JAVASCRIPT "javascript"
64
#define LANG_JSP "jsp"
65
#define LANG_KOTLIN "kotlin"
66
#define LANG_LIMBO "limbo"
67
#define LANG_LISP "lisp"
68
#define LANG_LIVECODE "livecode"
69
#define LANG_LOGTALK "logtalk"
70
#define LANG_LUA "lua"
71
#define LANG_MAKE "make"
72
#define LANG_MATHEMATICA "mathematica"
73
#define LANG_MATLAB "matlab"
74
#define LANG_METAFONT "metafont"
75
#define LANG_METAPOST "metapost"
76
#define LANG_METAPOST_WITH_TEX "metapost_with_tex"
77
#define LANG_MODELICA "modelica"
78
#define LANG_MODULA2 "modula2"
79
#define LANG_MODULA3 "modula3"
80
#define LANG_MXML "mxml"
81
#define LANG_NIX "nix"
82
#define LANG_NSIS "nsis"
83
#define LANG_OBERON "oberon"
84
#define LANG_OBJECTIVE_C "objective_c"
85
#define LANG_OBJECTIVE_J "objective_j"
86
#define LANG_OCAML "ocaml"
87
#define LANG_OCTAVE "octave"
88
#define LANG_PASCAL "pascal"
89
#define LANG_PERL "perl"
90
#define LANG_PHP "php"
91
#define LANG_PIKE "pike"
92
#define LANG_POSTSCRIPT "postscript"
93
#define LANG_PROLOG "prolog"
94
#define LANG_PUPPET "puppet"
95
#define LANG_PYTHON "python"
96
#define LANG_QML "qml"
97
#define LANG_R "r"
98
#define LANG_RACKET "racket"
99
#define LANG_REBOL "rebol"
100
#define LANG_REXX "rexx"
101
#define LANG_RHTML "rhtml"
102
#define LANG_RUBY "ruby"
103
#define LANG_RUST "rust"
104
#define LANG_SCALA "scala"
105
#define LANG_SCHEME "scheme"
106
#define LANG_SCILAB "scilab"
107
#define LANG_SHELL "shell"
108
#define LANG_SMALLTALK "smalltalk"
109
#define LANG_STRATEGO "stratego"
110
#define LANG_STRUCTURED_BASIC "structured_basic"
111
#define LANG_SQL "sql"
112
#define LANG_TCL "tcl"
113
#define LANG_TEX "tex"
114
#define LANG_TEX_DTX "tex_dtx"
115
#define LANG_UNREALSCRIPT "unrealscript"
116
#define LANG_TYPESCRIPT "typescript"
117
#define LANG_VALA "vala"
118
#define LANG_VB_ASPX "vb_aspx"
119
#define LANG_VHDL "vhdl"
120
#define LANG_VIM "vim"
121
#define LANG_VISUALBASIC "visualbasic"
122
#define LANG_XAML "xaml"
123
#define LANG_XML "xml"
124
#define LANG_XSLT "xslt"
125
#define LANG_XMLSCHEMA "xmlschema"
126
127
// For gperf.
128
struct
LanguageMap
{
const
char
*
key
;
const
char
*
name
;
const
char
*
nice_name
;
int
category
; };
129
struct
LanguageMap
*
ohcount_hash_language_from_name
(
register
const
char
*str,
register
size_t
len);
130
131
#endif
LanguageMap::key
const char * key
Definition:
languages.h:128
LanguageMap
Definition:
languages.h:128
LanguageMap::category
int category
Definition:
languages.h:128
ohcount_hash_language_from_name
struct LanguageMap * ohcount_hash_language_from_name(register const char *str, register size_t len)
LanguageMap::name
const char * name
Definition:
languages.h:128
LanguageMap::nice_name
const char * nice_name
Definition:
languages.h:128
Generated by
1.8.17