Aller au contenu

Utilisateur:RM77/Geshi

Une page de Wikiversité, la communauté pédagogique libre.
<?php
/*************************************************************************************
 * <maple.php>
 * ---------------------------------
 * Author: RM77 (ricardman77{{@}}hotmail.com)
 * Copyright: (c) 2004 RM77 (http://fr.wikiversity.org)
 * Release Version: 1.0.0
 * CVS Revision Version: $Revision: 958 $
 * Date Started: 24/05/07
 * Last Modified: $Date: 2007-04-01 23:51:03 +1200 (Sun, 01 Apr 2007) $
 *
 * Maple language file for GeSHi.
 *
 * CHANGES
 * -------
 * 24/05/07 (1.0.0)
 *  -  First Release
 *
 * TODO (updated 24/05/07)
 * -------------------------
 * Finir...
 *
 *************************************************************************************
 *
 *     This file is part of GeSHi.
 *
 *   GeSHi is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   GeSHi is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with GeSHi; if not, write to the Free Software
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  {{Abréviation|USA|United States of America}}
 *
 ************************************************************************************/

$language_data = array (
	'LANG_NAME' => 'Maple',
	'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
	'COMMENT_MULTI' => array('/*' => '*/'),
	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
	'QUOTEMARKS' => array("'", '"'),
	'ESCAPE_CHAR' => '\\',
	'KEYWORDS' => array(
		1 => array(
			'include', 'require', 'include_once', 'require_once',
			'for', 'foreach', 'as', 'if', 'elseif', 'else', 'while', 'do',
			'endwhile', 'endif', 'switch', 'case', 'endswitch',
			'return', 'break'
			),
		2 => array(
			'null', '__LINE__', '__FILE__',
			'false', '<?php', '?>', '<?',
			'<script language=', '</script>',
			'true', 'var', 'default',
			'function', 'class', 'new',
			'__FUNCTION__', '__CLASS__', '__METHOD__', 'PHP_VERSION',
			'PHP_OS', 'DEFAULT_INCLUDE_PATH', 'PEAR_INSTALL_DIR', 'PEAR_EXTENSION_DIR',
			'PHP_EXTENSION_DIR', 'PHP_BINDIR', 'PHP_LIBDIR', 'PHP_DATADIR', 'PHP_SYSCONFDIR',
			'PHP_LOCALSTATEDIR', 'PHP_CONFIG_FILE_PATH', 'PHP_OUTPUT_HANDLER_START',
			'PHP_OUTPUT_HANDLER_CONT',
			'PHP_OUTPUT_HANDLER_END', 'E_ERROR', 'E_WARNING', 'E_PARSE', 'E_NOTICE',
			'E_CORE_ERROR', 'E_CORE_WARNING', 'E_COMPILE_ERROR', 'E_COMPILE_WARNING', 'E_USER_ERROR',
			'E_USER_WARNING', 'E_USER_NOTICE', 'E_ALL'
			),
		3 => array(
			'zlib_get_coding_type','zend_version','zend_logo_guid','yp_order','yp_next',
			'yp_match','yp_master','yp_get_default_domain','yp_first','yp_errno','yp_err_string',
			'yp_cat','yp_all','xml_set_unparsed_entity_decl_handler',
			'xml_set_start_namespace_decl_handler','xml_set_processing_instruction_handler',
			'xml_set_object','xml_set_notation_decl_handler','xml_set_external_entity_ref_handler',
			'xml_set_end_namespace_decl_handler','xml_set_element_handler',
			'xml_set_default_handler','xml_set_character_data_handler',
			'xml_parser_set_option','xml_parser_get_option','xml_parser_free',
			'xml_parser_create_ns','xml_parser_create','xml_parse_into_struct'
			)
		),

see : http://qbnz.com/highlighter/geshi-doc.html#language-file-start-indices see also : http://www.info.univ-angers.fr/aides/tutmaple.html

À ajouter dans la liste

  1 overall commands
with()    (comment faire ?)
unwith()

  2 packages
XMLtools
Worksheet
VectorCalculus
VariationalCalculus
Units
TypeTools
Typesetting
ToolboxInstaller[Data]
Tolerances
tensor
Sumtools
sumtools
Student[VectorCalculus]
Student[Precalculus]
Student[MultivariateCalculus]
Student[LinearAlgebra]
Student[Calculus1]
Student
StringTools
Statistics
Spread
SolveTools
SoftwareMetrics
Sockets
SNAP
Slode
simplex
ScientificErrorAnalysis
ScientificConstants
RootFinding
RegularChains
RealDomain
RationalNormalForms
RandomTools
QDifferenceEquations
ProcessControl
process
powseries
PolynomialTools
PolynomialIdeals
plottools
plots
PDEtools
padic
orthopoly
OrthogonalSeries
Ore algebra
OreTools
Optimization
numtheory
numapprox
networks
MmaTranslator
MatrixPolynomialAlgebra
Matlab
MathML
MathematicalFunctions
Maplets
LREtools[HypergeometricTerm]
LREtools
Logic
ListTools
LinearOperators
LinearFunctionalSystems
LinearAlgebra
liesymm
LibraryTools
LargeExpressions
inttrans
IntegrationTools
IntegerRelations
InstallerBuilder
ImageTools
hashmset
group
Groebner
gfun
geometry
geom3d
genfunc
GaussInt
finance
FileTools
ExternalCalling
Domains
DocumentTools
DiscreteTransforms
difforms
diffalg
DEtools
CurveFitting
ContextMenu
combstruct
combinat
CodeTools
CodeGeneration
Cache
AudioTools
ArrayTools
algcurves
Liste des commandes par package, à mettre en forme et finir

with(algcurves)
Siegel, Weierstrassform, algfun_series_sol, differentials, genus, homogeneous, homology, implicitize, integral_basis, is_hyperelliptic, j_invariant, monodromy, parametrization, periodmatrix, plot_knot, plot_real_curve, puiseux, singularities

with(ArrayTools)
AddAlongDimension, Alias, AllNonZero, AnyNonZeros, CircularShift, ComplexAsFloat, Concatenate, Copy, DataTranspose, ElementDivide, ElementMultiply, ElementPower, Fill, FlipDimension, HasNonZero, HasZero, IsZero, MultiplyAlongDimension, Permute, PermuteInverse, RemoveSingletonDimensions, Replicate, Reshape

with(AudioTools)
Audio, Clip, Convolution, Create, Duration, Extract, FormatFromName, Formats, Modulate, Normalize, Preview, Read, Resample, Scale, ToMono, ToStereo, Write

with(Cache)
AddPermanent, AddTemporary, PermanentEntries, PermanentIndices, RemovePermanent, RemoveTemporary, Resize, TemporaryEntries, TemporaryIndices

with(CodeGeneration)
C, Fortran, IntermediateCode, Java, LanguageDefinition, Matlab, Names, Save, Translate, VisualBasic

with(CodeTools)
DecodeName, EncodeName, Profiling

with(combinat)
Chi, bell, binomial, cartprod, character, choose, composition, conjpart, decodepart, encodepart, fibonacci, firstpart, graycode, inttovec, lastpart, multinomial, nextpart, numbcomb, numbcomp, numbpart, numbperm, partition, permute, powerset, prevpart, randcomb, randpart, randperm, setpartition, stirling1, stirling2, subsets, vectoint

with(combstruct)
agfeqns, agfmomentsolve, agfseries, allstructs, count, draw, finished, gfeqns, gfseries, gfsolve, iterstructs, nextstruct

with(ContextMenu)
CurrentContext, Install, New, Save, Test

with(CurveFitting)
BSpline, BSplineCurve, Interactive, InteractiveChangeSlider, LeastSquares, PolynomialInterpolation, RationalInterpolation, Spline, ThieleInterpolation

with(DEtools)
AreSimilar, DEnormal, DEplot, DEplot3d, DEplot_polygon, DFactor, DFactorLCLM, DFactorsols, Dchangevar, FunctionDecomposition, GCRD, Gosper, Heunsols, Homomorphisms, IsHyperexponential, LCLM, MeijerGsols, MultiplicativeDecomposition, PDEchangecoords, PolynomialNormalForm, RationalCanonicalForm, ReduceHyperexp, RiemannPsols, Xchange, Xcommutator, Xgauge, Zeilberger, abelsol, adjoint, autonomous, bernoullisol, buildsol, buildsym, canoni, caseplot, casesplit, checkrank, chinisol, clairautsol, constcoeffsols, convertAlg, convertsys, dalembertsol, dcoeffs, de2diffop, dfieldplot, diff_table, diffop2de, dperiodic_sols, dpolyform, dsubs, eigenring, endomorphism_charpoly, equinv, eta_k, eulersols, exactsol, expsols, exterior_power, firint, firtest, formal_sol, gen_exp, generate_ic, genhomosol, gensys, hamilton_eqs, hypergeomsols, hyperode, indicialeq, infgen, initialdata, integrate_sols, intfactor, invariants, kovacicsols, leftdivision, liesol, line_int, linearsol, matrixDE, matrix_riccati, maxdimsystems, moser_reduce, muchange, mult, mutest, newton_polygon, normalG2, ode_int_y, ode_y1, odeadvisor, odepde, parametricsol, particularsol, phaseportrait, poincare, polysols, power_equivalent, ratsols, redode, reduceOrder, reduce_order, regular_parts, regularsp, remove_RootOf, riccati_system, riccatisol, rifread, rifsimp, rightdivision, rtaylor, separablesol, singularities, solve_group, super_reduce, symgen, symmetric_power, symmetric_product, symtest, transinv, translate, untranslate, varparam, zoom

with(diffalg)
Rosenfeld_Groebner, belongs_to, delta_leader, delta_polynomial, denote, derivatives, differential_ring, differential_sprem, differentiate, equations, essential_components, field_extension, greater, inequations, initial, initial_conditions, is_orthonomic, leader, power_series_solution, preparation_polynomial, print_ranking, rank, reduced, reduced_form, rewrite_rules, separant

with(difforms)
`&^`, d, defform, formpart, parity, scalarpart, simpform, wdegree

with(DiscreteTransforms)
FourierTransform, InverseFourierTransform