|Links to HEAD:||(view) (download) (as text) (annotate)|
Removed deletion of i,j,k which are not in the original Point context
syncing pg HEAD with pg2.4.7 on 6/25/2009
added standard copyright/license header
fixed indentation of verbatim paragraphs: now using hard tabs exclusively. the downside of this is that these get rendered as eight-column tabs.
improved formatting for docs -- these were in pod sections but were all formatted as verbatim sections, and i moved them into normal paragraphs, lists, etc. should make things more readable from the web.
Add context names for the context(s) created here.
Updated contexts to include a "name" field that at least tracks what context you started with (though it can be modified and no longer be the same as the original context). Remove the individual named variables in the Default.pm file; they are now available only through the %Parser::Context::Default::context hash. Remove the >< and . operators, the <...> parentheses, the norm and unit functions, and the i, j, and k constants from the Point context. So the Point context no longer includes vectors and vector operaterations.
Move the context creation to the _init routine so that modifications to main:: occur at initialization time, not when the file is loaded.
Normalized comments and headers to that they will format their POD documentation properly. (I know that the POD processing was supposed to strip off the initial #, but that doesn't seem to happen, so I've added a space throughout.)
Changed Parser.pl to MathObjects.pl
Updated calls to Parser::Context->getCopy to remove unneeded undef argument.
Use the new context copying method, and copy the Point context not the Vector context.
Fixing docementation so that it can be read from the web.
Make error messages potentially localizable (by making them use sprintf-style strings rather than variable subtitution).
These files provide contexts for the Parser in which only limited operations are allowed. The LimitedNumeric context is analogous to strict_num_cmp(). The other contexts are similar, but for the indicated type of answer. In the LimitedVector context, for example, the student can enter vectors, and can perform numeric operations within the coordinates of the vectors, but can't perform vector operations like vector addition or cross product.
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.
|aubreyja at gmail dot com||ViewVC Help|
|Powered by ViewVC 1.0.9|