Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (struct moar (x) #:transparent #:mutable)
- (define regrarity (list 0 1 2 3 4))
- (define none (list 0))
- (define testarity (list 0 2 3 4 5))
- (define cmds (hash "oVarStats" (list 0 1 2) ; This is the only command list requiring the list of possible arities. If any value x and above can be used, then you may use (moar x).
- "tVarStats" (list 0 2 3) ;
- "tSampFTest" (moar 0)
- "tSampTInt" (moar 0)
- "tSampTTest" (moar 0)
- "Archive" (list 1) ; If they take arguments, then such functions will search for a space before the first argument, and commas before the rest.
- "AUTOAnswer" none
- "AxesOff" none ; Note: some commands have different names to please the lexer
- "AxesOn" none
- "apbi" none
- "Boxplot" none
- "CLASSIC" none
- "ClearEntries" none
- "ClockOff" none
- "ClockOn" none
- "ClrAllLists" none
- "ClrDraw" none
- "ClrHome" none
- "ClrList" (moar 1)
- "ClrTable" none
- "Connected" none
- "CoordOff" none
- "CoordOn" none
- "CubicReg" regrarity
- "DECAnswer" none
- "Degree" none
- "DependAsk" none
- "DependAuto" none
- "DiagnosticOff" none
- "DiagnosticOn" none
- "Disp" (moar 0)
- "DrawF" (list 1)
- "DrawInv" (list 1)
- "\\e" (list 1) ; this is the small e
- "Else" none
- "End" none
- "Eng" none
- "ExecLib" none
- "ExpReg" regrarity
- "ExprOff" none
- "ExprOn" none
- "Fix" (list 1)
- "Float" none
- "FnOff" none
- "FnOn" none
- "FRAC Answer" none
- "Full" none
- "Func" none
- "GarbageCollect" none
- "getDate" none
- "getDtFmt" none
- "getKey" none
- "getTime" none
- "getTmFmt" none
- ; Lbl and Goto have their own calls
- "GridOff" none
- "GridOn" none
- "GT" none
- "Histogram" none
- "Horiz" none
- "Horizontal" (list 1)
- "If" (list 1)
- "IndpntAsk" none
- "IndpntAuto" none
- "Input" (list 0 1 2)
- "isClockOn" none
- "LabelOff" none
- "LabelOn" none
- "LinRegABX" none
- "LinRegAXB" none
- "LinRegTInt" testarity
- "LinRegTTest" testarity
- "LnReg" regrarity
- "Logistic" regrarity
- "ManualFit" (list 0 1)
- "MATHPRINT" none
- "Med-Med" regrarity
- "ModBoxPlot" none
- "Normal" none
- "NormProbPlot" none
- "Param" none
- "Pause" (list 0 1)
- "PlotsOff" (moar 0)
- "PlotsOn" (moar 0)
- "Pmt_Bgn" none
- "Pmt_End" none
- "Polar" none
- "PolarGC" none
- ; Both exec and prgm have their own calls
- "Prompt" (moar 1)
- "PowerReg" regrarity
- "QuadReg" regrarity
- "QuartReg" regrarity
- "Radian" none
- "Reti" none
- "Real" none
- "RecallGDB" (list 1)
- "RecallPic" (list 1)
- "RectGC" none
- "Repeat" (list 1)
- "Return" none
- "Scatter" none
- "Sci" none
- "Seq" none
- "Sequential" none
- "SetUpEditor" (moar 0)
- "Simul" none
- "SinReg" regrarity
- "startTmr" none
- "Stop" none
- "StoreGDB" (list 1)
- "StorePic" (list 1)
- "Then" none
- "Time" none
- "TInterval" (moar 0)
- "Trace" none
- "TTest" (moar 0)
- "UnArchive" (list 1)
- "uvAxes" none
- "uwAxes" none
- "Vertical" (list 1)
- "vwAxes" none
- "Web" none
- "While" (list 1)
- "xyLine" none
- "ZBox" none
- "ZDecimal" none
- "ZInteger" none
- "ZInterval" none
- "ZoomIn" none
- "ZoomOut" none
- "ZoomFit" none
- "ZoomRcl" none
- "ZoomStat" none
- "ZoomSto" none
- "ZPrevious" none
- "ZSquare" none
- "ZStandard" none
- ; note: Z-Test has a parenthesis attached
- "ZTrig" none
- ))
- (define cmdps (hash "sqrt" (list 1)
- "cbrt" (list 1)
- ; xrt is an operator
- "oPropZInt" (moar 0)
- "tPropZInt" (moar 0)
- "oPropZTest" (moar 0)
- "tPropZTest" (moar 0)
- "tSampZInt" (moar 0)
- "tSampZTest" (moar 0)
- "abs" (list 1)
- "angle" (list 1)
- "ANOVA" (moar 1)
- "Asm" (list 1)
- "AsmComp" (list 2)
- "augment" (list 2)
- "bal" (list 1 2)
- "binomcdf" (list 2 3)
- "binompdf" (list 2 3)
- "checkTmr" (list 1)
- "chi2cdf" (list 3)
- "chi2pdf" (list 3)
- "chi2Test" (moar 0)
- "chi2GOFTest" (moar 0)
- "Circle" (list 3 4)
- "conj" (list 1)
- "cos" (list 1)
- "arccos" (list 1)
- "cosh" (list 1)
- "arccosh" (list 1)
- "cot" (list 1)
- "arccot" (list 1)
- "coth" (list 1)
- "arccoth" (list 1)
- "csc" (list 1)
- "arccsc" (list 1)
- "csch" (list 1)
- "arccsch" (list 1)
- "cumul" (list 1)
- "dayOfWk" (list 3)
- "dbd" (list 2)
- "det" (list 1)
- "dim" (list 1) ; note: to resize an array, use resize()
- "DSL" (list 2)
- "exp" (list 1)
- "toEff" (list 2)
- "EquToString" (list 2)
- "expr" (list 1)
- "Fcdf" (list 4)
- "Fill" (list 2)
- "fMax" (list 4 5)
- "fMin" (list 4 5)
- "fnInt" (list 4 5)
- "For" (list 3 4)
- "fPart" (list 1)
- "Fpdf" (list 3)
- "gcd" (list 2)
- "geometcdf" (list 2)
- "geometpdf" (list 2)
- "Get" (list 1)
- "GetCalc" (list 1 2)
- "getDtStr" (list 1)
- "getTmStr" (list 1)
- "GraphStyle" (list 2)
- "identity" (list 1)
- "imag" (list 1)
- "inString" (list 2 3)
- "int" (list 1)
- "Sint" (list 2 3)
- "invNorm" (list 1 3)
- "invT" (list 2)
- "iPart" (list 1)
- "irr" (list 2 3)
- "ISG" (list 2)
- "lcm" (list 2)
- "length" (list 1)
- "Line" (list 4 5)
- "dList" (list 1)
- "ListToMatr" (moar 2)
- "ln" (list 1)
- "log" (list 1)
- "logBase" (list 2)
- "MatrToList" (moar 2)
- "max" (list 1 2)
- "mean" (list 1 2)
- "median" (list 1 2)
- "Menu" (list 3 5 7 9 11 13 15)
- "min" (list 1 2)
- "nDeriv" (list 3 4)
- "toNom" (list 2)
- "normalcdf" (list 2 4)
- "normalpdf" (list 1 3)
- "not" (list 1)
- "npv" (list 3 4)
- "OpenLib" (list 1)
- "Output" (list 3)
- "PlotOne" (list 4)
- "PlotTwo" (list 4)
- "PlotThree" (list 4)
- "poissoncdf" (list 2)
- "poissonpdf" (list 2)
- "Sprn" (list 2 3)
- "prod" (list 1 2 3)
- "PtChange" (list 2)
- "PtOff" (list 2 3)
- "PtOn" (list 2 3)
- "PxlChange" (list 2)
- "PxlOff" (list 2)
- "PxlOn" (list 2)
- "pxlTest" (list 2)
- "PToRx" (list 2)
- "PToRy" (list 2)
- "rand" (list 0 1)
- "randBin" (list 2 3)
- "randInt" (list 2 3)
- "randIntNoRep" (list 2)
- "randM" (list 2)
- "randNorm" (list 2 3)
- "real" (list 1)
- "ref" (list 1)
- "remain" (list 2)
- "round" (list 1 2)
- "mRow" (list 3)
- "mRowA" (list 4)
- "RowA" (list 3)
- "rowSwap" (list 3)
- "rref" (list 1)
- "RToPr" (list 2)
- "RToPt" (list 2)
- "resize" (list 2)
- "Select" (list 2)
- "Send" (list 1)
- "seq" (list 4 5)
- "setDate" (list 3)
- "setDtFmt" (list 1)
- "setTime" (list 3)
- "setTmFmt" (list 1)
- "Shade" (list 2 6)
- "ShadeChi2" (list 3)
- "ShadeF" (list 4)
- "ShadeNorm" (list 2 4)
- "Shade_t" (list 3)
- "sec" (list 1)
- "arcsec" (list 1)
- "sech" (list 1)
- "arcsech" (list 1)
- "sin" (list 1)
- "arcsin" (list 1)
- "sinh" (list 1)
- "arcsinh" (list 1)
- "solve" (list 3 4)
- "SortA" (moar 1)
- "SortD" (moar 1)
- "stdDev" (list 1 2)
- ; StrToEqu? Use :=
- "sub" (list 3)
- "sum" (list 1 2 3)
- "Sigma" (list 3)
- "tan" (list 1)
- "arctan" (list 1)
- "tanh" (list 1)
- "arctanh" (list 1)
- "Tangent" (list 2)
- "tcdf" (list 3)
- "tpdf" (list 2)
- "Text" (moar 3)
- "timeCnv" (list 1)
- "tvm_FV" (moar 0)
- "tvm_I%" (moar 0)
- "tvm_N" (moar 0)
- "tvm_Pmt" (moar 0)
- "tvm_PV" (moar 0)
- "variance" (list 1 2)
- "ZTest" (moar 0)
- )) ; with a left parenthesis attached to the beginning
- (define postfixes (list "!" "%" "degrees" "radians" "^-1" "^2" "^3" "toDec" "toDMS" "toFD" "toFrac" "toPolar" "toNDUND" "toRect"))
- (define ops (list "+" "-" "*" "/" "^" "xrt" "==" "!=" ":=" "<" ">" "<=" ">=" "&&" "||" "^^" "\\/" "\\u"))
- (define syms (list "")) ; system variables
- (define aliases (hash "RclPic" "RecallPic"
- "RclGDB" "RecallGDB"
- "ZStd" "ZStandard"
- "and" "&&"
- "or" "||"
- "xor" "^^"
- )) ; command aliases
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement