help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking for a Dates grammar


From: Tim Van Holder
Subject: Re: Looking for a Dates grammar
Date: Tue, 3 Jun 2003 08:05:31 +0200

> Hello all,
> 
> I have read a post, "Bison Success Stories?", in the list that say
> 
> "numerous GNU utilities use a Yacc grammar to decode dates 
> such as `2 days
> ago', `3 months 1 day', `25 Dec', `1970-01-01 00:00:01 UTC +5 
> hours' etc."
> 
> I'm very interesting in this grammar.
> Could anyone tell me where can I find this grammar or some 
> information to
> work with dates?

That grammar is getdate.y - I'm not sure which is the canonical
package it belongs to (maybe libiberty), but I know it's included
as part of the sources of cvs (www.cvshome.org).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]