Log of /trunk/pg/lib/Parser/UOP.pm
Parent Directory
Revision
2696 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Aug 28 12:34:56 2004 UTC (15 years, 3 months ago) by
dpvc
File length: 5844 byte(s)
Diff to
previous 2678
Improved TeX and string output in a number of situations. Improved
use of parentheses to avoid things like x+-3. Fixed wrong parentheses
in powers. Display (sin(x))^2 as sin^2(x) in TeX output.
Revision
2678 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 23 23:55:37 2004 UTC (15 years, 3 months ago) by
dpvc
File length: 5762 byte(s)
Diff to
previous 2653
Modified the parser so that the classes for the various object
constructors are stored in the context table rather than hard-coded
into the parser. That way, you can override the default classes with
your own. This gives you even more complete control to modify the
parser. (You had been able to replace the definitions of operators,
functions and list-like objects, but could not override the behaviour
of numbers, strings, variables, and so on. Now you can.)
This effects most of the files, but only by changing the name of the
calls that create the various objects.
There are also a couple of other minor fixes.
Revision
2653 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 19 17:31:18 2004 UTC (15 years, 3 months ago) by
dpvc
File length: 5560 byte(s)
Diff to
previous 2612
Fixed error with handling of +infinity and -infinity.
(They had been defined as strings, but now we can let the + and -
operators handle them).
Revision
2605 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Aug 14 02:50:18 2004 UTC (15 years, 3 months ago) by
dpvc
File length: 5383 byte(s)
Diff to
previous 2558
Incorporated infinities into Parser package better. They have been
stored as String objects (with extra data) in the parser, and I've
left it that way, but now they convert to/from Vallue::Infinity
objects correctly, and these are used for generating the output.
Also added the Infinity answer checker, and adjusted the error
messages produces by type mismatches in the answer checkers and
elsewhere.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.