From 116d1583360a424875c0cda1d0a17cbea65c4d8c Mon Sep 17 00:00:00 2001 From: Ted Nyman Date: Fri, 15 Feb 2013 18:48:05 -0800 Subject: [PATCH] Update samples.json --- lib/linguist/samples.json | 233 +++++++++++++++++++++++++++++++++++--- 1 file changed, 215 insertions(+), 18 deletions(-) diff --git a/lib/linguist/samples.json b/lib/linguist/samples.json index 49448843..b10a7b35 100644 --- a/lib/linguist/samples.json +++ b/lib/linguist/samples.json @@ -50,6 +50,9 @@ "Emacs Lisp": [ ".el" ], + "fish": [ + ".fish" + ], "Forth": [ ".forth", ".fth" @@ -235,7 +238,8 @@ ".sml" ], "SuperCollider": [ - ".sc" + ".sc", + ".scd" ], "Tea": [ ".tea" @@ -319,8 +323,8 @@ ".gemrc" ] }, - "tokens_total": 300874, - "languages_total": 334, + "tokens_total": 301643, + "languages_total": 338, "tokens": { "ApacheConf": { "ServerSignature": 1, @@ -9848,6 +9852,162 @@ "print": 1, ")": 1 }, + "fish": { + "#": 18, + "set": 49, + "-": 102, + "g": 1, + "IFS": 4, + "n": 5, + "t": 2, + "l": 15, + "configdir": 2, + "/.config": 1, + "if": 21, + "q": 9, + "XDG_CONFIG_HOME": 2, + "end": 33, + "not": 8, + "fish_function_path": 4, + "configdir/fish/functions": 1, + "__fish_sysconfdir/functions": 1, + "__fish_datadir/functions": 3, + "contains": 4, + "[": 13, + "]": 13, + "fish_complete_path": 4, + "configdir/fish/completions": 1, + "__fish_sysconfdir/completions": 1, + "__fish_datadir/completions": 3, + "test": 7, + "d": 3, + "/usr/xpg4/bin": 3, + "PATH": 6, + "path_list": 4, + "/bin": 1, + "/usr/bin": 1, + "/usr/X11R6/bin": 1, + "/usr/local/bin": 1, + "__fish_bin_dir": 1, + "switch": 3, + "USER": 1, + "case": 9, + "root": 1, + "/sbin": 1, + "/usr/sbin": 1, + "/usr/local/sbin": 1, + "for": 1, + "i": 5, + "in": 2, + "function": 6, + "fish_sigtrap_handler": 1, + "on": 2, + "signal": 1, + "TRAP": 1, + "no": 2, + "scope": 1, + "shadowing": 1, + "description": 2, + "breakpoint": 1, + "__fish_on_interactive": 2, + "event": 1, + "fish_prompt": 1, + "__fish_config_interactive": 1, + "functions": 5, + "e": 6, + "eval": 5, + "S": 1, + "If": 2, + "we": 2, + "are": 1, + "an": 1, + "interactive": 8, + "shell": 1, + "should": 2, + "enable": 1, + "full": 4, + "job": 5, + "control": 5, + "since": 1, + "it": 1, + "behave": 1, + "like": 2, + "the": 1, + "real": 1, + "code": 1, + "was": 1, + "executed.": 1, + "don": 1, + "do": 1, + "this": 1, + "commands": 1, + "that": 1, + "expect": 1, + "to": 1, + "be": 1, + "used": 1, + "interactively": 1, + "less": 1, + "wont": 1, + "work": 1, + "using": 1, + "eval.": 1, + "mode": 5, + "status": 7, + "is": 3, + "else": 3, + "none": 1, + "echo": 3, + "|": 3, + ".": 2, + "<": 1, + "&": 1, + "res": 2, + "return": 6, + "funced": 3, + "editor": 7, + "EDITOR": 1, + "funcname": 14, + "while": 2, + "argv": 9, + "h": 1, + "help": 1, + "__fish_print_help": 1, + "set_color": 4, + "red": 2, + "printf": 3, + "(": 7, + "_": 3, + ")": 7, + "normal": 2, + "begin": 2, + ";": 7, + "or": 3, + "init": 5, + "nend": 2, + "editor_cmd": 2, + "type": 1, + "f": 3, + "/dev/null": 2, + "fish": 3, + "z": 1, + "fish_indent": 2, + "indent": 1, + "prompt": 2, + "read": 1, + "p": 1, + "c": 1, + "s": 1, + "cmd": 2, + "TMPDIR": 2, + "/tmp": 1, + "tmpname": 8, + "%": 2, + "self": 2, + "random": 2, + "stat": 2, + "rm": 1 + }, "Forth": { "HELLO": 4, "(": 2, @@ -28928,35 +29088,35 @@ }, "SuperCollider": { "BCR2000": 1, - "{": 9, - "var": 1, + "{": 14, + "var": 2, "controls": 2, "controlBuses": 2, "rangedControlBuses": 2, "responders": 2, - ";": 14, + ";": 32, "*new": 1, "super.new.init": 1, - "}": 9, + "}": 14, "init": 1, "Dictionary.new": 3, - "(": 12, - ")": 12, + "(": 34, + ")": 34, "this.createCCResponders": 1, "createCCResponders": 1, "Array.fill": 1, "|": 4, - "i": 4, + "i": 5, "CCResponder": 1, "src": 3, "chan": 3, "num": 3, "val": 4, - "[": 1, - "]": 1, + "[": 3, + "]": 3, ".postln": 1, "controls.put": 1, - "+": 3, + "+": 4, "controlBuses.put": 1, "Bus.control": 1, "Server.default": 1, @@ -28967,11 +29127,46 @@ "//": 4, "value": 1, "at": 1, - "arg": 3, + "arg": 4, "controlNum": 6, "controls.at": 2, "scalarAt": 1, - "busAt": 1 + "busAt": 1, + "//boot": 1, + "server": 1, + "s.boot": 1, + "SynthDef": 1, + "sig": 7, + "resfreq": 3, + "Saw.ar": 1, + "SinOsc.kr": 1, + "*": 3, + "RLPF.ar": 1, + "Out.ar": 1, + ".play": 2, + "do": 2, + "Pan2.ar": 1, + "SinOsc.ar": 1, + "exprand": 1, + "LFNoise2.kr": 2, + "rrand": 2, + ".range": 2, + "**": 1, + "rand2": 1, + "a": 2, + "Env.perc": 1, + "-": 1, + "b": 1, + "a.delay": 2, + "a.test.plot": 1, + "b.test.plot": 1, + "Env": 1, + ".plot": 2, + "e": 1, + "Env.sine.asStream": 1, + "e.next.postln": 1, + "wait": 1, + ".fork": 1 }, "Tea": { "<%>": 1, @@ -30931,6 +31126,7 @@ "Ecl": 281, "Elm": 628, "Emacs Lisp": 3, + "fish": 636, "Forth": 16, "GAS": 133, "Gosu": 413, @@ -30983,7 +31179,7 @@ "SCSS": 39, "Shell": 3481, "Standard ML": 243, - "SuperCollider": 135, + "SuperCollider": 268, "Tea": 3, "TeX": 1155, "Turing": 44, @@ -31013,6 +31209,7 @@ "Ecl": 1, "Elm": 3, "Emacs Lisp": 1, + "fish": 3, "Forth": 2, "GAS": 1, "Gosu": 5, @@ -31065,7 +31262,7 @@ "SCSS": 1, "Shell": 34, "Standard ML": 2, - "SuperCollider": 1, + "SuperCollider": 2, "Tea": 1, "TeX": 1, "Turing": 1, @@ -31078,5 +31275,5 @@ "XSLT": 1, "YAML": 1 }, - "md5": "86bd15cf4856fd20290957b0c1b274f6" + "md5": "d39f274c63b1daaa2e1c7a3189d2386b" } \ No newline at end of file