Find Jobs
Hire Freelancers

Building T-SQL parser in Delphi

$100-500 USD

进行中
已发布将近 21 年前

$100-500 USD

货到付款
*(Changes were made on 05-Jun-03)* I need a Delphi programmer who has experience with "compiler compiler" tools, preferably Coco/R, to build a complete and accurate grammar for Transact-SQL. Understanding of SQL and relational databases is a plus. The chosen coder will be provided with a grammar file in Coco/R format already containing most Transact-SQL constructs. However, (a) the grammar contains a number of LL(1) violations, (b) it is not verified to be complete and (c) the generated parser is not integrated with an input stream class provided by TSyntaxMemo component used in my application. The coder must: * Make the grammar file compile without errors * Build an "adapter" class (or modify Coco/R base classes) to allow the generated parser to use the input stream provided by the SyntaxMemo component. * Check against MSSQL documentation to see if anything is missing and add the missing productions. In this project, the resulting parser need not do something very useful with the SQL code, just output some details of the parsing process (see "Deliverables" section). If everything goes well, there will be a follow-up project where you will have to build from the parsed CREATE/ALTER/DROP statements an internal model of the database schema. ## Deliverables 1) The deliverables shall include (a) the complete and accurate grammar definitions for Transact-SQL, (b) the working parser (source code) built from these definitions, basing on the provided testbed application. The parser must demonstrate the following: * Parse the text in the editor (or any selected part of it) using the developed "adapter" class; * Provide reasonable warnings on any syntax errors in the input text (SQL script); * Correctly determine where one statement ends and the next one begins (even when statement separators aren't there); * As an SQL is being parsed, output some status information about the statement. * For all CREATE, DROP, ALTER, GRANT/DENY/REVOKE statements as well as for stored procedure calls (like "exec sp_addtype ..."), extract and output all relevant information (column names, types, etc), keeping in mind that the next version of the parser will have to build a hierarchy of schema objects from this information. 2) Complete ownership and distribution copyrights to all work purchased. ## Platform Windows 98/NT/XP, Delphi 6
项目 ID: 2939939

关于此项目

1条提案
远程项目
活跃21 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$127.50 USD 在14天之内
5.0 (77条评论)
5.2
5.2

关于客户

RUSSIAN FEDERATION的国旗
Russian Federation
5.0
6
会员自2月 14, 2003起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。