On Tue, Mar 20, 2012 at 01:46, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote: >> With some luck, GNU date is based on a library that can be reused. > > It's a BISON parser. The file is parse-datetime.c in GNU coreutils. > See a vesion at > http://www.nongnu.org/oath-toolkit/clang-analyzer/report-5d72bY.html > Thank you. I hope that there is a non-GPL version somewhere... Alexander.