Yes, this certainly has considerable utility!On Nov 15, 2009, at 9:15 AM, Jurgen Vinju wrote: Dear imps,
My colleague at CWI, Mark Hills, has constructed an extension to PDB to be able represent dates and time. He's added the DateTime type and value representations, parallel to the other types (location, integer, relation).
This feature is very much wanted by the Rascal team for representing source code facts that are tied to version repositories. By having this information first class, instead of encoded in integers or something, we can provide standard API and standard visualizations that can interpret dates and times in a meaningful manner. For example, charts that have dates on the X axis and code churn on the Y axis can now be fed by a relation with such a type: rel[datetime, int], and so on.
I plan to apply the patches soon (i.e. in the next two weeks).
Cheers,
Jurgen
-- Cheers, - Bob ------------------------------------------------- Robert M. Fuhrer Research Staff Member Programming Technologies Dept. IBM T.J. Watson Research Center
|