Re: Mixing OO and DB
From: Dmitry A. Kazakov <mailbox_at_dmitry-kazakov.de>
Date: Thu, 14 Feb 2008 21:20:02 +0100
Message-ID: <1gwsugld1p5tg$.1ofn6a6l2h8au$.dlg_at_40tude.net>
Date: Thu, 14 Feb 2008 21:20:02 +0100
Message-ID: <1gwsugld1p5tg$.1ofn6a6l2h8au$.dlg_at_40tude.net>
On Thu, 14 Feb 2008 10:02:11 -0800 (PST), Tegiri Nenashi wrote:
> Please note that formal grammars are declarative specifications of the
> data which are serialized as strings of characters. Ideally, the
> grammar solution should be as clean as the database one. In practice,
> however, there are silly limitations -- you have to check that your
> grammar conforms to a specific "vision" of the compiler designer. For
> example, ANTLR goes only as far as LL(*) and chokes on ambiguous
> grammars. Contrast this to DBMS world where RDBMS executes the query
> no matter how badly it is written.
LOL. Like letting a DFA to recognize a^n b^n... You made my day, thanks!
-- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.deReceived on Thu Feb 14 2008 - 21:20:02 CET