On Tue, 2002-03-12 at 09:05, Randal L. Schwartz wrote: > >>>>> "Matt" == Matt Sergeant <[EMAIL PROTECTED]> writes: > > >> If any (pre)parser at all, why not use perl, so we all understand. If it gets > >> too complicated for straight perl, use Parse::RecDecsent > > Matt> Because parsing is easier in C ;-) > > And Parse::RecDescent doesn't generate a standalone engine... you have > to install Parse::RecDescent even on the target machine. > > However, I believe Parse::Yacc or one of its kin does indeed generate > pure Perl code that could be reused. > > Wait! Don't we already have a SQL::Statement or something? Why are > we reinventing things?
As already mentioned, each database system has features not shared with others. Parsing them is easy in C. Parsing is easier in Perl but much slower. -jwb
