cain.sql

来自「一个SQL解析器」· SQL 代码 · 共 56 行

SQL
56
字号
Path: incas!unido!mcsun!uunet!cuc1!lcainFrom: lcain@cuc1.UUCP (Leroy Cain)Newsgroups: comp.databasesSubject: ISO/ANSI SQL Parser in LEX/YACCKeywords: ISO ANSI SQL LEX YACCMessage-ID: <2137@cuc1.UUCP>Date: 15 Sep 89 21:50:08 GMTOrganization: Columbia Union College; Takoma Park, MD 20912Lines: 42Posted: Fri Sep 15 22:50:08 1989Hi GuysThe LEX/YACC parser for ANSI SQL is almost done.  What I am look fornow is several of you that are familiar the ANSI specification toreview my work before I release it, so that it will be as error freeas possible.For the rest of you here are some highlights of this package.This is an parser for ISO/ANSI SQL written useing LEX, YACC, and Cit provide syntax check and a frame for building a completedquery processor.See	ANSI X3.135-1986 and ANSI X3.135.1-198x Addendum 1	ISO 9075-1987(E) Addendum 1Unlike the previous SQL parser I posted, this one can be process witha normal YACC so everyone should be able to use it.There are three parts:	1. Module	-- This processes the module specification and			produces function calls to which ever language			is specificied.	2. Embedded	-- This processes the embedded SQL specification and			produces function calls to which ever language			is specificied.	3. Internal	-- This processes SQL command passed to the function			interface.Notes:	In Module and Embedded you add the code to produce the function	calls.	Language specificied for use with Module and Embedded are C, COBOL,	FORTRAN, Pascal, PL/1.	C as a possible langauge for Module and Embedded is not specificied	in the ANSI specs.  This is the only place I deveated. MS-DOS Just say NO!!!!!			      OS/2 Why????Leroy Cain;      Columbia Union College;      Mathematical SciencesDepartment7600 Flower Ave. WH406;  	              Takoma Park, Md 20912(301) 891-4172				      uunet!cucstud!lcain

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?