On Tue, Jan 10, 2012 at 23:36, Glenn Fowler <[email protected]> wrote:

>
> On Tue, 10 Jan 2012 23:27:52 +0800 Clark J. Wang wrote:
> > On Tue, Jan 10, 2012 at 23:22, Glenn Fowler <[email protected]>
> wrote:
> > > the parser is in -last tmxdate()
> > > its add-hoc (no formal grammar)
> > I suggest it be documented. I found it's very powerful and useful. :)
>
> right now the best we have are the regression tests in the src tarball
>        src/cmd/tests/date.dat
>

I've downloaded 4 tgz files INIT.2011-02-08.tgz, ast-ast.2010-06-21.tgz,
ast-base.2011-02-08.tgz and ast-ksh.2011-02-08.tgz but I cannot find the
date.dat file so where is it?


> it has three tab-separated columns:
>        input string, NIL to just test for parse format string
>        parse format string, NIL for the $DATEMSK file, NULL for the
> add-hoc parser
>        expected result
> "SET NOW some-date-string" sets the reference date until the next "SET NOW
> ..."
>
>
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to