[system] Repository:
ViewVC logotype

Revision 3466


Jump to revision: Previous Next
Author: dpvc
Date: Thu Aug 11 14:19:26 2005 UTC (14 years, 3 months ago)
Log Message:
Added new Set object class to the Parser.  It implements a finite set
of real numbers, for use with unions and intervals.  E.g., (1,2) U {3}
or (1,2) U {3,4,5}.  You can created Set objects in your perl code via
the Set() command, e.g, Set(3,4,5) or Set("{1,2,3}").  You should set
the Context to Context("Interval") if you plan to use Set objects, as
this defined the braces to form sets (rather than using them as
parentheses, which is the default WW behavior).  Note that in Interval
context, you can NOT use braces as parentheses.

Current, Set objects are only allowed to be sets of numbers.  It would
be possible to extend that in the future.

Changed paths:

Path Details
Directorytrunk/pg/lib/Parser/List/Set.pm added
Directorytrunk/pg/lib/Parser/List.pm modified , text changed
Directorytrunk/pg/lib/Parser/Value.pm modified , text changed
Directorytrunk/pg/lib/Value/Set.pm added
Directorytrunk/pg/macros/Value.pl modified , text changed

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9