Log of /trunk/pg/lib/Parser/BOP/equality.pm
Parent Directory
Revision
5130 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 9 12:45:06 2007 UTC (5 years, 10 months ago) by
dpvc
File length: 4270 byte(s)
Diff to
previous 5067
,
to
selected 5511
Added new flags to error checking of operands and function arguments.
This is so that a context can be developed that is more forgiving
about what can be put next to what. Such a context can NOT be used
for evaluation or answer checking, but can be used to generate TeX
output in more sophisticated situations.
Revision
5001 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 12 04:05:56 2007 UTC (5 years, 11 months ago) by
dpvc
File length: 3994 byte(s)
Diff to
previous 4994
,
to
selected 5511
More fixes for creating items in the corret context. Also added a
method for looking up the package associated with a particular Parser
class (for consistency with the Value->Package call).
Revision
3370 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 12 22:29:53 2005 UTC (7 years, 10 months ago) by
dpvc
File length: 3811 byte(s)
Diff to
previous 3369
,
to
selected 5511
A first pass at making parser error messages localizable. The
Context()->{error}{msg} hash can be used to specify translations of
the standard messages. For example,
Context()->{error}{msg}{'Division by zero'} = "Don't divide by zero, dude!";
Context()->{error}{msg}{'Function '%s' has too many inputs'} =
"You passed too many arguments to '%s'";
(I didn't translate into another language, here, but you could do
that, too.)
The msg hash could also be used within answer checkers to make certain
answer messages more appropriate for the given type of expected answer.
Revision
2616 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Sat Aug 14 21:29:21 2004 UTC (8 years, 9 months ago) by
dpvc
File length: 1679 byte(s)
Diff
to
selected 5511
Added an equality operator (not active initially) that can be used for
things like equations of planes and so on. I'm working on the answer
checker for that.
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.