languages.yml

This is the list of languages Crycco can process.

I mean, I have not tested them but I copied this file from Docco's repository, and Crycco uses more or less the same algorithm, so it should work 😀

At the bottom you can see the entry for YAML, so if you are reading this in a web page ... it means it worked!

The file is in YAML format, and it is a dictionary of dictionaries. The key is the extension of the file, and the value is a dictionary with the data needed to process that language.

The data currently is just the name of the language (for HighlightJS) and the comment symbol.

".cr":
  name: crystal
  symbol: "#"
".applescript":
  name: applescript
  symbol: "--"
".as":
  name: actionscript
  symbol: "//"
".asm":
  name: assembly
  symbol: ";"
".asp":
  name: vbscript
  symbol: "'"
".bat":
  name: dos
  symbol: "@?rem"
".btm":
  name: dos
  symbol: "@?rem"
".c":
  name: c
  symbol: "//"
".clj":
  name: clojure
  symbol: ";"
".cls":
  name: tex
  symbol: "%"
".cmake":
  name: cmake
  symbol: "#"
".cmd":
  name: dos
  symbol: "@?rem"
".coffee":
  name: coffeescript
  symbol: "#"
".cjsx":
  name: coffeescript
  symbol: "#"
".cpp":
  name: cpp
  symbol: "//"
".cs":
  name: cs
  symbol: "//"
".cson":
  name: coffeescript
  symbol: "#"
".d":
  name: d
  symbol: "//"
".dart":
  name: dart
  symbol: "///"
".dtx":
  name: tex
  symbol: "%"
".erl":
  name: erlang
  symbol: "%"
".f":
  name: fortran
  symbol: "!"
".for":
  name: fortran
  symbol: "!"
".frag":
  name: glsl
  symbol: "//"
".glsl":
  name: glsl
  symbol: "//"
".go":
  name: go
  symbol: "//"
".groovy":
  name: groovy
  symbol: "//"
".h":
  name: objectivec
  symbol: "//"
".hpp":
  name: cpp
  symbol: "//"
".hrl":
  name: erlang
  symbol: "%"
".hs":
  name: haskell
  symbol: "--"
".ini":
  name: ini
  symbol: ";"
".jade":
  name: jade
  symbol: "//-"
".js":
  name: javascript
  symbol: "//"
".jsm":
  name: javascript
  symbol: "//"
".json5":
  name: javascript
  symbol: "//"
".jsx":
  name: javascript
  symbol: "//"
".java":
  name: java
  symbol: "//"
".latex":
  name: tex
  symbol: "%"
".less":
  name: less
  symbol: "//"
".lisp":
  name: lisp
  symbol: ";"
".litcoffee":
  name: coffeescript
  symbol: "#"
  literate: true
".ls":
  name: coffeescript
  symbol: "#"
".lua":
  name: lua
  symbol: "--"
".n":
  name: nemerle
  symbol: "//"
".m":
  name: objectivec
  symbol: "//"
".mel":
  name: mel
  symbol: "//"
".markdown":
  name: markdown
  symbol: ''
".md":
  name: markdown
  symbol: ''
".mm":
  name: objectivec
  symbol: "//"
".p":
  name: delphi
  symbol: "//"
".pas":
  name: delphi
  symbol: "//"
".php":
  name: php
  symbol: "//"
".pl":
  name: perl
  symbol: "#"
".pm":
  name: perl
  symbol: "#"
".pod":
  name: perl
  symbol: "#"
".pp":
  name: delphi
  symbol: "//"
".py":
  name: python
  symbol: "#"
".rb":
  name: ruby
  symbol: "#"
".tex":
  name: tex
  symbol: "%"
".scala":
  name: scala
  symbol: "//"
".scpt":
  name: applescript
  symbol: "--"
".scss":
  name: scss
  symbol: "//"
".sh":
  name: bash
  symbol: "#"
".sql":
  name: sql
  symbol: "--"
".sty":
  name: tex
  symbol: "%"
".styl":
  name: stylus
  symbol: "//"
".stylus":
  name: stylus
  symbol: "//"
".swift":
  name: swift
  symbol: "//"
".t":
  name: perl
  symbol: "#"
".ts":
  name: typescript
  symbol: "//"
".v":
  name: verilog
  symbol: "//"
".vala":
  name: vala
  symbol: "//"
".vapi":
  name: vala
  symbol: "//"
".vbe":
  name: vbscript
  symbol: "'"
".vbs":
  name: vbscript
  symbol: "'"
".vert":
  name: glsl
  symbol: "//"
".vhdl":
  name: vhdl
  symbol: "--"
".vim":
  name: vim
  symbol: "\""
".vue":
  name: vuejs
  symbol: "//"
".r":
  name: r
  symbol: "#"
".rc":
  name: rust
  symbol: "//"
".rs":
  name: rust
  symbol: "//"
".wsc":
  name: vbscript
  symbol: "'"
".wsf":
  name: vbscript
  symbol: "'"
".yml":
  name: yaml
  symbol: "#"
".yaml":
  name: yaml
  symbol: "#"