1 // languages.h written by Mitchell Foral. mitchell<att>caladbolg.net.
\r
2 // See COPYING for license information.
\r
4 #ifndef OHCOUNT_LANGUAGES_H
\r
5 #define OHCOUNT_LANGUAGES_H
\r
9 #define LANG_ACTIONSCRIPT "actionscript"
\r
10 #define LANG_ADA "ada"
\r
11 #define LANG_ASSEMBLER "assembler"
\r
12 #define LANG_AUTOCONF "autoconf"
\r
13 #define LANG_AUTOMAKE "automake"
\r
14 #define LANG_AWK "awk"
\r
15 #define LANG_BAT "bat"
\r
16 #define LANG_BLITZMAX "blitzmax"
\r
17 #define LANG_BOO "boo"
\r
19 #define LANG_CLASSIC_BASIC "classic_basic"
\r
20 #define LANG_CLEARSILVER "clearsilver"
\r
21 #define LANG_CLEARSILVER_TEMPLATE "clearsilver_template"
\r
22 #define LANG_CMAKE "cmake"
\r
23 #define LANG_CPP "cpp"
\r
24 #define LANG_CS_ASPX "cs_aspx"
\r
25 #define LANG_CSHARP "csharp"
\r
26 #define LANG_CSS "css"
\r
27 #define LANG_DCL "dcl"
\r
28 #define LANG_DMD "dmd"
\r
29 #define LANG_DYLAN "dylan"
\r
30 #define LANG_EBUILD "ebuild"
\r
31 #define LANG_EIFFEL "eiffel"
\r
32 #define LANG_ERLANG "erlang"
\r
33 #define LANG_EXHERES "exheres"
\r
34 #define LANG_EMACSLISP "emacslisp"
\r
35 #define LANG_FACTOR "factor"
\r
36 #define LANG_FORTRANFIXED "fortranfixed"
\r
37 #define LANG_FORTRANFREE "fortranfree"
\r
38 #define LANG_GLSL "glsl"
\r
39 #define LANG_GROOVY "groovy"
\r
40 #define LANG_HASKELL "haskell"
\r
41 #define LANG_HAML "haml"
\r
42 #define LANG_HAXE "haxe"
\r
43 #define LANG_HTML "html"
\r
44 #define LANG_IDL_PVWAVE "idl_pvwave"
\r
45 #define LANG_JAVA "java"
\r
46 #define LANG_JAVASCRIPT "javascript"
\r
47 #define LANG_JSP "jsp"
\r
48 #define LANG_LIMBO "limbo"
\r
49 #define LANG_LISP "lisp"
\r
50 #define LANG_LUA "lua"
\r
51 #define LANG_MAKE "make"
\r
52 #define LANG_MATLAB "matlab"
\r
53 #define LANG_METAFONT "metafont"
\r
54 #define LANG_METAPOST "metapost"
\r
55 #define LANG_METAPOST_WITH_TEX "metapost_with_tex"
\r
56 #define LANG_MXML "mxml"
\r
57 #define LANG_NIX "nix"
\r
58 #define LANG_OBJECTIVE_C "objective_c"
\r
59 #define LANG_OBJECTIVE_J "objective_j"
\r
60 #define LANG_OCAML "ocaml"
\r
61 #define LANG_OCTAVE "octave"
\r
62 #define LANG_PASCAL "pascal"
\r
63 #define LANG_PERL "perl"
\r
64 #define LANG_PHP "php"
\r
65 #define LANG_PIKE "pike"
\r
66 #define LANG_PYTHON "python"
\r
68 #define LANG_REXX "rexx"
\r
69 #define LANG_RHTML "rhtml"
\r
70 #define LANG_RUBY "ruby"
\r
71 #define LANG_SCALA "scala"
\r
72 #define LANG_SCHEME "scheme"
\r
73 #define LANG_SCILAB "scilab"
\r
74 #define LANG_SHELL "shell"
\r
75 #define LANG_SMALLTALK "smalltalk"
\r
76 #define LANG_STRATEGO "stratego"
\r
77 #define LANG_STRUCTURED_BASIC "structured_basic"
\r
78 #define LANG_SQL "sql"
\r
79 #define LANG_TCL "tcl"
\r
80 #define LANG_TEX "tex"
\r
81 #define LANG_VALA "vala"
\r
82 #define LANG_VB_ASPX "vb_aspx"
\r
83 #define LANG_VHDL "vhdl"
\r
84 #define LANG_VIM "vim"
\r
85 #define LANG_VISUALBASIC "visualbasic"
\r
86 #define LANG_XAML "xaml"
\r
87 #define LANG_XML "xml"
\r
88 #define LANG_XSLT "xslt"
\r
89 #define LANG_XMLSCHEMA "xmlschema"
\r
92 struct LanguageMap { const char *key; const char *name; const char *nice_name; int category; };
\r
93 struct LanguageMap *ohcount_hash_language_from_name(register const char *str, register unsigned int len);
\r