and back to Perl

Haven't hacked on Kdict since the T::T incident, but K's been at workupdating the content again, so this morning I sync'd the prod-devdatabase to the public-facing copy on dict.collapsar.net. A goodexample of how things are looking these days can be found here:

http://dict.collapsar.net/kdict/kdict.xi?wid=57

Last night at Too Damned Late o'clock I started writing down thesystematic (as opposed to programmatic) outline for parsing Mintgrammars and how to support all grammars with a single parser. Foreverand a day I've been thinking I needed to use Parse::RecDescent orsomething else along those lines, but last night I had the thoughtthat since the grammar was pretty small, pretty simple, and veryrigid, the simplest thing might be to just tokenize incoming lines bysplitting on whitespace, and then writing my own (horrible) LRparser. This would also do away with the various manifestations of thenewline problem, and would permit much more accurate error reporting(including, in some cases, not only telling what line something wentwrong on, but pointing back at a probable cause or reference point onanother line).

This probably won't get done today though. The TODO is long, and I'mrunning on 3.5h of sleep.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Without JavaScript enabled, you might want to
use the classic discussion system instead. If you login, you can remember this preference.