Skip to content

Instantly share code, notes, and snippets.

@kuanyui
Last active August 29, 2015 14:00
Show Gist options
  • Save kuanyui/11113216 to your computer and use it in GitHub Desktop.
Save kuanyui/11113216 to your computer and use it in GitHub Desktop.
;; All Languages known to GitHub and their extensions.
;; Source: https://github.com/github/linguist/blob/master/lib/linguist/languages.yml
'(("ABAP" . (".abap"))
("ANTLR" . (".g4"))
("ASP" . (".asp" ".asax" ".ascx" ".ashx" ".asmx" ".aspx" ".axd"))
("ATS" . (".dats" ".atxt" ".hats" ".sats"))
("ActionScript" . (".as"))
("Ada" . (".adb" ".ads"))
("Agda" . (".agda"))
("ApacheConf" . (".apacheconf"))
("Apex" . (".cls"))
("AppleScript" . (".applescript" ".scpt"))
("Arc" . (".arc"))
("Arduino" . (".ino"))
("AsciiDoc" . (".asciidoc" ".adoc" ".asc"))
("Assembly" . (".asm"))
("Augeas" . (".aug"))
("AutoHotkey" . (".ahk"))
("AutoIt" . (".au3"))
("Awk" . (".awk" ".auk" ".gawk" ".mawk" ".nawk"))
("Bash" . (".sh" ".bats" ".tmux"))
("Batchfile" . (".bat" ".cmd"))
("Befunge" . (".befunge"))
("BlitzBasic" . (".bb" ".decls"))
("BlitzMax" . (".bmx"))
("Bluespec" . (".bsv"))
("Boo" . (".boo"))
("Brainfuck" . (".b" ".bf"))
("Brightscript" . (".brs"))
("Bro" . (".bro"))
("C" . (".c" ".cats" ".w"))
("C#" . (".cs" ".cshtml" ".csx"))
("C++" . (".cpp" ".C" ".c++" ".cc" ".cxx" ".H" ".h++" ".hh" ".hpp" ".hxx" ".tcc" ".tpp"))
("C-ObjDump" . (".c-objdump"))
("C2hs Haskell" . (".chs"))
("CLIPS" . (".clp"))
("CMake" . (".cmake" ".cmake.in"))
("COBOL" . (".cob" ".cbl" ".ccp" ".cobol" ".cpy"))
("CSS" . (".css"))
("Ceylon" . (".ceylon"))
("ChucK" . (".ck"))
("Cirru" . (".cirru" ".cr"))
("Clean" . (".icl" ".dcl"))
("Clojure" . (".clj" ".cl2" ".cljc" ".cljs" ".cljscm" ".cljx" ".hic" ".cljs.hl"))
("CoffeeScript" . (".coffee" "._coffee" ".cson" ".iced"))
("ColdFusion" . (".cfm" ".cfc"))
("Common Lisp" . (".lisp" ".asd" ".cl" ".lsp" ".ny" ".podsl"))
("Coq" . (".coq"))
("Cpp-ObjDump" . (".cppobjdump" ".c++objdump" ".cxx-objdump"))
("Creole" . (".creole"))
("Crystal" . (".cr"))
("Cucumber" . (".feature"))
("Cuda" . (".cu" ".cuh"))
("Cython" . (".pyx" ".pxd" ".pxi"))
("D" . (".d" ".di"))
("D-ObjDump" . (".d-objdump"))
("DM" . (".dm"))
("DOT" . (".dot" ".gv"))
("Darcs Patch" . (".darcspatch" ".dpatch"))
("Dart" . (".dart"))
("DCPU-16 ASM" . (".dasm16" ".dasm"))
("Diff" . (".diff"))
("Dylan" . (".dylan" ".intr" ".lid"))
("Ecere Projects" . (".epj"))
("ECL" . (".ecl" ".eclxml"))
("Eiffel" . (".e"))
("Elixir" . (".ex" ".exs"))
("Elm" . (".elm"))
("Emacs Lisp" . (".el"))
("Erlang" . (".erl" ".hrl"))
("F#" . (".fs" ".fsi" ".fsx"))
("FLUX" . (".fx" ".flux"))
("FORTRAN" . (".f90" ".F" ".F03" ".F08" ".F77" ".F90" ".F95" ".FOR" ".FPP" ".f" ".f03" ".f08" ".f77" ".f95" ".for" ".fpp"))
("Factor" . (".factor"))
("Fancy" . (".fy" ".fancypack"))
("Fantom" . (".fan"))
("Forth" . (".fth" ".4th"))
("GAS" . (".s" ".S"))
("GLSL" . (".glsl" ".fp" ".frag" ".geom" ".glslv" ".shader" ".vert"))
("Genshi" . (".kid"))
("Gentoo Ebuild" . (".ebuild"))
("Gentoo Eclass" . (".eclass"))
("Gettext Catalog" . (".po" ".pot"))
("Glyph" . (".glf"))
("Go" . (".go"))
("Gosu" . (".gs"))
("Groff" . (".man" "..1" "..2" "..3" "..4" "..5" "..6" "..7"))
("Groovy" . (".groovy"))
("Groovy Server Pages" . (".gsp"))
("HTML" . (".html" ".htm" ".xhtml" ".html.hl"))
("HTML+Django" . (".mustache" ".jinja" ".mustache"))
("HTML+ERB" . (".erb" ".erb.deface" ".html.erb" ".html.erb.deface"))
("HTML+PHP" . (".phtml"))
("HTTP" . (".http"))
("Haml" . (".haml" ".haml.deface" ".html.haml.deface"))
("Handlebars" . (".handlebars" ".hbs" ".html.handlebars" ".html.hbs"))
("Harbour" . (".hb"))
("Haskell" . (".hs" ".hsc"))
("Haxe" . (".hx" ".hxsl"))
("Hy" . (".hy"))
("IDL" . (".pro"))
("INI" . (".ini"))
("Idris" . (".idr" ".lidr"))
("Inno Setup" . (".iss"))
("IRC log" . (".irclog" ".weechatlog"))
("Io" . (".io"))
("Ioke" . (".ik"))
("J" . (".ijs"))
("JSON" . (".json" ".sublime-keymap" ".sublime_metrics" ".sublime-mousemap" ".sublime-project" ".sublime_session" ".sublime-settings" ".sublime-workspace"))
("JSON5" . (".json5"))
("JSONLD" . (".jsonld"))
("Jade" . (".jade"))
("Java" . (".java"))
("Java" . (".jsp"))
("JavaScript" . (".js" "._js" ".bones" ".es6" ".jake" ".jsfl" ".jsm" ".jss" ".jsx" ".njs" ".pac" ".sjs" ".ssjs"))
("Julia" . (".jl"))
("KRL" . (".krl"))
("Kotlin" . (".kt" ".ktm" ".kts"))
("LFE" . (".lfe"))
("LLVM" . (".ll"))
("Lasso" . (".lasso"))
("Less" . (".less"))
("LilyPond" . (".ly" ".ily"))
("Literate Agda" . (".lagda"))
("Literate CoffeeScript" . (".litcoffee"))
("Literate Haskell" . (".lhs"))
("LiveScript" . (".ls" "._ls"))
("Logos" . (".xm"))
("Logtalk" . (".lgt" ".logtalk"))
("Lua" . (".lua" ".nse" ".rbxs"))
("M" . (".mumps" ".m"))
("Makefile" . (".mak"))
("Mako" . (".mako" ".mao"))
("Markdown" . (".md" ".markdown" ".mkd" ".mkdown" ".ron"))
("Mask" . (".mask"))
("Matlab" . (".matlab"))
("Max" . (".maxpat" ".maxhelp" ".maxproj" ".mxt" ".pat"))
("MediaWiki" . (".mediawiki"))
("MiniD" . (".minid"))
("Mirah" . (".druby" ".duby" ".mir" ".mirah"))
("Monkey" . (".monkey"))
("Moocode" . (".moo"))
("MoonScript" . (".moon"))
("Myghty" . (".myt"))
("NSIS" . (".nsi"))
("Nemerle" . (".n"))
("NetLogo" . (".nlogo"))
("Nginx" . (".nginxconf"))
("Nimrod" . (".nim" ".nimrod"))
("Nu" . (".nu"))
("NumPy" . (".numpy" ".numpyw" ".numsc"))
("OCaml" . (".ml" ".eliomi" ".ml4" ".mli" ".mll" ".mly"))
("ObjDump" . (".objdump"))
("Objective-C" . (".m" ".mm"))
("Objective-J" . (".j" ".sj"))
("Omgrofl" . (".omgrofl"))
("Opa" . (".opa"))
("OpenCL" . (".cl" ".opencl"))
("OpenEdge ABL" . (".p"))
("Org" . (".org"))
("Oxygene" . (".oxygene"))
("PAWN" . (".pwn"))
("PHP" . (".php" ".aw" ".ctp" ".php3" ".php4" ".php5" ".phpt"))
("Parrot" . (".parrot"))
("Parrot Internal Representation" . (".pir"))
("Parrot Assembly" . (".pasm"))
("Pascal" . (".pas" ".dfm" ".lpr"))
("Perl" . (".pl" ".PL" ".perl" ".ph" ".plx" ".pm" ".pod" ".psgi"))
("Perl6" . (".p6" ".6pl" ".6pm" ".nqp" ".p6l" ".p6m" ".pl6" ".pm6"))
("Pike" . (".pike" ".pmod"))
("Pod" . (".pod"))
("PogoScript" . (".pogo"))
("PostScript" . (".ps" ".eps"))
("PowerShell" . (".ps1" ".psd1" ".psm1"))
("Processing" . (".pde"))
("Prolog" . (".prolog" ".ecl"))
("Protocol Buffer" . (".proto"))
("Puppet" . (".pp"))
("Pure Data" . (".pd"))
("Python" . (".py" ".gyp" ".lmi" ".pyt" ".pyw" ".wsgi" ".xpy"))
("Python traceback" . (".pytb"))
("QML" . (".qml"))
("R" . (".r" ".R" ".rsx"))
("RDoc" . (".rdoc"))
("REALbasic" . (".rbbas" ".rbfrm" ".rbmnu" ".rbres" ".rbtbar" ".rbuistate"))
("RHTML" . (".rhtml"))
("RMarkdown" . (".rmd" ".Rmd"))
("Racket" . (".rkt" ".rktd" ".rktl"))
("Ragel in Ruby Host" . (".rl"))
("Raw token data" . (".raw"))
("Rebol" . (".rebol" ".r2" ".r3"))
("Redcode" . (".cw"))
("RobotFramework" . (".robot"))
("Rouge" . (".rg"))
("Ruby" . (".rb" ".builder" ".gemspec" ".god" ".irbrc" ".mspec" ".podspec" ".rbuild" ".rbw" ".rbx" ".ru" ".thor" ".watchr"))
("Rust" . (".rs"))
("SCSS" . (".scss"))
("SQL" . (".sql"))
("Sage" . (".sage"))
("Sass" . (".sass"))
("Scala" . (".scala" ".sc"))
("Scaml" . (".scaml"))
("Scheme" . (".scm" ".sld" ".sls" ".ss"))
("Scilab" . (".sci"))
("Self" . (".self"))
("Shen" . (".shen"))
("Slash" . (".sl"))
("Smalltalk" . (".st"))
("Smarty" . (".tpl"))
("Squirrel" . (".nut"))
("Standard ML" . (".sml" ".fun"))
("Stylus" . (".styl"))
("SuperCollider" . (".scd"))
("TOML" . (".toml"))
("TXL" . (".txl"))
("Tcl" . (".tcl" ".adp"))
("Tcsh" . (".tcsh" ".csh"))
("TeX" . (".tex" ".aux" ".bib" ".cls" ".dtx" ".ins" ".ltx" ".mkii" ".mkiv" ".mkvi" ".sty" ".toc"))
("Tea" . (".tea"))
("Textile" . (".textile"))
("Turing" . (".t" ".tu"))
("Twig" . (".twig"))
("TypeScript" . (".ts"))
("Unified Parallel C" . (".upc"))
("UnrealScript" . (".uc"))
("VHDL" . (".vhdl" ".vhd" ".vhf" ".vhi" ".vho" ".vhs" ".vht" ".vhw"))
("Vala" . (".vala" ".vapi"))
("Verilog" . (".v" ".veo"))
("VimL" . (".vim"))
("Visual Basic" . (".vb" ".bas" ".frm" ".frx" ".vba" ".vbhtml" ".vbs"))
("Volt" . (".volt"))
("XC" . (".xc"))
("XML" . (".xml" ".axml" ".ccxml" ".clixml" ".cproject" ".dita" ".ditamap" ".ditaval" ".glade" ".grxml" ".jelly" ".kml" ".launch" ".mxml" ".osm" ".plist" ".pluginspec" ".ps1xml" ".psc1" ".pt" ".rdf" ".rss" ".scxml" ".srdf" ".svg" ".tmCommand" ".tmLanguage" ".tmPreferences" ".tmSnippet" ".tmTheme" ".tml" ".ui" ".urdf" ".vxml" ".wsdl" ".wxi" ".wxl" ".wxs" ".x3d" ".xacro" ".xaml" ".xlf" ".xliff" ".xmi" ".xsd" ".xul" ".zcml"))
("XProc" . (".xpl" ".xproc"))
("XQuery" . (".xquery" ".xq" ".xql" ".xqm" ".xqy"))
("XS" . (".xs"))
("XSLT" . (".xslt" ".xsl"))
("Xtend" . (".xtend"))
("YAML" . (".yml" ".reek" ".rviz" ".yaml"))
("eC" . (".ec" ".eh"))
("edn" . (".edn"))
("fish" . (".fish"))
("mupad" . (".mu"))
("nesC" . (".nc"))
("ooc" . (".ooc"))
("reStructuredText" . (".rst" ".rest"))
("wisp" . (".wisp"))
("xBase" . (".prg")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment