diff options
Diffstat (limited to 'config/old/vim/syntax/tibasic.vim')
-rw-r--r-- | config/old/vim/syntax/tibasic.vim | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/config/old/vim/syntax/tibasic.vim b/config/old/vim/syntax/tibasic.vim new file mode 100644 index 0000000..7cfd94f --- /dev/null +++ b/config/old/vim/syntax/tibasic.vim @@ -0,0 +1,21 @@ + +" TI-Basic highlighting for VIM +syn match tibGroupers '\v(\(|\)|\"|\{|\}|\[|\])' +syn match tibOp '\v(%U0000fe62|%U000025c4|%U000025ba|%U000025a1|%U00002265|%U00002264|%U00002260|%U0000222b|%U00002220|%U0000221a|%U00002193|%U00002192|%U00002191|%U0000207b|%U00002044|%U00002026|%U000000d7|%U000000bf|%U000000b7|%U000000b4|%U000000b0|%U000000a8|%U000000a1|\~|\`|\^|\?|\>|\=|\<|\/|\-|\+|\*|\\\'|\%|\!|\ xor\ |\ or\ |\ nPr\ |\ nCr\ |\ and\ )' +syn match tibNum '\v(0|1|2|3|4|5|6|7|8|9|\.|\|E|%U00001d07)' +syn match tibName '\v(%U00002206Y|%U00002206X|%U00002206Tbl|%U00001e8b%U00002082|%U00001e8b%U00002081|%U00001e8b2|%U00001e8b1|%U00001e8b|%U00001e57%U00002082|%U00001e57%U00002081|%U00001e572|%U00001e571|%U000003c7%U000000b2|%U000003c7\^2|%U000003c3y|%U000003c3x|%U000003b8step|%U000003b8Min|%U000003b8Max|%U000003b8|%U000003a3y%U000000b2|%U000003a3y\^2|%U000003a3y|%U000003a3x%U000000b2|%U000003a3xy|%U000003a3x\^2|%U000003a3x|%U00000233|\|w|\|v|\|u|\|P\/Y|\|N|\|C\/Y|\{r6\}|\{r5\}|\{r4\}|\{r3\}|\{r2\}|\{r1\}|\{Y9\}|\{Y8\}|\{Y7\}|\{Y6\}|\{Y6T\}|\{Y5\}|\{Y5T\}|\{Y4\}|\{Y4T\}|\{Y3\}|\{Y3T\}|\{Y2\}|\{Y2T\}|\{Y1\}|\{Y1T\}|\{Y0\}|\{X6T\}|\{X5T\}|\{X4T\}|\{X3T\}|\{X2T\}|\{X1T\}|y%U00002083|y%U00002082|y%U00002081|x%U00002083|x%U00002082|x%U00002081|xhat%U00002082|xhat%U00002081|w\(nMin\)|v\(nMin\)|u\(nMin\)|thetastep|thetaMin|thetaMax|theta|sigmay%U000000b2|sigmax%U000000b2|r%U00002086|r%U00002085|r%U00002084|r%U00002083|r%U00002082|r%U00002081|r%U000000b2|phat%U00002082|phat%U00002081|n%U00002082|n%U00002081|nMin|nMax|chi%U000000b2|\[%U00001e57\]|\[\|e\]|\[\|d\]|\[\|c\]|\[\|b\]|\[\|a\]|\[\|F\]|\[z\]|\[yhat\]|\[y3\]|\[y2\]|\[y1\]|\[xhat\]|\[xhat2\]|\[xhat1\]|\[x3\]|\[x2\]|\[x1\]|\[upper\]|\[t\]|\[sigmay\]|\[sigmax\]|\[s\]|\[recursiven\]|\[r\^2\]|\[r\]|\[phat\]|\[phat2\]|\[phat1\]|\[p\]|\[n\]|\[n2\]|\[n1\]|\[minY\]|\[minX\]|\[maxY\]|\[maxX\]|\[lower\]|\[factordf\]|\[factorSS\]|\[factorMS\]|\[errordf\]|\[errorSS\]|\[errorMS\]|\[df\]|\[chi\^2\]|\[Sy\]|\[Sxp\]|\[Sx\]|\[Sx2\]|\[Sx1\]|\[Sigmay\^2\]|\[Sigmay\]|\[Sigmaxy\]|\[Sigmax\^2\]|\[Sigmax\]|\[RegEQ\]|\[R\^2\]|\[Q3\]|\[Q1\]|\[Med\]|\[J\]|\[I\]|\[H\]|\[G\]|\[F\]|\[E\]|\[D\]|\[C\]|\[B\]|\[A\]|Z%U000003b8step|Z%U000003b8min|Z%U000003b8max|Zw\(nMin\)|Zv\(nmin\)|Zu\(nmin\)|Zthetastep|Zthetamin|Zthetamax|ZnMin|ZnMax|ZYscl|ZYmin|ZYmax|ZXscl|ZXres|ZXmin|ZXmax|ZTstep|ZTmin|ZTmax|ZPlotStep|ZPlotStart|Z|Y%U00002089|Y%U00002088|Y%U00002087|Y%U00002086%U00001d1b|Y%U00002086|Y%U00002085%U00001d1b|Y%U00002085|Y%U00002084%U00001d1b|Y%U00002084|Y%U00002083%U00001d1b|Y%U00002083|Y%U00002082%U00001d1b|Y%U00002082|Y%U00002081%U00001d1b|Y%U00002081|Y%U00002080|Yscl|Ymin|Ymax|YFact|Y|X%U00002086%U00001d1b|X%U00002085%U00001d1b|X%U00002084%U00001d1b|X%U00002083%U00001d1b|X%U00002082%U00001d1b|X%U00002081%U00001d1b|Xscl|Xres|Xmin|Xmax|XFact|X|W|Vn\-%U00002081|Vn\-1|V|Un\-%U00002081|Un\-1|U|Tstep|Tmin|Tmax|TblStart|TblInput|T|Sx%U00002082|Sx%U00002081|Str9|Str8|Str7|Str6|Str5|Str4|Str3|Str2|Str1|Str0|S|R%U000000b2|R|Q|PlotStep|PlotStart|Pic9|Pic8|Pic7|Pic6|Pic5|Pic4|Pic3|Pic2|Pic1|Pic0|PV|PMT|P|O|N|M|L%U00002086|L%U00002085|L%U00002084|L%U00002083|L%U00002082|L%U00002081|L6|L5|L4|L3|L2|L1|L|K|J|I\%|I|H|GDB9|GDB8|GDB7|GDB6|GDB5|GDB4|GDB3|GDB2|GDB1|GDB0|G|Fix\ |FV|F|E|DeltaY|DeltaX|DeltaTbl|D|C|B|A)' +syn match tibControl '\v(If\ |Then|Else|While\ |Repeat\ |For\(|End|Return|Lbl\ |Goto\ |Pause\ |Stop|IS\>\(|DS\<\()' +syn match tibStatement '\v(\>DMS|%U000025baDMS|\>Dec|%U000025baDec|\>Frac|%U000025baFrac|\-\>|Boxplot|\^\^r|\^\^o|\^\^\-1|%U0000207b%U000000b9|%U000002c9%U000000b9|\^\^2|\^\^T|\^\^3|round\(|pxl\-Test\(|augment\(|rowSwap\(|row\+\(|\*row\(|\*row\+\(|max\(|min\(|R\>Pr\(|R%U000025baPr\(|R\>Ptheta\(|R%U000025baPtheta\(|R\>P%U000003b8\(|R%U000025baP%U000003b8\(|P\>Rx\(|P%U000025baRx\(|P\>Ry\(|P%U000025baRy\(|median\(|randM\(|mean\(|solve\(|seq\(|fnInt\(|nDeriv\(|fMin\(|fMax\(|\[i\]|CubicReg\ |QuartReg\ |\\\\n|Radian|Degree|Normal|Sci|Eng|Float|\<\=|\>\=|\!\=|Ans|Horiz|Full|Func|Param|Polar|Seq|IndpntAuto|IndpntAsk|DependAuto|DependAsk|Sequential|Simul|PolarGC|RectGC|CoordOn|CoordOff|Connected|Dot|AxesOn|AxesOff|GridOn|GridOff|LabelOn|LabelOff|Web|Time|uvAxes|vwAxes|uwAxes|plotsquare|squareplot|plotcross|crossplot|plotdot|dotplot|Trace|ClrDraw|ZStandard|ZTrig|ZBox|Zoom\ In|Zoom\ Out|ZSquare|ZInteger|ZPrevious|ZDecimal|ZoomStat|ZoomRcl|PrintScreen|ZoomSto|Text\(|FnOn\ |FnOff\ |StorePic\ |RecallPic\ |StoreGDB\ |RecallGDB\ |Line\(|Vertical\ |Pt\-On\(|Pt\-Off\(|Pt\-Change\(|Pxl\-On\(|Pxl\-Off\(|Pxl\-Change\(|Shade\(|Circle\(|Horizontal\ |Tangent\(|DrawInv\ |DrawF\ |rand|pi|getKey|\|\-|int\(|abs\(|det\(|identity\(|dim\(|sum\(|prod\(|not\(|iPart\(|fPart\(|npv\(|irr\(|bal\(|SigmaPrn\(|%U000003a3Prn\(|SigmaInt\(|%U000003a3Int\(|\>Nom\(|%U000025baNom\(|\>Eff\(|%U000025baEff\(|dbd\(|lcm\(|gcd\(|randInt\(|randBin\(|sub\(|stdDev|variance\(|inString\(|normalcdf\(|invNorm\(|tcdf\(|chi\^2cdf\(|%U000003c7\^2cdf\(|chi%U000000b2cdf\(|%U000003c7%U000000b2cdf\(|Fcdf\(|binompdf\(|binomcdf\(|poissonpdf\(|poissoncdf\(|geometpdf\(|geometcdf\(|normalpdf\(|tpdf\(|chi\^2pdf\(|%U000003c7\^2pdf\(|chi%U000000b2pdf\(|%U000003c7%U000000b2pdf\(|Fpdf\(|randNorm\(|tvm_Pmt|tvm_I\%|tvm_PV|tvm_N|tvm_FV|conj\(|real\(|imag\(|angle\(|cumSum\(|expr\(|length\(|DeltaList\(|ref\(|rref\(|\>Rect|%U000025baRect|\>Polar|%U000025baPolar|\[e\]|SinReg\ |Logistic\ |LinRegTTest\ |ShadeNorm\(|Shade_t\(|Shadechi\^2\(|Shade%U000003c7\^2\(|Shadechi%U000000b2\(|Shade%U000003c7%U000000b2\(|ShadeF\(|Matr\>list\(|Matr%U000025balist\(|List\>matr\(|List%U000025bamatr\(|Z\-Test\(|T\-Test\ |2\-SampZTest\(|1\-PropZTest\(|2\-PropZTest\(|chi\^2\-Test\(|%U000003c7\^2\-Test\(|chi%U000000b2\-Test\(|%U000003c7%U000000b2\-Test\(|ZInterval|2\-SampZInt\(|1\-PropZInt\(|2\-PropZInt\(|GraphStyle\(|2\-SampTTest\ |2\-SampFTest\ |TInterval\ |2\-SampTInt\ |SetUpEditor\ |Pmt_End|Pmt_Bgn|Real|re\^thetai|re\^%U000003b8i|a\+bi|ExprOn|ExprOff|ClrAllLists|GetCalc\(|DelVar\ |Equ\>String\(|Equ%U000025baString\(|String\>Equ\(|String%U000025baEqu\(|Clear\ Entries|Select\(|ANOVA\(|ModBoxPlot|NormProbPlot|G\-T|ZoomFit|DiagnosticOn|DiagnosticOff|Archive\ |UnArchive\ |Asm\(|AsmComp\(|AsmPrgm|\^\^\\\'|\|\\\'|\^\^\`|\|\`|\^\^\:|\|\:|\|\?|\|\!|alpha|beta|gamma|Delta|delta|epsilon|lambda|mu|greek_pi|\|%U000003c0|rho|Sigma|Phi|Omega|phat|chi|\|F|sigma|tau|GarbageCollect|\|\~|\.\.\.|\|\<|sharps|\^\^x|smallT|small0|small1|small2|small3|small4|small5|small6|small7|small8|small9|small10|%U00002081%U00002080|\<\||\|\>|uparrow|downarrow|xmark|integral|bolduparrow|bolddownarrow|squareroot|invertedequal|sqrt\(|%U0000221a\(|cuberoot\(|%U000000b3%U0000221a\(|ln\(|e\^\(|log\(|10\^|%U00002081%U00002080\^\(|sin\(|sin\^\-1\(|sin%U0000207b%U000000b9\(|cos\(|cos\^\-1\(|cos%U0000207b%U000000b9\(|tan\(|tan\^\-1\(|tan%U0000207b%U000000b9\(|sinh\(|sinh\^\-1\(|sinh%U0000207b%U000000b9\(|cosh\(|cosh\^\-1\(|soch%U0000207b%U000000b9\(|tanh\(|tanh\^\-1\(|tanh%U0000207b%U000000b9\(|Input\ |Prompt\ |Disp\ |DispGraph|Output\(|ClrHome|Fill\(|SortA\(|SortD\(|DispTable|Menu\(|Send\(|Get\(|PlotsOn\ |PlotsOff\ |Plot1\(|Plot2\(|Plot3\(|setDate\(|setTime\(|checkTmr\(|setDtFmt\(|setTmFmt\(|timeCnv\(|dayOfWk\(|getDtStr|getTmStr\(|getDate|getTime|startTmr|getDtFmt|getTmFmt|isClockOn|ClockOff|ClockOn|OpenLib\(|ExecLib|invT\(|chi\^2GOF\-Test\(|%U000003c7\^2GOF\-Test\(|chi%U000000b2GOF\-Test\(|%U000003c7%U000000b2GOF\-Test\(|LinRegTInt\ |Manual\-Fit\ |ZQuadrant1|ZFrac1\/2|ZFrac1\/3|ZFrac1\/4|ZFrac1\/5|ZFrac1\/8|ZFrac1\/10|mathprintbox|n\/d|Un\/d|\>n\/d\<\>Un\/d|%U000025ban\/d%U000025c4%U000025baUn\/d|\>n%U00002044d\<\>Un%U00002044d|%U000025ban%U00002044d%U000025c4%U000025baUn%U00002044d|\>F\<\>D|%U000025baF%U000025c4%U000025baD|remainder\(|Sigma\(|%U000003a3\(|logBASE\(|randIntNoRep\(|\[MATHPRINT\]|\[CLASSIC\]|\[n\/d\]|n%U00002044d|\[Un\/d\]|Un%U00002044d|\[AUTO\]|\[DEC\]|\[FRAC\]|xroot|%U000002e3%U0000221a|1\-Var\ Stats\ |2\-Var\ Stats|LinReg\(a\+bx\)\ |ExpReg\ |LnReg\ |PwrReg\ |Med\-Med\ |QuadReg\ |ClrList\ |ClrTable|Histogram|xyLine|Scatter|LinReg\(ax\+b\)\ )' +syn match tibString '\v\".{-}(\"|(\r|%$|\n|\-\>|%U00002192)@=)' + +let b:current_syntax = "tibasic" + + +hi def link tibGroupers Delimiters +hi def link tibOp Operator +hi def link tibNum Number +hi def link tibName Identifier +hi def link tibControl Keyword +hi def link tibStatement Function +hi def link tibString String + |