[system] / trunk / pg / lib / Parser / BOP / underscore.pm Repository:
ViewVC logotype

Log of /trunk/pg/lib/Parser/BOP/underscore.pm

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 5130 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 9 12:45:06 2007 UTC (12 years, 7 months ago) by dpvc
File length: 3797 byte(s)
Diff to previous 5001
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 (12 years, 8 months ago) by dpvc
File length: 3615 byte(s)
Diff to previous 4994
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 4994 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 10 01:17:29 2007 UTC (12 years, 8 months ago) by dpvc
File length: 3687 byte(s)
Diff to previous 3531
Update to handle the fact that the Value package now includes the
context with all MathObjects.  (This may still need some work.)

Revision 3531 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 15 22:42:37 2005 UTC (14 years, 6 months ago) by dpvc
File length: 3568 byte(s)
Diff to previous 3500
Fixed more undefined values

Revision 3500 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 13 01:39:14 2005 UTC (14 years, 6 months ago) by dpvc
File length: 3518 byte(s)
Diff to previous 3495
Fixed typo in previous update.

Revision 3495 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 12 23:21:52 2005 UTC (14 years, 6 months ago) by dpvc
File length: 3517 byte(s)
Diff to previous 3370
Fixed use of undefined value for $position in TeX and String methods.

Revision 3370 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 12 22:29:53 2005 UTC (14 years, 7 months ago) by dpvc
File length: 3476 byte(s)
Diff to previous 3369
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 3369 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 12 21:05:37 2005 UTC (14 years, 7 months ago) by dpvc
File length: 3473 byte(s)
Diff to previous 2796
Fixed various perl compiler warnings (due to extra "my", and so on).

Revision 2796 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 19 01:15:03 2004 UTC (15 years, 5 months ago) by dpvc
File length: 3476 byte(s)
Diff to previous 2696
Added flags that control the reductions performed by
Formula()->reduce.  Each reduction operation can be individually
enabled or disabled in the context, and in the reduce() call itself.

More complex reductions need to be developed.

Revision 2696 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 28 12:34:56 2004 UTC (15 years, 5 months ago) by dpvc
File length: 3377 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, 6 months ago) by dpvc
File length: 2969 byte(s)
Diff to previous 2558
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 2558 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Jul 28 20:32:33 2004 UTC (15 years, 6 months ago) by sh002i
File length: 2838 byte(s)
merged changes from rel-2-1-a1 -- stop using that branch.

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9