2 " Language: Maple V (based on release 4)
3 " Maintainer: Dr. Charles E. Campbell, Jr. <Charles.E.Campbell.1@gsfc.nasa.gov>
4 " Last Change: October 16, 1998
6 " Because there are a lot of packages, and because of the potential for namespace
7 " clashes, this version of <maple.vim> needs the user to select which, if any,
8 " package functions should be highlighted. Select your packages and put into your
9 " <.vimrc> none or more of the lines following let ...=1 lines:
11 " if exists("mvpkg_all")
15 " *OR* let mvpkg_all=1
18 " For version 5.x: Clear all syntax items
19 " For version 6.x: Quit when a syntax file was already loaded
22 elseif exists("b:current_syntax")
27 set iskeyword=$,48-57,_,a-z,@-Z
29 setlocal iskeyword=$,48-57,_,a-z,@-Z
32 " allow user to simply select all packages for highlighting
33 if exists("mvpkg_all")
67 " parenthesis/curly/brace sanity checker
68 syn region mvZone matchgroup=Delimiter start="(" matchgroup=Delimiter end=")" transparent contains=ALLBUT,mvError,mvBraceError,mvCurlyError
69 syn region mvZone matchgroup=Delimiter start="{" matchgroup=Delimiter end="}" transparent contains=ALLBUT,mvError,mvBraceError,mvParenError
70 syn region mvZone matchgroup=Delimiter start="\[" matchgroup=Delimiter end="]" transparent contains=ALLBUT,mvError,mvCurlyError,mvParenError
71 syn match mvError "[)\]}]"
72 syn match mvBraceError "[)}]" contained
73 syn match mvCurlyError "[)\]]" contained
74 syn match mvParenError "[\]}]" contained
75 syn match mvComma "[,;:]"
76 syn match mvSemiError "[;:]" contained
78 " Maple V Packages, circa Release 4
79 syn keyword mvPackage DEtools difforms group networks plots stats
80 syn keyword mvPackage Galois finance inttrans numapprox plottools student
81 syn keyword mvPackage GaussInt genfunc liesymm numtheory powseries sumtools
82 syn keyword mvPackage LREtools geometry linalg orthopoly process tensor
83 syn keyword mvPackage combinat grobner logic padic simplex totorder
84 syn keyword mvPackage combstruct
87 syn keyword mvTodo contained TODO
88 syn region mvString start=+`+ skip=+``+ end=+`+ keepend contains=mvTodo
89 syn region mvDelayEval start=+'+ end=+'+ keepend contains=ALLBUT,mvError,mvBraceError,mvCurlyError,mvParenError,mvSemiError
90 syn match mvVarAssign "[a-zA-Z_][a-zA-Z_0-9]*[ \t]*:=" contains=mvAssign
91 syn match mvAssign ":=" contained
93 " Lower-Priority Operators
97 syn match mvNumber "\<\d\+" " integer
98 syn match mvNumber "[-+]\=\.\d\+" " . integer
99 syn match mvNumber "\<\d\+\.\d\+" " integer . integer
100 syn match mvNumber "\<\d\+\." " integer .
101 syn match mvNumber "\<\d\+\.\." contains=mvRange " integer ..
103 syn match mvNumber "\<\d\+e[-+]\=\d\+" " integer e [-+] integer
104 syn match mvNumber "[-+]\=\.\d\+e[-+]\=\d\+" " . integer e [-+] integer
105 syn match mvNumber "\<\d\+\.\d*e[-+]\=\d\+" " integer . [integer] e [-+] integer
107 syn match mvNumber "[-+]\d\+" " integer
108 syn match mvNumber "[-+]\d\+\.\d\+" " integer . integer
109 syn match mvNumber "[-+]\d\+\." " integer .
110 syn match mvNumber "[-+]\d\+\.\." contains=mvRange " integer ..
112 syn match mvNumber "[-+]\d\+e[-+]\=\d\+" " integer e [-+] integer
113 syn match mvNumber "[-+]\d\+\.\d*e[-+]\=\d\+" " integer . [integer] e [-+] integer
115 syn match mvRange "\.\."
118 syn keyword mvOper and not or
119 syn match mvOper "<>\|[<>]=\|[<>]\|="
120 syn match mvOper "&+\|&-\|&\*\|&\/\|&"
121 syn match mvError "\.\.\."
123 " MapleV Statements: ? statement
124 " Split into booleans, conditionals, operators, repeat-logic, etc
125 syn keyword mvBool true false
126 syn keyword mvCond elif else fi if then
128 syn keyword mvRepeat by for in to
129 syn keyword mvRepeat do from od while
131 syn keyword mvSpecial NULL
132 syn match mvSpecial "\[\]\|{}"
134 syn keyword mvStatement Order fail options read save
135 syn keyword mvStatement break local point remember stop
136 syn keyword mvStatement done mod proc restart with
137 syn keyword mvStatement end mods quit return
138 syn keyword mvStatement error next
140 " Builtin Constants: ? constants
141 syn keyword mvConstant Catalan I gamma infinity
142 syn keyword mvConstant FAIL Pi
144 " Comments: DEBUG, if in a comment, is specially highlighted.
145 syn keyword mvDebug contained DEBUG
146 syn cluster mvCommentGroup contains=mvTodo,mvDebug
147 syn match mvComment "#.*$" contains=@mvCommentGroup
149 " Basic Library Functions: ? index[function]
150 syn keyword mvLibrary $ @ @@ ERROR
151 syn keyword mvLibrary AFactor KelvinHer arctan factor log rhs
152 syn keyword mvLibrary AFactors KelvinKei arctanh factors log10 root
153 syn keyword mvLibrary AiryAi KelvinKer argument fclose lprint roots
154 syn keyword mvLibrary AiryBi LambertW array feof map round
155 syn keyword mvLibrary AngerJ Lcm assign fflush map2 rsolve
156 syn keyword mvLibrary Berlekamp LegendreE assigned filepos match savelib
157 syn keyword mvLibrary BesselI LegendreEc asspar fixdiv matrix scanf
158 syn keyword mvLibrary BesselJ LegendreEc1 assume float max searchtext
159 syn keyword mvLibrary BesselK LegendreF asubs floor maximize sec
160 syn keyword mvLibrary BesselY LegendreKc asympt fnormal maxnorm sech
161 syn keyword mvLibrary Beta LegendreKc1 attribute fopen maxorder select
162 syn keyword mvLibrary C LegendrePi bernstein forget member seq
163 syn keyword mvLibrary Chi LegendrePic branches fortran min series
164 syn keyword mvLibrary Ci LegendrePic1 bspline fprintf minimize setattribute
165 syn keyword mvLibrary CompSeq Li cat frac minpoly shake
166 syn keyword mvLibrary Content Linsolve ceil freeze modp showprofile
167 syn keyword mvLibrary D MOLS chrem fremove modp1 showtime
168 syn keyword mvLibrary DESol Maple_floats close frontend modp2 sign
169 syn keyword mvLibrary Det MeijerG close fscanf modpol signum
170 syn keyword mvLibrary Diff Norm coeff fsolve mods simplify
171 syn keyword mvLibrary Dirac Normal coeffs galois msolve sin
172 syn keyword mvLibrary DistDeg Nullspace coeftayl gc mtaylor singular
173 syn keyword mvLibrary Divide Power collect gcd mul sinh
174 syn keyword mvLibrary Ei Powmod combine gcdex nextprime sinterp
175 syn keyword mvLibrary Eigenvals Prem commutat genpoly nops solve
176 syn keyword mvLibrary EllipticCE Primfield comparray harmonic norm sort
177 syn keyword mvLibrary EllipticCK Primitive compoly has normal sparse
178 syn keyword mvLibrary EllipticCPi Primpart conjugate hasfun numboccur spline
179 syn keyword mvLibrary EllipticE ProbSplit content hasoption numer split
180 syn keyword mvLibrary EllipticF Product convergs hastype op splits
181 syn keyword mvLibrary EllipticK Psi convert heap open sprem
182 syn keyword mvLibrary EllipticModulus Quo coords history optimize sprintf
183 syn keyword mvLibrary EllipticNome RESol copy hypergeom order sqrfree
184 syn keyword mvLibrary EllipticPi Randpoly cos iFFT parse sqrt
185 syn keyword mvLibrary Eval Randprime cosh icontent pclose sscanf
186 syn keyword mvLibrary Expand Ratrecon cost identity pclose ssystem
187 syn keyword mvLibrary FFT Re cot igcd pdesolve stack
188 syn keyword mvLibrary Factor Rem coth igcdex piecewise sturm
189 syn keyword mvLibrary Factors Resultant csc ilcm plot sturmseq
190 syn keyword mvLibrary FresnelC RootOf csch ilog plot3d subs
191 syn keyword mvLibrary FresnelS Roots csgn ilog10 plotsetup subsop
192 syn keyword mvLibrary Fresnelf SPrem dawson implicitdiff pochhammer substring
193 syn keyword mvLibrary Fresnelg Searchtext define indets pointto sum
194 syn keyword mvLibrary Frobenius Shi degree index poisson surd
195 syn keyword mvLibrary GAMMA Si denom indexed polar symmdiff
196 syn keyword mvLibrary GaussAGM Smith depends indices polylog symmetric
197 syn keyword mvLibrary Gaussejord Sqrfree diagonal inifcn polynom system
198 syn keyword mvLibrary Gausselim Ssi diff ininame powmod table
199 syn keyword mvLibrary Gcd StruveH dilog initialize prem tan
200 syn keyword mvLibrary Gcdex StruveL dinterp insert prevprime tanh
201 syn keyword mvLibrary HankelH1 Sum disassemble int primpart testeq
202 syn keyword mvLibrary HankelH2 Svd discont interface print testfloat
203 syn keyword mvLibrary Heaviside TEXT discrim interp printf thaw
204 syn keyword mvLibrary Hermite Trace dismantle invfunc procbody thiele
205 syn keyword mvLibrary Im WeberE divide invztrans procmake time
206 syn keyword mvLibrary Indep WeierstrassP dsolve iostatus product translate
207 syn keyword mvLibrary Interp WeierstrassPPrime eliminate iperfpow proot traperror
208 syn keyword mvLibrary Inverse WeierstrassSigma ellipsoid iquo property trigsubs
209 syn keyword mvLibrary Irreduc WeierstrassZeta entries iratrecon protect trunc
210 syn keyword mvLibrary Issimilar Zeta eqn irem psqrt type
211 syn keyword mvLibrary JacobiAM abs erf iroot quo typematch
212 syn keyword mvLibrary JacobiCD add erfc irreduc radnormal unames
213 syn keyword mvLibrary JacobiCN addcoords eulermac iscont radsimp unapply
214 syn keyword mvLibrary JacobiCS addressof eval isdifferentiable rand unassign
215 syn keyword mvLibrary JacobiDC algebraic evala isolate randomize unload
216 syn keyword mvLibrary JacobiDN algsubs evalapply ispoly randpoly unprotect
217 syn keyword mvLibrary JacobiDS alias evalb isqrfree range updatesR4
218 syn keyword mvLibrary JacobiNC allvalues evalc isqrt rationalize userinfo
219 syn keyword mvLibrary JacobiND anames evalf issqr ratrecon value
220 syn keyword mvLibrary JacobiNS antisymm evalfint latex readbytes vector
221 syn keyword mvLibrary JacobiSC applyop evalgf lattice readdata verify
222 syn keyword mvLibrary JacobiSD arccos evalhf lcm readlib whattype
223 syn keyword mvLibrary JacobiSN arccosh evalm lcoeff readline with
224 syn keyword mvLibrary JacobiTheta1 arccot evaln leadterm readstat writebytes
225 syn keyword mvLibrary JacobiTheta2 arccoth evalr length realroot writedata
226 syn keyword mvLibrary JacobiTheta3 arccsc exp lexorder recipoly writeline
227 syn keyword mvLibrary JacobiTheta4 arccsch expand lhs rem writestat
228 syn keyword mvLibrary JacobiZeta arcsec expandoff limit remove writeto
229 syn keyword mvLibrary KelvinBei arcsech expandon ln residue zip
230 syn keyword mvLibrary KelvinBer arcsin extract lnGAMMA resultant ztrans
231 syn keyword mvLibrary KelvinHei arcsinh
234 " == PACKAGES =======================================================
235 " Note: highlighting of package functions is now user-selectable by package.
237 " Package: DEtools differential equations tools
238 if exists("mv_DEtools")
239 syn keyword mvPkg_DEtools DEnormal Dchangevar autonomous dfieldplot reduceOrder untranslate
240 syn keyword mvPkg_DEtools DEplot PDEchangecoords convertAlg indicialeq regularsp varparam
241 syn keyword mvPkg_DEtools DEplot3d PDEplot convertsys phaseportrait translate
244 " Package: Domains: create domains of computation
245 if exists("mv_Domains")
248 " Package: GF: Galois Fields
250 syn keyword mvPkg_Galois galois
253 " Package: GaussInt: Gaussian Integers
254 if exists("mv_GaussInt")
255 syn keyword mvPkg_GaussInt GIbasis GIfactor GIissqr GInorm GIquadres GIsmith
256 syn keyword mvPkg_GaussInt GIchrem GIfactors GIlcm GInormal GIquo GIsqrfree
257 syn keyword mvPkg_GaussInt GIdivisor GIgcd GImcmbine GIorder GIrem GIsqrt
258 syn keyword mvPkg_GaussInt GIfacpoly GIgcdex GInearest GIphi GIroots GIunitnormal
259 syn keyword mvPkg_GaussInt GIfacset GIhermite GInodiv GIprime GIsieve
262 " Package: LREtools: manipulate linear recurrence relations
263 if exists("mv_LREtools")
264 syn keyword mvPkg_LREtools REcontent REprimpart REtodelta delta hypergeomsols ratpolysols
265 syn keyword mvPkg_LREtools REcreate REreduceorder REtoproc dispersion polysols shift
266 syn keyword mvPkg_LREtools REplot REtoDE constcoeffsol
269 " Package: combinat: combinatorial functions
270 if exists("mv_combinat")
271 syn keyword mvPkg_combinat Chi composition graycode numbcomb permute randperm
272 syn keyword mvPkg_combinat bell conjpart inttovec numbcomp powerset stirling1
273 syn keyword mvPkg_combinat binomial decodepart lastpart numbpart prevpart stirling2
274 syn keyword mvPkg_combinat cartprod encodepart multinomial numbperm randcomb subsets
275 syn keyword mvPkg_combinat character fibonacci nextpart partition randpart vectoint
276 syn keyword mvPkg_combinat choose firstpart
279 " Package: combstruct: combinatorial structures
280 if exists("mv_combstruct")
281 syn keyword mvPkg_combstruct allstructs draw iterstructs options specification structures
282 syn keyword mvPkg_combstruct count finished nextstruct
285 " Package: difforms: differential forms
286 if exists("mv_difforms")
287 syn keyword mvPkg_difforms const defform formpart parity scalarpart wdegree
288 syn keyword mvPkg_difforms d form mixpar scalar simpform wedge
291 " Package: finance: financial mathematics
292 if exists("mv_finance")
293 syn keyword mvPkg_finance amortization cashflows futurevalue growingperpetuity mv_finance presentvalue
294 syn keyword mvPkg_finance annuity effectiverate growingannuity levelcoupon perpetuity yieldtomaturity
295 syn keyword mvPkg_finance blackscholes
298 " Package: genfunc: rational generating functions
299 if exists("mv_genfunc")
300 syn keyword mvPkg_genfunc rgf_charseq rgf_expand rgf_hybrid rgf_pfrac rgf_sequence rgf_term
301 syn keyword mvPkg_genfunc rgf_encode rgf_findrecur rgf_norm rgf_relate rgf_simp termscale
304 " Package: geometry: Euclidean geometry
305 if exists("mv_geometry")
306 syn keyword mvPkg_geometry circle dsegment hyperbola parabola segment triangle
307 syn keyword mvPkg_geometry conic ellipse line point square
310 " Package: grobner: Grobner bases
311 if exists("mv_grobner")
312 syn keyword mvPkg_grobner finduni gbasis leadmon normalf solvable spoly
313 syn keyword mvPkg_grobner finite gsolve
316 " Package: group: permutation and finitely-presented groups
317 if exists("mv_group")
318 syn keyword mvPkg_group DerivedS areconjugate cosets grouporder issubgroup permrep
319 syn keyword mvPkg_group LCS center cosrep inter mulperms pres
320 syn keyword mvPkg_group NormalClosure centralizer derived invperm normalizer subgrel
321 syn keyword mvPkg_group RandElement convert grelgroup isabelian orbit type
322 syn keyword mvPkg_group Sylow core groupmember isnormal permgroup
325 " Package: inttrans: integral transforms
326 if exists("mv_inttrans")
327 syn keyword mvPkg_inttrans addtable fouriercos hankel invfourier invlaplace mellin
328 syn keyword mvPkg_inttrans fourier fouriersin hilbert invhilbert laplace
331 " Package: liesymm: Lie symmetries
332 if exists("mv_liesymm")
333 syn keyword mvPkg_liesymm &^ TD depvars getform mixpar vfix
334 syn keyword mvPkg_liesymm &mod annul determine hasclosure prolong wcollect
335 syn keyword mvPkg_liesymm Eta autosimp dvalue hook reduce wdegree
336 syn keyword mvPkg_liesymm Lie close extvars indepvars setup wedgeset
337 syn keyword mvPkg_liesymm Lrank d getcoeff makeforms translate wsubs
340 " Package: linalg: Linear algebra
341 if exists("mv_linalg")
342 syn keyword mvPkg_linalg GramSchmidt coldim equal indexfunc mulcol singval
343 syn keyword mvPkg_linalg JordanBlock colspace exponential innerprod multiply smith
344 syn keyword mvPkg_linalg LUdecomp colspan extend intbasis norm stack
345 syn keyword mvPkg_linalg QRdecomp companion ffgausselim inverse normalize submatrix
346 syn keyword mvPkg_linalg addcol cond fibonacci ismith orthog subvector
347 syn keyword mvPkg_linalg addrow copyinto forwardsub issimilar permanent sumbasis
348 syn keyword mvPkg_linalg adjoint crossprod frobenius iszero pivot swapcol
349 syn keyword mvPkg_linalg angle curl gausselim jacobian potential swaprow
350 syn keyword mvPkg_linalg augment definite gaussjord jordan randmatrix sylvester
351 syn keyword mvPkg_linalg backsub delcols geneqns kernel randvector toeplitz
352 syn keyword mvPkg_linalg band delrows genmatrix laplacian rank trace
353 syn keyword mvPkg_linalg basis det grad leastsqrs references transpose
354 syn keyword mvPkg_linalg bezout diag hadamard linsolve row vandermonde
355 syn keyword mvPkg_linalg blockmatrix diverge hermite matadd rowdim vecpotent
356 syn keyword mvPkg_linalg charmat dotprod hessian matrix rowspace vectdim
357 syn keyword mvPkg_linalg charpoly eigenval hilbert minor rowspan vector
358 syn keyword mvPkg_linalg cholesky eigenvect htranspose minpoly scalarmul wronskian
359 syn keyword mvPkg_linalg col entermatrix ihermite
362 " Package: logic: Boolean logic
363 if exists("mv_logic")
364 syn keyword mvPkg_logic MOD2 bsimp distrib environ randbool tautology
365 syn keyword mvPkg_logic bequal canon dual frominert satisfy toinert
368 " Package: networks: graph networks
369 if exists("mv_networks")
370 syn keyword mvPkg_networks acycpoly connect dinic graph mincut show
371 syn keyword mvPkg_networks addedge connectivity djspantree graphical mindegree shrink
372 syn keyword mvPkg_networks addvertex contract dodecahedron gsimp neighbors span
373 syn keyword mvPkg_networks adjacency countcuts draw gunion new spanpoly
374 syn keyword mvPkg_networks allpairs counttrees duplicate head octahedron spantree
375 syn keyword mvPkg_networks ancestor cube edges icosahedron outdegree tail
376 syn keyword mvPkg_networks arrivals cycle ends incidence path tetrahedron
377 syn keyword mvPkg_networks bicomponents cyclebase eweight incident petersen tuttepoly
378 syn keyword mvPkg_networks charpoly daughter flow indegree random vdegree
379 syn keyword mvPkg_networks chrompoly degreeseq flowpoly induce rank vertices
380 syn keyword mvPkg_networks complement delete fundcyc isplanar rankpoly void
381 syn keyword mvPkg_networks complete departures getlabel maxdegree shortpathtree vweight
382 syn keyword mvPkg_networks components diameter girth
385 " Package: numapprox: numerical approximation
386 if exists("mv_numapprox")
387 syn keyword mvPkg_numapprox chebdeg chebsort fnorm laurent minimax remez
388 syn keyword mvPkg_numapprox chebmult chebyshev hornerform laurent pade taylor
389 syn keyword mvPkg_numapprox chebpade confracform infnorm minimax
392 " Package: numtheory: number theory
393 if exists("mv_numtheory")
394 syn keyword mvPkg_numtheory B cyclotomic invcfrac mcombine nthconver primroot
395 syn keyword mvPkg_numtheory F divisors invphi mersenne nthdenom quadres
396 syn keyword mvPkg_numtheory GIgcd euler isolve minkowski nthnumer rootsunity
397 syn keyword mvPkg_numtheory J factorEQ isprime mipolys nthpow safeprime
398 syn keyword mvPkg_numtheory L factorset issqrfree mlog order sigma
399 syn keyword mvPkg_numtheory M fermat ithprime mobius pdexpand sq2factor
400 syn keyword mvPkg_numtheory bernoulli ifactor jacobi mroot phi sum2sqr
401 syn keyword mvPkg_numtheory bigomega ifactors kronecker msqrt pprimroot tau
402 syn keyword mvPkg_numtheory cfrac imagunit lambda nearestp prevprime thue
403 syn keyword mvPkg_numtheory cfracpol index legendre nextprime
406 " Package: orthopoly: orthogonal polynomials
407 if exists("mv_orthopoly")
408 syn keyword mvPkg_orthopoly G H L P T U
411 " Package: padic: p-adic numbers
412 if exists("mv_padic")
413 syn keyword mvPkg_padic evalp function orderp ratvaluep rootp valuep
414 syn keyword mvPkg_padic expansion lcoeffp ordp
417 " Package: plots: graphics package
418 if exists("mv_plots")
419 syn keyword mvPkg_plots animate coordplot3d gradplot3d listplot3d polarplot setoptions3d
420 syn keyword mvPkg_plots animate3d cylinderplot implicitplot loglogplot polygonplot spacecurve
421 syn keyword mvPkg_plots changecoords densityplot implicitplot3d logplot polygonplot3d sparsematrixplot
422 syn keyword mvPkg_plots complexplot display inequal matrixplot polyhedraplot sphereplot
423 syn keyword mvPkg_plots complexplot3d display3d listcontplot odeplot replot surfdata
424 syn keyword mvPkg_plots conformal fieldplot listcontplot3d pareto rootlocus textplot
425 syn keyword mvPkg_plots contourplot fieldplot3d listdensityplot pointplot semilogplot textplot3d
426 syn keyword mvPkg_plots contourplot3d gradplot listplot pointplot3d setoptions tubeplot
427 syn keyword mvPkg_plots coordplot
430 " Package: plottools: basic graphical objects
431 if exists("mv_plottools")
432 syn keyword mvPkg_plottools arc curve dodecahedron hyperbola pieslice semitorus
433 syn keyword mvPkg_plottools arrow cutin ellipse icosahedron point sphere
434 syn keyword mvPkg_plottools circle cutout ellipticArc line polygon tetrahedron
435 syn keyword mvPkg_plottools cone cylinder hemisphere octahedron rectangle torus
436 syn keyword mvPkg_plottools cuboid disk hexahedron
439 " Package: powseries: formal power series
440 if exists("mv_powseries")
441 syn keyword mvPkg_powseries compose multiply powcreate powlog powsolve reversion
442 syn keyword mvPkg_powseries evalpow negative powdiff powpoly powsqrt subtract
443 syn keyword mvPkg_powseries inverse powadd powexp powseries quotient tpsform
444 syn keyword mvPkg_powseries multconst powcos powint powsin
447 " Package: process: (Unix)-multi-processing
448 if exists("mv_process")
449 syn keyword mvPkg_process block fork pclose pipe popen wait
450 syn keyword mvPkg_process exec kill
453 " Package: simplex: linear optimization
454 if exists("mv_simplex")
455 syn keyword mvPkg_simplex NONNEGATIVE cterm dual maximize pivoteqn setup
456 syn keyword mvPkg_simplex basis define_zero equality minimize pivotvar standardize
457 syn keyword mvPkg_simplex convexhull display feasible pivot ratio
460 " Package: stats: statistics
461 if exists("mv_stats")
462 syn keyword mvPkg_stats anova describe fit random statevalf statplots
465 " Package: student: student calculus
466 if exists("mv_student")
467 syn keyword mvPkg_student D Product distance isolate middlesum rightsum
468 syn keyword mvPkg_student Diff Sum equate leftbox midpoint showtangent
469 syn keyword mvPkg_student Doubleint Tripleint extrema leftsum minimize simpson
470 syn keyword mvPkg_student Int changevar integrand makeproc minimize slope
471 syn keyword mvPkg_student Limit combine intercept maximize powsubs trapezoid
472 syn keyword mvPkg_student Lineint completesquare intparts middlebox rightbox value
473 syn keyword mvPkg_student Point
476 " Package: sumtools: indefinite and definite sums
477 if exists("mv_sumtools")
478 syn keyword mvPkg_sumtools Hypersum extended_gosper hyperrecursion hyperterm sumrecursion sumtohyper
479 syn keyword mvPkg_sumtools Sumtohyper gosper hypersum simpcomb
482 " Package: tensor: tensor computations and General Relativity
483 if exists("mv_tensor")
484 syn keyword mvPkg_tensor Christoffel1 Riemann connexF display_allGR get_compts partial_diff
485 syn keyword mvPkg_tensor Christoffel2 RiemannF contract dual get_rank permute_indices
486 syn keyword mvPkg_tensor Einstein Weyl convertNP entermetric invars petrov
487 syn keyword mvPkg_tensor Jacobian act cov_diff exterior_diff invert prod
488 syn keyword mvPkg_tensor Killing_eqns antisymmetrize create exterior_prod lin_com raise
489 syn keyword mvPkg_tensor Levi_Civita change_basis d1metric frame lower symmetrize
490 syn keyword mvPkg_tensor Lie_diff commutator d2metric geodesic_eqns npcurve tensorsGR
491 syn keyword mvPkg_tensor Ricci compare directional_diff get_char npspin transform
492 syn keyword mvPkg_tensor Ricciscalar conj displayGR
495 " Package: totorder: total orders on names
496 if exists("mv_totorder")
497 syn keyword mvPkg_totorder forget init ordering tassume tis
500 " == PACKAGES =======================================================
502 " Define the default highlighting.
503 " For version 5.7 and earlier: only when not done already
504 " For version 5.8 and later: only when an item doesn't have highlighting yet
505 if version >= 508 || !exists("did_maplev_syntax_inits")
507 let did_maplev_syntax_inits = 1
508 command -nargs=+ HiLink hi link <args>
510 command -nargs=+ HiLink hi def link <args>
514 HiLink mvBraceError mvError
515 HiLink mvCurlyError mvError
516 HiLink mvDebug mvTodo
517 HiLink mvParenError mvError
518 HiLink mvPkg_DEtools mvPkgFunc
519 HiLink mvPkg_Galois mvPkgFunc
520 HiLink mvPkg_GaussInt mvPkgFunc
521 HiLink mvPkg_LREtools mvPkgFunc
522 HiLink mvPkg_combinat mvPkgFunc
523 HiLink mvPkg_combstruct mvPkgFunc
524 HiLink mvPkg_difforms mvPkgFunc
525 HiLink mvPkg_finance mvPkgFunc
526 HiLink mvPkg_genfunc mvPkgFunc
527 HiLink mvPkg_geometry mvPkgFunc
528 HiLink mvPkg_grobner mvPkgFunc
529 HiLink mvPkg_group mvPkgFunc
530 HiLink mvPkg_inttrans mvPkgFunc
531 HiLink mvPkg_liesymm mvPkgFunc
532 HiLink mvPkg_linalg mvPkgFunc
533 HiLink mvPkg_logic mvPkgFunc
534 HiLink mvPkg_networks mvPkgFunc
535 HiLink mvPkg_numapprox mvPkgFunc
536 HiLink mvPkg_numtheory mvPkgFunc
537 HiLink mvPkg_orthopoly mvPkgFunc
538 HiLink mvPkg_padic mvPkgFunc
539 HiLink mvPkg_plots mvPkgFunc
540 HiLink mvPkg_plottools mvPkgFunc
541 HiLink mvPkg_powseries mvPkgFunc
542 HiLink mvPkg_process mvPkgFunc
543 HiLink mvPkg_simplex mvPkgFunc
544 HiLink mvPkg_stats mvPkgFunc
545 HiLink mvPkg_student mvPkgFunc
546 HiLink mvPkg_sumtools mvPkgFunc
547 HiLink mvPkg_tensor mvPkgFunc
548 HiLink mvPkg_totorder mvPkgFunc
549 HiLink mvRange mvOper
550 HiLink mvSemiError mvError
552 " Maple->Standard Links
553 HiLink mvAssign Delimiter
554 HiLink mvBool Boolean
555 HiLink mvComma Delimiter
556 HiLink mvComment Comment
557 HiLink mvCond Conditional
558 HiLink mvConstant Number
559 HiLink mvDelayEval Label
561 HiLink mvLibrary Statement
562 HiLink mvNumber Number
563 HiLink mvOper Operator
564 HiLink mvPackage Type
565 HiLink mvPkgFunc Function
566 HiLink mvPktOption Special
567 HiLink mvRepeat Repeat
568 HiLink mvSpecial Special
569 HiLink mvStatement Statement
570 HiLink mvString String
576 let b:current_syntax = "maple"