|with or without keywords firstname.lastname@example.org (Buday Gergely) (1998-03-12)|
|Re: with or without keywords email@example.com (Vladimir Alexiev) (1998-03-15)|
|Re: with or without keywords firstname.lastname@example.org (1998-03-18)|
|Re: with or without keywords Nick.Roberts@dial.pipex.com (Nick Roberts) (1998-03-18)|
|Re: with or without keywords email@example.com (Olaf Stoyke) (1998-03-18)|
|From:||"Nick Roberts" <Nick.Roberts@dial.pipex.com>|
|Date:||18 Mar 1998 23:01:55 -0500|
|Organization:||UUNet UK server (post doesn't reflect views of UUNet UK)|
I've always liked the idea of 'Module SQL' -- defined by the ISO for
several languages -- which combines partial syntax for the 'host'
language with full SQL syntax. This syntax is put into separate
'module' files. The beauty of this method is that the kind of problems
you cite are (largely) eliminated: you can define a separate syntax
for the module files, and compile them using this syntax. It also
helps to factor out SQL-embedded code from 'pure' host-language code
(generally a good idea from software maintenance point of view). I
believe the ISO were also proposing a way of embedding SQL code, but I
don't know how. More info from the ISO (http://www.iso.ch).
Nick Roberts, Croydon, UK
Vladimir Alexiev wrote in message 98-03-136...
|[ how to parse embedded SQL without tripping over SQL keyworks in
|non-SQL code ]
Return to the
Search the comp.compilers archives again.