gopkg.in/src-d/enry.v1@v1.7.3/internal/code-generator/generator/test_files/alias.gold (about)

     1  // Code generated by gopkg.in/src-d/enry.v1/internal/code-generator DO NOT EDIT.
     2  // Extracted from github/linguist commit: e4560984058b4726010ca4b8f03ed9d0f8f464db
     3  
     4  package data
     5  
     6  import "strings"
     7  
     8  // LanguageByAliasMap keeps alias for different languages and use the name of the languages as an alias too.
     9  // All the keys (alias or not) are written in lower case and the whitespaces has been replaced by underscores.
    10  var LanguageByAliasMap = map[string]string{
    11  	"1c_enterprise":  "1C Enterprise",
    12  	"abap":           "ABAP",
    13  	"abl":            "OpenEdge ABL",
    14  	"abnf":           "ABNF",
    15  	"abuild":         "Alpine Abuild",
    16  	"acfm":           "Adobe Font Metrics",
    17  	"aconf":          "ApacheConf",
    18  	"actionscript":   "ActionScript",
    19  	"actionscript3":  "ActionScript",
    20  	"actionscript_3": "ActionScript",
    21  	"ada":            "Ada",
    22  	"ada2005":        "Ada",
    23  	"ada95":          "Ada",
    24  	"adobe_composite_font_metrics": "Adobe Font Metrics",
    25  	"adobe_font_metrics":           "Adobe Font Metrics",
    26  	"adobe_multiple_font_metrics":  "Adobe Font Metrics",
    27  	"advpl":            "xBase",
    28  	"afdko":            "OpenType Feature File",
    29  	"agda":             "Agda",
    30  	"ags":              "AGS Script",
    31  	"ags_script":       "AGS Script",
    32  	"ahk":              "AutoHotkey",
    33  	"alloy":            "Alloy",
    34  	"alpine_abuild":    "Alpine Abuild",
    35  	"amfm":             "Adobe Font Metrics",
    36  	"ampl":             "AMPL",
    37  	"angelscript":      "AngelScript",
    38  	"ant_build_system": "Ant Build System",
    39  	"antlr":            "ANTLR",
    40  	"apache":           "ApacheConf",
    41  	"apacheconf":       "ApacheConf",
    42  	"apex":             "Apex",
    43  	"api_blueprint":    "API Blueprint",
    44  	"apkbuild":         "Alpine Abuild",
    45  	"apl":              "APL",
    46  	"apollo_guidance_computer":       "Apollo Guidance Computer",
    47  	"applescript":                    "AppleScript",
    48  	"arc":                            "Arc",
    49  	"arexx":                          "REXX",
    50  	"as3":                            "ActionScript",
    51  	"asciidoc":                       "AsciiDoc",
    52  	"asm":                            "Assembly",
    53  	"asn.1":                          "ASN.1",
    54  	"asp":                            "ASP",
    55  	"aspectj":                        "AspectJ",
    56  	"aspx":                           "ASP",
    57  	"aspx-vb":                        "ASP",
    58  	"assembly":                       "Assembly",
    59  	"asymptote":                      "Asymptote",
    60  	"ats":                            "ATS",
    61  	"ats2":                           "ATS",
    62  	"au3":                            "AutoIt",
    63  	"augeas":                         "Augeas",
    64  	"autoconf":                       "M4Sugar",
    65  	"autohotkey":                     "AutoHotkey",
    66  	"autoit":                         "AutoIt",
    67  	"autoit3":                        "AutoIt",
    68  	"autoitscript":                   "AutoIt",
    69  	"awk":                            "Awk",
    70  	"b3d":                            "BlitzBasic",
    71  	"ballerina":                      "Ballerina",
    72  	"bash":                           "Shell",
    73  	"bash_session":                   "ShellSession",
    74  	"bat":                            "Batchfile",
    75  	"batch":                          "Batchfile",
    76  	"batchfile":                      "Batchfile",
    77  	"befunge":                        "Befunge",
    78  	"bison":                          "Bison",
    79  	"bitbake":                        "BitBake",
    80  	"blade":                          "Blade",
    81  	"blitz3d":                        "BlitzBasic",
    82  	"blitzbasic":                     "BlitzBasic",
    83  	"blitzmax":                       "BlitzMax",
    84  	"blitzplus":                      "BlitzBasic",
    85  	"bluespec":                       "Bluespec",
    86  	"bmax":                           "BlitzMax",
    87  	"boo":                            "Boo",
    88  	"bplus":                          "BlitzBasic",
    89  	"brainfuck":                      "Brainfuck",
    90  	"brightscript":                   "Brightscript",
    91  	"bro":                            "Bro",
    92  	"bsdmake":                        "Makefile",
    93  	"byond":                          "DM",
    94  	"c":                              "C",
    95  	"c#":                             "C#",
    96  	"c++":                            "C++",
    97  	"c++-objdump":                    "Cpp-ObjDump",
    98  	"c-objdump":                      "C-ObjDump",
    99  	"c2hs":                           "C2hs Haskell",
   100  	"c2hs_haskell":                   "C2hs Haskell",
   101  	"cap'n_proto":                    "Cap'n Proto",
   102  	"carto":                          "CartoCSS",
   103  	"cartocss":                       "CartoCSS",
   104  	"ceylon":                         "Ceylon",
   105  	"cfc":                            "ColdFusion CFC",
   106  	"cfm":                            "ColdFusion",
   107  	"cfml":                           "ColdFusion",
   108  	"chapel":                         "Chapel",
   109  	"charity":                        "Charity",
   110  	"chpl":                           "Chapel",
   111  	"chuck":                          "ChucK",
   112  	"cirru":                          "Cirru",
   113  	"clarion":                        "Clarion",
   114  	"clean":                          "Clean",
   115  	"click":                          "Click",
   116  	"clipper":                        "xBase",
   117  	"clips":                          "CLIPS",
   118  	"clojure":                        "Clojure",
   119  	"closure_templates":              "Closure Templates",
   120  	"cloud_firestore_security_rules": "Cloud Firestore Security Rules",
   121  	"cmake":                    "CMake",
   122  	"cobol":                    "COBOL",
   123  	"coffee":                   "CoffeeScript",
   124  	"coffee-script":            "CoffeeScript",
   125  	"coffeescript":             "CoffeeScript",
   126  	"coldfusion":               "ColdFusion",
   127  	"coldfusion_cfc":           "ColdFusion CFC",
   128  	"coldfusion_html":          "ColdFusion",
   129  	"collada":                  "COLLADA",
   130  	"common_lisp":              "Common Lisp",
   131  	"common_workflow_language": "Common Workflow Language",
   132  	"component_pascal":         "Component Pascal",
   133  	"conll":                    "CoNLL-U",
   134  	"conll-u":                  "CoNLL-U",
   135  	"conll-x":                  "CoNLL-U",
   136  	"console":                  "ShellSession",
   137  	"cool":                     "Cool",
   138  	"coq":                      "Coq",
   139  	"cperl":                    "Perl",
   140  	"cpp":                      "C++",
   141  	"cpp-objdump":              "Cpp-ObjDump",
   142  	"creole":                   "Creole",
   143  	"crystal":                  "Crystal",
   144  	"csharp":                   "C#",
   145  	"cson":                     "CSON",
   146  	"csound":                   "Csound",
   147  	"csound-csd":               "Csound Document",
   148  	"csound-orc":               "Csound",
   149  	"csound-sco":               "Csound Score",
   150  	"csound_document":          "Csound Document",
   151  	"csound_score":             "Csound Score",
   152  	"css":                      "CSS",
   153  	"csv":                      "CSV",
   154  	"cucumber":                 "Gherkin",
   155  	"cuda":                     "Cuda",
   156  	"cweb":                     "CWeb",
   157  	"cwl":                      "Common Workflow Language",
   158  	"cycript":                  "Cycript",
   159  	"cython":                   "Cython",
   160  	"d":                        "D",
   161  	"d-objdump":                "D-ObjDump",
   162  	"darcs_patch":              "Darcs Patch",
   163  	"dart":                     "Dart",
   164  	"dataweave":                "DataWeave",
   165  	"dcl":                      "DIGITAL Command Language",
   166  	"delphi":                   "Component Pascal",
   167  	"desktop":                  "desktop",
   168  	"diff":                     "Diff",
   169  	"digital_command_language": "DIGITAL Command Language",
   170  	"django":                   "HTML+Django",
   171  	"dm":                       "DM",
   172  	"dns_zone":                 "DNS Zone",
   173  	"dockerfile":               "Dockerfile",
   174  	"dogescript":               "Dogescript",
   175  	"dosbatch":                 "Batchfile",
   176  	"dosini":                   "INI",
   177  	"dpatch":                   "Darcs Patch",
   178  	"dtrace":                   "DTrace",
   179  	"dtrace-script":            "DTrace",
   180  	"dylan":                    "Dylan",
   181  	"e":                        "E",
   182  	"eagle":                    "Eagle",
   183  	"easybuild":                "Easybuild",
   184  	"ebnf":                     "EBNF",
   185  	"ec":                       "eC",
   186  	"ecere_projects":           "Ecere Projects",
   187  	"ecl":                      "ECL",
   188  	"eclipse":                  "ECLiPSe",
   189  	"ecr":                      "HTML+ECR",
   190  	"edje_data_collection": "Edje Data Collection",
   191  	"edn":                 "edn",
   192  	"eeschema_schematic":  "KiCad Schematic",
   193  	"eex":                 "HTML+EEX",
   194  	"eiffel":              "Eiffel",
   195  	"ejs":                 "EJS",
   196  	"elisp":               "Emacs Lisp",
   197  	"elixir":              "Elixir",
   198  	"elm":                 "Elm",
   199  	"emacs":               "Emacs Lisp",
   200  	"emacs_lisp":          "Emacs Lisp",
   201  	"emberscript":         "EmberScript",
   202  	"eml":                 "EML",
   203  	"eq":                  "EQ",
   204  	"erb":                 "HTML+ERB",
   205  	"erlang":              "Erlang",
   206  	"f#":                  "F#",
   207  	"f*":                  "F*",
   208  	"factor":              "Factor",
   209  	"fancy":               "Fancy",
   210  	"fantom":              "Fantom",
   211  	"figfont":             "FIGlet Font",
   212  	"figlet_font":         "FIGlet Font",
   213  	"filebench_wml":       "Filebench WML",
   214  	"filterscript":        "Filterscript",
   215  	"fish":                "fish",
   216  	"flex":                "Lex",
   217  	"flux":                "FLUX",
   218  	"formatted":           "Formatted",
   219  	"forth":               "Forth",
   220  	"fortran":             "Fortran",
   221  	"foxpro":              "xBase",
   222  	"freemarker":          "FreeMarker",
   223  	"frege":               "Frege",
   224  	"fsharp":              "F#",
   225  	"fstar":               "F*",
   226  	"ftl":                 "FreeMarker",
   227  	"fundamental":         "Text",
   228  	"g-code":              "G-code",
   229  	"game_maker_language": "Game Maker Language",
   230  	"gams":                "GAMS",
   231  	"gap":                 "GAP",
   232  	"gcc_machine_description": "GCC Machine Description",
   233  	"gdb":             "GDB",
   234  	"gdscript":        "GDScript",
   235  	"genie":           "Genie",
   236  	"genshi":          "Genshi",
   237  	"gentoo_ebuild":   "Gentoo Ebuild",
   238  	"gentoo_eclass":   "Gentoo Eclass",
   239  	"gerber_image":    "Gerber Image",
   240  	"gettext_catalog": "Gettext Catalog",
   241  	"gf":              "Grammatical Framework",
   242  	"gherkin":         "Gherkin",
   243  	"git-ignore":      "Ignore List",
   244  	"git_attributes":  "Git Attributes",
   245  	"git_config":      "Git Config",
   246  	"gitattributes":   "Git Attributes",
   247  	"gitconfig":       "Git Config",
   248  	"gitignore":       "Ignore List",
   249  	"gitmodules":      "Git Config",
   250  	"glsl":            "GLSL",
   251  	"glyph":           "Glyph",
   252  	"glyph_bitmap_distribution_format": "Glyph Bitmap Distribution Format",
   253  	"gn":                      "GN",
   254  	"gnuplot":                 "Gnuplot",
   255  	"go":                      "Go",
   256  	"golang":                  "Go",
   257  	"golo":                    "Golo",
   258  	"gosu":                    "Gosu",
   259  	"grace":                   "Grace",
   260  	"gradle":                  "Gradle",
   261  	"grammatical_framework":   "Grammatical Framework",
   262  	"graph_modeling_language": "Graph Modeling Language",
   263  	"graphql":                 "GraphQL",
   264  	"graphviz_(dot)":          "Graphviz (DOT)",
   265  	"groff":                   "Roff",
   266  	"groovy":                  "Groovy",
   267  	"groovy_server_pages":     "Groovy Server Pages",
   268  	"gsp":                      "Groovy Server Pages",
   269  	"hack":                     "Hack",
   270  	"haml":                     "Haml",
   271  	"handlebars":               "Handlebars",
   272  	"haproxy":                  "HAProxy",
   273  	"harbour":                  "Harbour",
   274  	"haskell":                  "Haskell",
   275  	"haxe":                     "Haxe",
   276  	"hbs":                      "Handlebars",
   277  	"hcl":                      "HCL",
   278  	"hiveql":                   "HiveQL",
   279  	"hlsl":                     "HLSL",
   280  	"html":                     "HTML",
   281  	"html+django":              "HTML+Django",
   282  	"html+django/jinja":        "HTML+Django",
   283  	"html+ecr":                 "HTML+ECR",
   284  	"html+eex":                 "HTML+EEX",
   285  	"html+erb":                 "HTML+ERB",
   286  	"html+jinja":               "HTML+Django",
   287  	"html+php":                 "HTML+PHP",
   288  	"html+razor":               "HTML+Razor",
   289  	"html+ruby":                "RHTML",
   290  	"htmlbars":                 "Handlebars",
   291  	"htmldjango":               "HTML+Django",
   292  	"http":                     "HTTP",
   293  	"hxml":                     "HXML",
   294  	"hy":                       "Hy",
   295  	"hylang":                   "Hy",
   296  	"hyphy":                    "HyPhy",
   297  	"i7":                       "Inform 7",
   298  	"idl":                      "IDL",
   299  	"idris":                    "Idris",
   300  	"ignore":                   "Ignore List",
   301  	"ignore_list":              "Ignore List",
   302  	"igor":                     "IGOR Pro",
   303  	"igor_pro":                 "IGOR Pro",
   304  	"igorpro":                  "IGOR Pro",
   305  	"inc":                      "PHP",
   306  	"inform7":                  "Inform 7",
   307  	"inform_7":                 "Inform 7",
   308  	"ini":                      "INI",
   309  	"inno_setup":               "Inno Setup",
   310  	"io":                       "Io",
   311  	"ioke":                     "Ioke",
   312  	"ipython_notebook":         "Jupyter Notebook",
   313  	"irc":                      "IRC log",
   314  	"irc_log":                  "IRC log",
   315  	"irc_logs":                 "IRC log",
   316  	"isabelle":                 "Isabelle",
   317  	"isabelle_root":            "Isabelle ROOT",
   318  	"j":                        "J",
   319  	"jasmin":                   "Jasmin",
   320  	"java":                     "Java",
   321  	"java_properties":          "Java Properties",
   322  	"java_server_page":         "Groovy Server Pages",
   323  	"java_server_pages":        "Java Server Pages",
   324  	"javascript":               "JavaScript",
   325  	"jflex":                    "JFlex",
   326  	"jison":                    "Jison",
   327  	"jison_lex":                "Jison Lex",
   328  	"jolie":                    "Jolie",
   329  	"jruby":                    "Ruby",
   330  	"js":                       "JavaScript",
   331  	"json":                     "JSON",
   332  	"json5":                    "JSON5",
   333  	"json_with_comments":       "JSON with Comments",
   334  	"jsonc":                    "JSON with Comments",
   335  	"jsoniq":                   "JSONiq",
   336  	"jsonld":                   "JSONLD",
   337  	"jsp":                      "Java Server Pages",
   338  	"jsx":                      "JSX",
   339  	"julia":                    "Julia",
   340  	"jupyter_notebook":         "Jupyter Notebook",
   341  	"kicad_layout":             "KiCad Layout",
   342  	"kicad_legacy_layout":      "KiCad Legacy Layout",
   343  	"kicad_schematic":          "KiCad Schematic",
   344  	"kit":                      "Kit",
   345  	"kotlin":                   "Kotlin",
   346  	"krl":                      "KRL",
   347  	"labview":                  "LabVIEW",
   348  	"lasso":                    "Lasso",
   349  	"lassoscript":              "Lasso",
   350  	"latex":                    "TeX",
   351  	"latte":                    "Latte",
   352  	"lean":                     "Lean",
   353  	"less":                     "Less",
   354  	"lex":                      "Lex",
   355  	"lfe":                      "LFE",
   356  	"lhaskell":                 "Literate Haskell",
   357  	"lhs":                      "Literate Haskell",
   358  	"lilypond":                 "LilyPond",
   359  	"limbo":                    "Limbo",
   360  	"linker_script":            "Linker Script",
   361  	"linux_kernel_module":      "Linux Kernel Module",
   362  	"liquid":                   "Liquid",
   363  	"lisp":                     "Common Lisp",
   364  	"litcoffee":                "Literate CoffeeScript",
   365  	"literate_agda":            "Literate Agda",
   366  	"literate_coffeescript":    "Literate CoffeeScript",
   367  	"literate_haskell":         "Literate Haskell",
   368  	"live-script":              "LiveScript",
   369  	"livescript":               "LiveScript",
   370  	"llvm":                     "LLVM",
   371  	"logos":                    "Logos",
   372  	"logtalk":                  "Logtalk",
   373  	"lolcode":                  "LOLCODE",
   374  	"lookml":                   "LookML",
   375  	"loomscript":               "LoomScript",
   376  	"ls":                       "LiveScript",
   377  	"lsl":                      "LSL",
   378  	"ltspice_symbol":           "LTspice Symbol",
   379  	"lua":                      "Lua",
   380  	"m":                        "M",
   381  	"m4":                       "M4",
   382  	"m4sugar":                  "M4Sugar",
   383  	"macruby":                  "Ruby",
   384  	"make":                     "Makefile",
   385  	"makefile":                 "Makefile",
   386  	"mako":                     "Mako",
   387  	"man":                      "Roff",
   388  	"man-page":                 "Roff",
   389  	"man_page":                 "Roff",
   390  	"manpage":                  "Roff",
   391  	"markdown":                 "Markdown",
   392  	"marko":                    "Marko",
   393  	"markojs":                  "Marko",
   394  	"mask":                     "Mask",
   395  	"mathematica":              "Mathematica",
   396  	"matlab":                   "MATLAB",
   397  	"maven_pom":                "Maven POM",
   398  	"max":                      "Max",
   399  	"max/msp":                  "Max",
   400  	"maxmsp":                   "Max",
   401  	"maxscript":                "MAXScript",
   402  	"mdoc":                     "Roff",
   403  	"mediawiki":                "MediaWiki",
   404  	"mercury":                  "Mercury",
   405  	"meson":                    "Meson",
   406  	"metal":                    "Metal",
   407  	"mf":                       "Makefile",
   408  	"minid":                    "MiniD",
   409  	"mirah":                    "Mirah",
   410  	"mma":                      "Mathematica",
   411  	"modelica":                 "Modelica",
   412  	"modula-2":                 "Modula-2",
   413  	"modula-3":                 "Modula-3",
   414  	"module_management_system": "Module Management System",
   415  	"monkey":                   "Monkey",
   416  	"moocode":                  "Moocode",
   417  	"moonscript":               "MoonScript",
   418  	"mql4":                     "MQL4",
   419  	"mql5":                     "MQL5",
   420  	"mtml":                     "MTML",
   421  	"muf":                      "MUF",
   422  	"mumps":                    "M",
   423  	"mupad":                    "mupad",
   424  	"myghty":                   "Myghty",
   425  	"nanorc":                   "nanorc",
   426  	"nasm":                     "Assembly",
   427  	"ncl":                      "NCL",
   428  	"nearley":                  "Nearley",
   429  	"nemerle":                  "Nemerle",
   430  	"nesc":                     "nesC",
   431  	"netlinx":                  "NetLinx",
   432  	"netlinx+erb":              "NetLinx+ERB",
   433  	"netlogo":                  "NetLogo",
   434  	"newlisp":                  "NewLisp",
   435  	"nextflow":                 "Nextflow",
   436  	"nginx":                    "Nginx",
   437  	"nginx_configuration_file": "Nginx",
   438  	"nim":                   "Nim",
   439  	"ninja":                 "Ninja",
   440  	"nit":                   "Nit",
   441  	"nix":                   "Nix",
   442  	"nixos":                 "Nix",
   443  	"njk":                   "HTML+Django",
   444  	"nl":                    "NL",
   445  	"node":                  "JavaScript",
   446  	"nroff":                 "Roff",
   447  	"nsis":                  "NSIS",
   448  	"nu":                    "Nu",
   449  	"numpy":                 "NumPy",
   450  	"nunjucks":              "HTML+Django",
   451  	"nush":                  "Nu",
   452  	"nvim":                  "Vim script",
   453  	"obj-c":                 "Objective-C",
   454  	"obj-c++":               "Objective-C++",
   455  	"obj-j":                 "Objective-J",
   456  	"objc":                  "Objective-C",
   457  	"objc++":                "Objective-C++",
   458  	"objdump":               "ObjDump",
   459  	"objective-c":           "Objective-C",
   460  	"objective-c++":         "Objective-C++",
   461  	"objective-j":           "Objective-J",
   462  	"objectivec":            "Objective-C",
   463  	"objectivec++":          "Objective-C++",
   464  	"objectivej":            "Objective-J",
   465  	"objectpascal":          "Component Pascal",
   466  	"objj":                  "Objective-J",
   467  	"ocaml":                 "OCaml",
   468  	"octave":                "MATLAB",
   469  	"omgrofl":               "Omgrofl",
   470  	"oncrpc":                "RPC",
   471  	"ooc":                   "ooc",
   472  	"opa":                   "Opa",
   473  	"opal":                  "Opal",
   474  	"opencl":                "OpenCL",
   475  	"openedge":              "OpenEdge ABL",
   476  	"openedge_abl":          "OpenEdge ABL",
   477  	"openrc":                "OpenRC runscript",
   478  	"openrc_runscript":      "OpenRC runscript",
   479  	"openscad":              "OpenSCAD",
   480  	"opentype_feature_file": "OpenType Feature File",
   481  	"org":                            "Org",
   482  	"osascript":                      "AppleScript",
   483  	"ox":                             "Ox",
   484  	"oxygene":                        "Oxygene",
   485  	"oz":                             "Oz",
   486  	"p4":                             "P4",
   487  	"pan":                            "Pan",
   488  	"pandoc":                         "Markdown",
   489  	"papyrus":                        "Papyrus",
   490  	"parrot":                         "Parrot",
   491  	"parrot_assembly":                "Parrot Assembly",
   492  	"parrot_internal_representation": "Parrot Internal Representation",
   493  	"pascal":               "Pascal",
   494  	"pasm":                 "Parrot Assembly",
   495  	"pawn":                 "Pawn",
   496  	"pcbnew":               "KiCad Layout",
   497  	"pep8":                 "Pep8",
   498  	"perl":                 "Perl",
   499  	"perl6":                "Perl 6",
   500  	"perl_6":               "Perl 6",
   501  	"php":                  "PHP",
   502  	"pic":                  "Pic",
   503  	"pickle":               "Pickle",
   504  	"picolisp":             "PicoLisp",
   505  	"piglatin":             "PigLatin",
   506  	"pike":                 "Pike",
   507  	"pir":                  "Parrot Internal Representation",
   508  	"plpgsql":              "PLpgSQL",
   509  	"plsql":                "PLSQL",
   510  	"pod":                  "Pod",
   511  	"pod_6":                "Pod 6",
   512  	"pogoscript":           "PogoScript",
   513  	"pony":                 "Pony",
   514  	"posh":                 "PowerShell",
   515  	"postcss":              "PostCSS",
   516  	"postscr":              "PostScript",
   517  	"postscript":           "PostScript",
   518  	"pot":                  "Gettext Catalog",
   519  	"pov-ray":              "POV-Ray SDL",
   520  	"pov-ray_sdl":          "POV-Ray SDL",
   521  	"povray":               "POV-Ray SDL",
   522  	"powerbuilder":         "PowerBuilder",
   523  	"powershell":           "PowerShell",
   524  	"processing":           "Processing",
   525  	"progress":             "OpenEdge ABL",
   526  	"prolog":               "Prolog",
   527  	"propeller_spin":       "Propeller Spin",
   528  	"protobuf":             "Protocol Buffer",
   529  	"protocol_buffer":      "Protocol Buffer",
   530  	"protocol_buffers":     "Protocol Buffer",
   531  	"public_key":           "Public Key",
   532  	"pug":                  "Pug",
   533  	"puppet":               "Puppet",
   534  	"pure_data":            "Pure Data",
   535  	"purebasic":            "PureBasic",
   536  	"purescript":           "PureScript",
   537  	"pwsh":                 "PowerShell",
   538  	"pycon":                "Python console",
   539  	"pyrex":                "Cython",
   540  	"python":               "Python",
   541  	"python3":              "Python",
   542  	"python_console":       "Python console",
   543  	"python_traceback":     "Python traceback",
   544  	"q":                    "q",
   545  	"qmake":                "QMake",
   546  	"qml":                  "QML",
   547  	"quake":                "Quake",
   548  	"r":                    "R",
   549  	"racket":               "Racket",
   550  	"ragel":                "Ragel",
   551  	"ragel-rb":             "Ragel",
   552  	"ragel-ruby":           "Ragel",
   553  	"rake":                 "Ruby",
   554  	"raml":                 "RAML",
   555  	"rascal":               "Rascal",
   556  	"raw":                  "Raw token data",
   557  	"raw_token_data":       "Raw token data",
   558  	"razor":                "HTML+Razor",
   559  	"rb":                   "Ruby",
   560  	"rbx":                  "Ruby",
   561  	"rdoc":                 "RDoc",
   562  	"realbasic":            "REALbasic",
   563  	"reason":               "Reason",
   564  	"rebol":                "Rebol",
   565  	"red":                  "Red",
   566  	"red/system":           "Red",
   567  	"redcode":              "Redcode",
   568  	"regex":                "Regular Expression",
   569  	"regexp":               "Regular Expression",
   570  	"regular_expression":   "Regular Expression",
   571  	"ren'py":               "Ren'Py",
   572  	"renderscript":         "RenderScript",
   573  	"renpy":                "Ren'Py",
   574  	"restructuredtext":     "reStructuredText",
   575  	"rexx":                 "REXX",
   576  	"rhtml":                "RHTML",
   577  	"ring":                 "Ring",
   578  	"rmarkdown":            "RMarkdown",
   579  	"robotframework":       "RobotFramework",
   580  	"roff":                 "Roff",
   581  	"roff_manpage":         "Roff Manpage",
   582  	"rouge":                "Rouge",
   583  	"rpc":                  "RPC",
   584  	"rpcgen":               "RPC",
   585  	"rpm_spec":             "RPM Spec",
   586  	"rs-274x":              "Gerber Image",
   587  	"rscript":              "R",
   588  	"rss":                  "XML",
   589  	"rst":                  "reStructuredText",
   590  	"ruby":                 "Ruby",
   591  	"runoff":               "RUNOFF",
   592  	"rust":                 "Rust",
   593  	"rusthon":              "Python",
   594  	"sage":                 "Sage",
   595  	"salt":                 "SaltStack",
   596  	"saltstack":            "SaltStack",
   597  	"saltstate":            "SaltStack",
   598  	"sas":                  "SAS",
   599  	"sass":                 "Sass",
   600  	"scala":                "Scala",
   601  	"scaml":                "Scaml",
   602  	"scheme":               "Scheme",
   603  	"scilab":               "Scilab",
   604  	"scss":                 "SCSS",
   605  	"sed":                  "sed",
   606  	"self":                 "Self",
   607  	"sh":                   "Shell",
   608  	"shaderlab":            "ShaderLab",
   609  	"shell":                "Shell",
   610  	"shell-script":         "Shell",
   611  	"shellsession":         "ShellSession",
   612  	"shen":                 "Shen",
   613  	"slash":                "Slash",
   614  	"slice":                "Slice",
   615  	"slim":                 "Slim",
   616  	"smali":                "Smali",
   617  	"smalltalk":            "Smalltalk",
   618  	"smarty":               "Smarty",
   619  	"sml":                  "Standard ML",
   620  	"smt":                  "SMT",
   621  	"snippet":              "YASnippet",
   622  	"solidity":             "Solidity",
   623  	"sourcemod":            "SourcePawn",
   624  	"sourcepawn":           "SourcePawn",
   625  	"soy":                  "Closure Templates",
   626  	"sparql":               "SPARQL",
   627  	"specfile":             "RPM Spec",
   628  	"spline_font_database": "Spline Font Database",
   629  	"splus":                "R",
   630  	"sqf":                  "SQF",
   631  	"sql":                  "SQL",
   632  	"sqlpl":                "SQLPL",
   633  	"squeak":               "Smalltalk",
   634  	"squirrel":             "Squirrel",
   635  	"srecode_template":     "SRecode Template",
   636  	"stan":                 "Stan",
   637  	"standard_ml":          "Standard ML",
   638  	"stata":                "Stata",
   639  	"ston":                 "STON",
   640  	"stylus":               "Stylus",
   641  	"subrip_text":          "SubRip Text",
   642  	"sugarss":              "SugarSS",
   643  	"supercollider":        "SuperCollider",
   644  	"svg":                  "SVG",
   645  	"swift":                "Swift",
   646  	"systemverilog":        "SystemVerilog",
   647  	"tcl":                  "Tcl",
   648  	"tcsh":                 "Tcsh",
   649  	"tea":                  "Tea",
   650  	"terra":                "Terra",
   651  	"terraform":            "HCL",
   652  	"tex":                  "TeX",
   653  	"text":                 "Text",
   654  	"textile":              "Textile",
   655  	"thrift":               "Thrift",
   656  	"ti_program":           "TI Program",
   657  	"tl":                   "Type Language",
   658  	"tla":                  "TLA",
   659  	"toml":                 "TOML",
   660  	"troff":                "Roff",
   661  	"ts":                   "TypeScript",
   662  	"turing":               "Turing",
   663  	"turtle":               "Turtle",
   664  	"twig":                 "Twig",
   665  	"txl":                  "TXL",
   666  	"type_language":        "Type Language",
   667  	"typescript":           "TypeScript",
   668  	"udiff":                "Diff",
   669  	"unified_parallel_c":   "Unified Parallel C",
   670  	"unity3d_asset":        "Unity3D Asset",
   671  	"unix_assembly":        "Unix Assembly",
   672  	"uno":                  "Uno",
   673  	"unrealscript":         "UnrealScript",
   674  	"ur":                   "UrWeb",
   675  	"ur/web":               "UrWeb",
   676  	"urweb":                "UrWeb",
   677  	"vala":                 "Vala",
   678  	"vb.net":               "Visual Basic",
   679  	"vbnet":                "Visual Basic",
   680  	"vcl":                  "VCL",
   681  	"verilog":              "Verilog",
   682  	"vhdl":                 "VHDL",
   683  	"vim":                  "Vim script",
   684  	"vim_script":           "Vim script",
   685  	"viml":                 "Vim script",
   686  	"visual_basic":         "Visual Basic",
   687  	"volt":                 "Volt",
   688  	"vue":                  "Vue",
   689  	"wasm":                 "WebAssembly",
   690  	"wast":                 "WebAssembly",
   691  	"wavefront_material":   "Wavefront Material",
   692  	"wavefront_object":     "Wavefront Object",
   693  	"wdl":                  "wdl",
   694  	"web_ontology_language":    "Web Ontology Language",
   695  	"webassembly":              "WebAssembly",
   696  	"webidl":                   "WebIDL",
   697  	"winbatch":                 "Batchfile",
   698  	"windows_registry_entries": "Windows Registry Entries",
   699  	"wisp": "wisp",
   700  	"world_of_warcraft_addon_data": "World of Warcraft Addon Data",
   701  	"wsdl":                   "XML",
   702  	"x10":                    "X10",
   703  	"x_bitmap":               "X BitMap",
   704  	"x_font_directory_index": "X Font Directory Index",
   705  	"x_pixmap":               "X PixMap",
   706  	"xbase":                  "xBase",
   707  	"xbm":                    "X BitMap",
   708  	"xc":                     "XC",
   709  	"xcompose":               "XCompose",
   710  	"xdr":                    "RPC",
   711  	"xhtml":                  "HTML",
   712  	"xml":                    "XML",
   713  	"xml+genshi":             "Genshi",
   714  	"xml+kid":                "Genshi",
   715  	"xojo":                   "Xojo",
   716  	"xpages":                 "XPages",
   717  	"xpm":                    "X PixMap",
   718  	"xproc":                  "XProc",
   719  	"xquery":                 "XQuery",
   720  	"xs":                     "XS",
   721  	"xsd":                    "XML",
   722  	"xsl":                    "XSLT",
   723  	"xslt":                   "XSLT",
   724  	"xten":                   "X10",
   725  	"xtend":                  "Xtend",
   726  	"yacc":                   "Yacc",
   727  	"yaml":                   "YAML",
   728  	"yang":                   "YANG",
   729  	"yara":                   "YARA",
   730  	"yas":                    "YASnippet",
   731  	"yasnippet":              "YASnippet",
   732  	"yml":                    "YAML",
   733  	"zephir":                 "Zephir",
   734  	"zig":                    "Zig",
   735  	"zimpl":                  "Zimpl",
   736  	"zsh":                    "Shell",
   737  }
   738  
   739  // LanguageByAlias looks up the language name by it's alias or name.
   740  // It mirrors the logic of github linguist and is needed e.g for heuristcs.yml
   741  // that mixes names and aliases in a language field (see XPM example).
   742  func LanguageByAlias(langOrAlias string) (lang string, ok bool) {
   743  	k := convertToAliasKey(langOrAlias)
   744  	lang, ok = LanguageByAliasMap[k]
   745  	return
   746  }
   747  
   748  // convertToAliasKey converts language name to a key in LanguageByAliasMap.
   749  // Following
   750  //  - internal.code-generator.generator.convertToAliasKey()
   751  //  - GetLanguageByAlias()
   752  // conventions.
   753  // It is here to avoid dependency on "generate" and "enry" packages.
   754  func convertToAliasKey(langName string) string {
   755  	ak := strings.SplitN(langName, `,`, 2)[0]
   756  	ak = strings.Replace(ak, ` `, `_`, -1)
   757  	ak = strings.ToLower(ak)
   758  	return ak
   759  }