NAME
updtsrc - update Maple V Release 5 to Maple 6 source code.
SYNOPSIS
updtsrc
updtsrc <infile>
updtsrc <infile> <outfile>
updtsrc [-h]
updtsrc [-l]
DESCRIPTION
The updtsrc file converter takes as input Maple source code
written for Maple V Release 5, and produces as output
updated and/or annotated code for use with Maple 6.
If called with no arguments, updtsrc reads from standard
input, and writes to standard output. If called with one
argument, it reads from the specified file and writes to
standard output. If two arguments are specified, it reads
from the first specified file and writes to the second. The
two file names can be the same, in which case the update is
done in-place.
The updtsrc utility makes two kinds of changes to the source
being updated:
Things that can be updated with no user intervention
and no danger of changing the semantics are actually
modified. For such changes, a message is printed to the
standard error output indicating that the change was
made. An example of such a change is the conversion of
the concatenation operator from "." to "||".
Things that may need to be updated, but that updtsrc
cannot reliably determine that they need to be updated,
or cannot reliably determine what change to make, sim-
ply generate a warning. The warning is displayed on the
standard error output, and is also inserted into the
output source in the form of a Maple comment beginning
with "### WARNING". Such comments will generally
describe the offending construct, and suggest which
help page to look at for a description of the new or
changed functionality.
Changes in grammatical syntax from Maple V Release 5 to
Maple 6 are:
The concatenation operator "." has been replaced by the
operator "||", which retains the same functionality.
Angle brackets "<" and ">" are now used for forming the
Vectors and Matrices used by the new LinearAlgebra
package.
Operations with univariate and bivariate polynomials
modulo a prime number (modp1 and modp2 commands) now
require that indeterminates be specified.
Parametrized name conventions are now consistent
throughout Maple. _Z stands for integers, _NN for non-
negative integers, and _N for natural (positive)
integers.
X11 resources on Unix systems start now with Maple6,
not MapleV.
The digraphs (* and *) for { and }, and (| and |) for [
and ] have been removed since modern keyboards now have
the appropriate symbols.
The updtsrc utility does not work on Maple worksheets (.mws
files). Release 5 Maple worksheets are automatically
detected when opened by Maple 6, and the user is given the
option to have any source code appearing therein be updated.
OPTIONS
-h The -h option displays a short usage message for
updtsrc.
-l The -l option causes updtsrc to display a comprehensive
list of all the things it looks for and changes or
warns about.
|
Закладки на сайте Проследить за страницей |
Created 1996-2025 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |