From bf3db20a9d01a7a64160bb94597c1328eadd28eb Mon Sep 17 00:00:00 2001 From: Arfon Smith Date: Fri, 20 Jun 2014 10:58:44 +0100 Subject: [PATCH] Samples --- lib/linguist/samples.json | 158 ++++++++++++++++++++++++++++++++++---- 1 file changed, 143 insertions(+), 15 deletions(-) diff --git a/lib/linguist/samples.json b/lib/linguist/samples.json index 4a1fb89a..c822a922 100644 --- a/lib/linguist/samples.json +++ b/lib/linguist/samples.json @@ -323,7 +323,8 @@ ".mask" ], "Mathematica": [ - ".m" + ".m", + ".nb" ], "Matlab": [ ".m" @@ -765,8 +766,8 @@ "exception.zep.php" ] }, - "tokens_total": 639782, - "languages_total": 830, + "tokens_total": 641228, + "languages_total": 833, "tokens": { "ABAP": { "*/**": 1, @@ -39405,22 +39406,142 @@ }, "Mathematica": { "Get": 1, - "[": 74, - "]": 73, + "[": 307, + "]": 286, + "Notebook": 2, + "{": 227, + "Cell": 28, + "CellGroupData": 8, + "BoxData": 19, + "RowBox": 34, + "}": 222, + "CellChangeTimes": 13, + "-": 134, + "*": 19, + "SuperscriptBox": 1, + "MultilineFunction": 1, + "None": 8, + "Open": 7, + "NumberMarks": 3, + "False": 19, + "GraphicsBox": 2, + "Hue": 5, + "LineBox": 5, + "CompressedData": 9, + "AspectRatio": 1, + "NCache": 1, + "GoldenRatio": 1, + "(": 2, + ")": 1, + "Axes": 1, + "True": 7, + "AxesLabel": 1, + "AxesOrigin": 1, + "Method": 2, + "PlotRange": 1, + "PlotRangeClipping": 1, + "PlotRangePadding": 1, + "Scaled": 10, + "WindowSize": 1, + "WindowMargins": 1, + "Automatic": 9, + "FrontEndVersion": 1, + "StyleDefinitions": 1, + "NamespaceBox": 1, + "DynamicModuleBox": 1, + "Typeset": 7, + "q": 1, + "opts": 1, + "AppearanceElements": 1, + "Asynchronous": 1, + "All": 1, + "TimeConstraint": 1, + "elements": 1, + "pod1": 1, + "XMLElement": 13, + "FormBox": 4, + "TagBox": 9, + "GridBox": 2, + "PaneBox": 1, + "StyleBox": 4, + "CellContext": 5, + "TagBoxWrapper": 4, + "AstronomicalData": 1, + "Identity": 2, + "LineIndent": 4, + "LineSpacing": 2, + "GridBoxBackground": 1, + "GrayLevel": 17, + "GridBoxItemSize": 2, + "ColumnsEqual": 2, + "RowsEqual": 2, + "GridBoxDividers": 1, + "GridBoxSpacings": 2, + "GridBoxAlignment": 1, + "Left": 1, + "Baseline": 1, + "AllowScriptLevelChange": 2, + "BaselinePosition": 2, + "Center": 1, + "AbsoluteThickness": 3, + "TraditionalForm": 3, + "PolynomialForm": 1, + "#": 2, + "TraditionalOrder": 1, + "&": 2, + "pod2": 1, + "LinebreakAdjustments": 2, + "FontFamily": 1, + "UnitFontFamily": 1, + "FontSize": 1, + "Smaller": 1, + "StripOnInput": 1, + "SyntaxForm": 2, + "Dot": 2, + "ZeroWidthTimes": 1, + "pod3": 1, + "TemplateBox": 1, + "GraphicsComplexBox": 1, + "EdgeForm": 2, + "Directive": 5, + "Opacity": 2, + "GraphicsGroupBox": 2, + "PolygonBox": 3, + "RGBColor": 3, + "Dashing": 1, + "Small": 1, + "GridLines": 1, + "Dynamic": 1, + "Join": 1, + "Replace": 1, + "MousePosition": 1, + "Graphics": 1, + "Pattern": 2, + "CalculateUtilities": 5, + "GraphicsUtilities": 5, + "Private": 5, + "x": 2, + "Blank": 2, + "y": 2, + "Epilog": 1, + "CapForm": 1, + "Offset": 8, + "DynamicBox": 1, + "ToBoxes": 1, + "DynamicModule": 1, + "pt": 1, + "NearestFunction": 1, "Paclet": 1, "Name": 1, - "-": 8, "Version": 1, "MathematicaVersion": 1, "Description": 1, "Creator": 1, "Extensions": 1, - "{": 2, "Language": 1, "MainPage": 1, - "}": 2, "BeginPackage": 1, - ";": 41, + ";": 42, "PossiblyTrueQ": 3, "usage": 22, "PossiblyFalseQ": 2, @@ -39454,13 +39575,11 @@ "L_": 5, "Fold": 3, "Or": 1, - "False": 4, "cond": 4, "/@": 3, "L": 4, "Flatten": 1, "And": 4, - "True": 2, "SHEBANG#!#!=": 1, "n_": 5, "Im": 1, @@ -39479,7 +39598,16 @@ "a": 3, "Symbol": 2, "NumericQ": 1, - "EndPackage": 1 + "EndPackage": 1, + "Do": 1, + "If": 1, + "Length": 1, + "Divisors": 1, + "Binomial": 2, + "i": 3, + "+": 2, + "Print": 1, + "Break": 1 }, "Matlab": { "function": 34, @@ -69153,7 +69281,7 @@ "Makefile": 50, "Markdown": 1, "Mask": 74, - "Mathematica": 411, + "Mathematica": 1857, "Matlab": 11942, "Max": 714, "MediaWiki": 766, @@ -69347,7 +69475,7 @@ "Makefile": 2, "Markdown": 1, "Mask": 1, - "Mathematica": 3, + "Mathematica": 6, "Matlab": 39, "Max": 3, "MediaWiki": 1, @@ -69448,5 +69576,5 @@ "Zephir": 5, "Zimpl": 1 }, - "md5": "95cec2f85e2b8d7b956746aab7aa16aa" + "md5": "61ffbb3e74924102a1a2a9688d2ba8f8" } \ No newline at end of file