[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] RFC 1123/HTTP-format date parsing
From: |
Ivan Shmakov |
Subject: |
Re: [Chicken-users] RFC 1123/HTTP-format date parsing |
Date: |
Tue, 31 Jul 2007 16:30:24 +0700 |
>>>>> "MA" == Moe Aboulkheir <address@hidden> writes:
MA> I need to parse some RFC 1123 dates, in order to turn them into
MA> something on which it is easier to perform arithmetic (RFC 1123 is
MA> the format used, among other things, to describe absolute
MA> dates/times in HTTP). I would very much like to avoid writing a
MA> whole crazy thing to do this from scratch. I poked around the egg
MA> directory, grepped for "1123" in the repository and glanced at the
MA> source for some likely-looking eggs, but didn't find anything. Any
MA> ideas?
While I'm not aware of any existing parsers, implementing one on
top of some sort of regular expressions implementation and SRFI
19 [1, 2] seems not to be too much work.
[1] http://srfi.schemers.org/srfi-19/srfi-19.html
[2] http://www.call-with-current-continuation.org/eggs/srfi-19.html