lua-users home
lua-l archive

Re: date.js in Lua?

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


Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> writes:
>> 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
The original yacc source is probably easier to read tho... :
 http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=lib/parse-datetime.y
:]
[Hmm, I guess this is a job for ... LPEG!]
-miles
-- 
History, n. An account mostly false, of events mostly unimportant, which are
brought about by rulers mostly knaves, and soldiers mostly fools.

AltStyle によって変換されたページ (->オリジナル) /