This post originated from an RSS feed registered with Agile Buzz
by James Robertson.
Original Post: Date Parser
Feed Title: David Buck - Blog
Feed URL: http://www.cincomsmalltalk.com/rssBlog/buck-rss.xml
Feed Description: Smalltalk can do that
Many years ago, I got frustrated with the date parsing in VisualWorks so I wrote my own parser using the Advanced Tools Parser Generator. It's not only a useful utility but it's also a good example of the Parser Generator. It can parse the following formats:
At the suggestion of Alan Knight, I've published the code in the Cincom Public Store Repository as the package Date Compiler. This code is released under the Creative Commons Attribution License which basically means that you can use or extend this code however you wish (even commercially) so long as you give me credit.