Update samples file

This commit is contained in:
Ted Nyman
2013-11-05 11:34:48 -08:00
parent 6d7eae5011
commit c5f1317b47

View File

@@ -35,6 +35,15 @@
"Ceylon": [
".ceylon"
],
"Clojure": [
".cl2",
".clj",
".cljc",
".cljs",
".cljscm",
".cljx",
".hic"
],
"COBOL": [
".cbl",
".ccp",
@@ -59,6 +68,9 @@
"Diff": [
".patch"
],
"DM": [
".dm"
],
"Ecl": [
".ecl"
],
@@ -111,9 +123,15 @@
".handlebars",
".hbs"
],
"Idris": [
".idr"
],
"Ioke": [
".ik"
],
"Jade": [
".jade"
],
"Java": [
".java"
],
@@ -132,6 +150,9 @@
"Kotlin": [
".kt"
],
"KRL": [
".krl"
],
"Lasso": [
".las",
".lasso",
@@ -249,6 +270,9 @@
"Prolog": [
".pl"
],
"Protocol Buffer": [
".proto"
],
"Python": [
".py",
".script!"
@@ -267,6 +291,9 @@
"Rebol": [
".r"
],
"RobotFramework": [
".robot"
],
"Ruby": [
".pluginspec",
".rabl",
@@ -285,6 +312,9 @@
".sbt",
".script!"
],
"Scaml": [
".scaml"
],
"Scheme": [
".sps"
],
@@ -424,8 +454,8 @@
".gemrc"
]
},
"tokens_total": 415313,
"languages_total": 458,
"tokens_total": 416718,
"languages_total": 474,
"tokens": {
"ABAP": {
"*/**": 1,
@@ -10087,6 +10117,136 @@
"<=>": 1,
"other.name": 1
},
"Clojure": {
"(": 83,
"defn": 4,
"prime": 2,
"[": 41,
"n": 9,
"]": 41,
"not": 3,
"-": 14,
"any": 1,
"zero": 1,
"map": 2,
"#": 1,
"rem": 2,
"%": 1,
")": 84,
"range": 3,
";": 8,
"while": 3,
"stops": 1,
"at": 1,
"the": 1,
"first": 2,
"collection": 1,
"element": 1,
"that": 1,
"evaluates": 1,
"to": 1,
"false": 2,
"like": 1,
"take": 1,
"for": 2,
"x": 6,
"html": 1,
"head": 1,
"meta": 1,
"{": 8,
"charset": 1,
"}": 8,
"link": 1,
"rel": 1,
"href": 1,
"script": 1,
"src": 1,
"body": 1,
"div.nav": 1,
"p": 1,
"into": 2,
"array": 3,
"aseq": 8,
"nil": 1,
"type": 2,
"let": 1,
"count": 3,
"a": 3,
"make": 1,
"loop": 1,
"seq": 1,
"i": 4,
"if": 1,
"<": 1,
"do": 1,
"aset": 1,
"recur": 1,
"next": 1,
"inc": 1,
"defprotocol": 1,
"ISound": 4,
"sound": 5,
"deftype": 2,
"Cat": 1,
"_": 3,
"Dog": 1,
"extend": 1,
"default": 1,
"rand": 2,
"scm*": 1,
"random": 1,
"real": 1,
"clj": 1,
"ns": 2,
"c2.svg": 2,
"use": 2,
"c2.core": 2,
"only": 4,
"unify": 2,
"c2.maths": 2,
"Pi": 2,
"Tau": 2,
"radians": 2,
"per": 2,
"degree": 2,
"sin": 2,
"cos": 2,
"mean": 2,
"cljs": 3,
"require": 1,
"c2.dom": 1,
"as": 1,
"dom": 1,
"Stub": 1,
"float": 2,
"fn": 2,
"which": 1,
"does": 1,
"exist": 1,
"on": 1,
"runtime": 1,
"def": 1,
"identity": 1,
"xy": 1,
"coordinates": 7,
"cond": 1,
"and": 1,
"vector": 1,
"y": 1,
"deftest": 1,
"function": 1,
"tests": 1,
"is": 7,
"true": 2,
"contains": 1,
"foo": 6,
"bar": 4,
"select": 1,
"keys": 2,
"baz": 4,
"vals": 1,
"filter": 1
},
"COBOL": {
"program": 1,
"-": 19,
@@ -13002,6 +13162,98 @@
"d472341..8ad9ffb": 1,
"+": 3
},
"DM": {
"#define": 4,
"PI": 6,
"#if": 1,
"G": 1,
"#elif": 1,
"I": 1,
"#else": 1,
"K": 1,
"#endif": 1,
"var/GlobalCounter": 1,
"var/const/CONST_VARIABLE": 1,
"var/list/MyList": 1,
"list": 3,
"(": 17,
"new": 1,
"/datum/entity": 2,
")": 17,
"var/list/EmptyList": 1,
"[": 2,
"]": 2,
"//": 6,
"creates": 1,
"a": 1,
"of": 1,
"null": 2,
"entries": 1,
"var/list/NullList": 1,
"var/name": 1,
"var/number": 1,
"/datum/entity/proc/myFunction": 1,
"world.log": 5,
"<<": 5,
"/datum/entity/New": 1,
"number": 2,
"GlobalCounter": 1,
"+": 3,
"/datum/entity/unit": 1,
"name": 1,
"/datum/entity/unit/New": 1,
"..": 1,
"calls": 1,
"the": 2,
"parent": 1,
"s": 1,
"proc": 1,
";": 3,
"equal": 1,
"to": 1,
"super": 1,
"and": 1,
"base": 1,
"in": 1,
"other": 1,
"languages": 1,
"rand": 1,
"/datum/entity/unit/myFunction": 1,
"/proc/ReverseList": 1,
"var/list/input": 1,
"var/list/output": 1,
"for": 1,
"var/i": 1,
"input.len": 1,
"i": 3,
"-": 2,
"IMPORTANT": 1,
"List": 1,
"Arrays": 1,
"count": 1,
"from": 1,
"output": 2,
"input": 1,
"is": 2,
"return": 3,
"/proc/DoStuff": 1,
"var/bitflag": 2,
"bitflag": 4,
"|": 1,
"/proc/DoOtherStuff": 1,
"bits": 1,
"maximum": 1,
"amount": 1,
"&": 1,
"/proc/DoNothing": 1,
"var/pi": 1,
"if": 2,
"pi": 2,
"else": 2,
"CONST_VARIABLE": 1,
"#undef": 1,
"Undefine": 1
},
"Ecl": {
"#option": 1,
"(": 32,
@@ -15176,6 +15428,46 @@
"</h2>": 1,
"/each": 1
},
"Idris": {
"module": 1,
"Prelude.Char": 1,
"import": 1,
"Builtins": 1,
"isUpper": 4,
"Char": 13,
"-": 8,
"Bool": 8,
"x": 36,
"&&": 3,
"<=>": 3,
"Z": 1,
"isLower": 4,
"z": 1,
"isAlpha": 3,
"||": 9,
"isDigit": 3,
"(": 8,
"9": 1,
"isAlphaNum": 2,
"isSpace": 2,
"isNL": 2,
"toUpper": 3,
"if": 2,
")": 7,
"then": 2,
"prim__intToChar": 2,
"prim__charToInt": 2,
"else": 2,
"toLower": 2,
"+": 1,
"isHexDigit": 2,
"elem": 1,
"hexChars": 3,
"where": 1,
"List": 1,
"[": 1,
"]": 1
},
"INI": {
";": 1,
"editorconfig.org": 1,
@@ -15205,6 +15497,11 @@
"SHEBANG#!ioke": 1,
"println": 1
},
"Jade": {
"p.": 1,
"Hello": 1,
"World": 1
},
"Java": {
"package": 6,
"clojure.asm": 1,
@@ -22324,6 +22621,29 @@
"true": 1,
"return": 1
},
"KRL": {
"ruleset": 1,
"sample": 1,
"{": 3,
"meta": 1,
"name": 1,
"description": 1,
"<<": 1,
"Hello": 1,
"world": 1,
"author": 1,
"}": 3,
"rule": 1,
"hello": 1,
"select": 1,
"when": 1,
"web": 1,
"pageview": 1,
"notify": 1,
"(": 1,
")": 1,
";": 1
},
"Lasso": {
"<": 7,
"LassoScript": 1,
@@ -34694,6 +35014,40 @@
"stay": 1,
"L": 2
},
"Protocol Buffer": {
"package": 1,
"tutorial": 1,
";": 13,
"option": 2,
"java_package": 1,
"java_outer_classname": 1,
"message": 3,
"Person": 2,
"{": 4,
"required": 3,
"string": 3,
"name": 1,
"int32": 1,
"id": 1,
"optional": 2,
"email": 1,
"enum": 1,
"PhoneType": 2,
"MOBILE": 1,
"HOME": 2,
"WORK": 1,
"}": 4,
"PhoneNumber": 2,
"number": 1,
"type": 1,
"[": 1,
"default": 1,
"]": 1,
"repeated": 2,
"phone": 1,
"AddressBook": 1,
"person": 1
},
"Python": {
"from": 34,
"__future__": 2,
@@ -35972,6 +36326,193 @@
"func": 1,
"print": 1
},
"RobotFramework": {
"***": 16,
"Settings": 3,
"Documentation": 3,
"Example": 3,
"test": 6,
"cases": 2,
"using": 4,
"the": 9,
"data": 2,
"-": 16,
"driven": 4,
"testing": 2,
"approach.": 2,
"...": 28,
"Tests": 1,
"use": 2,
"Calculate": 3,
"keyword": 5,
"created": 1,
"in": 5,
"this": 1,
"file": 1,
"that": 5,
"turn": 1,
"uses": 1,
"keywords": 3,
"CalculatorLibrary": 5,
".": 4,
"An": 1,
"exception": 1,
"is": 6,
"last": 1,
"has": 5,
"a": 4,
"custom": 1,
"_template": 1,
"keyword_.": 1,
"The": 2,
"style": 3,
"works": 3,
"well": 3,
"when": 2,
"you": 1,
"need": 3,
"to": 5,
"repeat": 1,
"same": 1,
"workflow": 3,
"multiple": 2,
"times.": 1,
"Notice": 1,
"one": 1,
"of": 3,
"these": 1,
"tests": 5,
"fails": 1,
"on": 1,
"purpose": 1,
"show": 1,
"how": 1,
"failures": 1,
"look": 1,
"like.": 1,
"Test": 4,
"Template": 2,
"Library": 3,
"Cases": 3,
"Expression": 1,
"Expected": 1,
"Addition": 2,
"+": 6,
"Subtraction": 1,
"Multiplication": 1,
"*": 4,
"Division": 2,
"/": 5,
"Failing": 1,
"Calculation": 3,
"error": 4,
"[": 4,
"]": 4,
"should": 9,
"fail": 2,
"kekkonen": 1,
"Invalid": 2,
"button": 13,
"{": 15,
"EMPTY": 3,
"}": 15,
"expression.": 1,
"by": 3,
"zero.": 1,
"Keywords": 2,
"Arguments": 2,
"expression": 5,
"expected": 4,
"Push": 16,
"buttons": 4,
"C": 4,
"Result": 8,
"be": 9,
"Should": 2,
"cause": 1,
"equal": 1,
"#": 2,
"Using": 1,
"BuiltIn": 1,
"case": 1,
"gherkin": 1,
"syntax.": 1,
"This": 3,
"similar": 1,
"examples.": 1,
"difference": 1,
"higher": 1,
"abstraction": 1,
"level": 1,
"and": 2,
"their": 1,
"arguments": 1,
"are": 1,
"embedded": 1,
"into": 1,
"names.": 1,
"kind": 2,
"_gherkin_": 2,
"syntax": 1,
"been": 3,
"made": 1,
"popular": 1,
"http": 1,
"//cukes.info": 1,
"|": 1,
"Cucumber": 1,
"It": 1,
"especially": 1,
"act": 1,
"as": 1,
"examples": 1,
"easily": 1,
"understood": 1,
"also": 2,
"business": 2,
"people.": 1,
"Given": 1,
"calculator": 1,
"cleared": 2,
"When": 1,
"user": 2,
"types": 2,
"pushes": 2,
"equals": 2,
"Then": 1,
"result": 2,
"Calculator": 1,
"User": 2,
"All": 1,
"contain": 1,
"constructed": 1,
"from": 1,
"Creating": 1,
"new": 1,
"or": 1,
"editing": 1,
"existing": 1,
"easy": 1,
"even": 1,
"for": 2,
"people": 2,
"without": 1,
"programming": 1,
"skills.": 1,
"normal": 1,
"automation.": 1,
"If": 1,
"understand": 1,
"may": 1,
"work": 1,
"better.": 1,
"Simple": 1,
"calculation": 2,
"Longer": 1,
"Clear": 1,
"built": 1,
"variable": 1
},
"Ruby": {
"load": 3,
"Dir": 4,
@@ -37563,6 +38104,12 @@
"[": 1,
"]": 1
},
"Scaml": {
"%": 1,
"p": 1,
"Hello": 1,
"World": 1
},
"Scheme": {
"(": 359,
"import": 1,
@@ -41531,6 +42078,7 @@
"C": 58858,
"C++": 21480,
"Ceylon": 50,
"Clojure": 510,
"COBOL": 90,
"CoffeeScript": 2951,
"Common Lisp": 103,
@@ -41538,6 +42086,7 @@
"CSS": 43867,
"Dart": 68,
"Diff": 16,
"DM": 169,
"Ecl": 281,
"edn": 227,
"Elm": 628,
@@ -41552,13 +42101,16 @@
"Groovy Server Pages": 91,
"Haml": 4,
"Handlebars": 69,
"Idris": 148,
"INI": 27,
"Ioke": 2,
"Jade": 3,
"Java": 8987,
"JavaScript": 76934,
"JSON": 619,
"Julia": 247,
"Kotlin": 155,
"KRL": 25,
"Lasso": 9849,
"Less": 39,
"LFE": 1711,
@@ -41594,15 +42146,18 @@
"PowerShell": 12,
"Processing": 74,
"Prolog": 4040,
"Protocol Buffer": 63,
"Python": 5715,
"R": 175,
"Racket": 360,
"Ragel in Ruby Host": 593,
"Rebol": 11,
"RobotFramework": 483,
"Ruby": 3854,
"Rust": 3566,
"Sass": 56,
"Scala": 420,
"Scaml": 4,
"Scheme": 3478,
"Scilab": 69,
"SCSS": 39,
@@ -41642,6 +42197,7 @@
"C": 26,
"C++": 20,
"Ceylon": 1,
"Clojure": 7,
"COBOL": 4,
"CoffeeScript": 9,
"Common Lisp": 1,
@@ -41649,6 +42205,7 @@
"CSS": 2,
"Dart": 1,
"Diff": 1,
"DM": 1,
"Ecl": 1,
"edn": 1,
"Elm": 3,
@@ -41663,13 +42220,16 @@
"Groovy Server Pages": 4,
"Haml": 1,
"Handlebars": 2,
"Idris": 1,
"INI": 2,
"Ioke": 1,
"Jade": 1,
"Java": 6,
"JavaScript": 20,
"JSON": 5,
"Julia": 1,
"Kotlin": 1,
"KRL": 1,
"Lasso": 4,
"Less": 1,
"LFE": 4,
@@ -41705,15 +42265,18 @@
"PowerShell": 2,
"Processing": 1,
"Prolog": 6,
"Protocol Buffer": 1,
"Python": 7,
"R": 2,
"Racket": 3,
"Ragel in Ruby Host": 3,
"Rebol": 1,
"RobotFramework": 3,
"Ruby": 16,
"Rust": 1,
"Sass": 2,
"Scala": 3,
"Scaml": 1,
"Scheme": 1,
"Scilab": 3,
"SCSS": 1,
@@ -41741,5 +42304,5 @@
"Xtend": 2,
"YAML": 1
},
"md5": "e1daa29f986e203ade56a02091d24c99"
"md5": "74bfb38a834e3f3824da03b5188fee74"
}