grammatica-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Grammatica-users] How to use Grammatica(.NET) to parse SQL scripts?


From: Oliver Bock
Subject: Re: [Grammatica-users] How to use Grammatica(.NET) to parse SQL scripts?
Date: Mon, 02 May 2011 10:16:20 +1000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10

Hi Andy,

I think you have done something wrong.  Using Visual Studio 2010 Pro SP1, I:

  1. Added a reference to grammatica-1.5.dll.
  2. Added all the source files under grammatica-1.5\test\src\csharp\PerCederberg.Grammatica.Test\
  3. Added in TestAll.cs (directory above).
  4. Commented out lines 44-47 of TestAll.cs because they refer to other tests I did not bother to include.
  5. It builds and runs OK.
I also use Grammatica 1.5 in Visual C# 2008 and in Visual Studio 2008.

Regards,
  Oliver Bock


On 30/04/2011 7:15 PM, cheng yang wrote:
Hi, I use grammatica(.NET) for the first time. I want to parse SQL scripts in C#. And I run the CSharp test in the download package, but it can't be compiled successfully. The error message is:

Namespace "PerCederberg.Grammatica" does not exist in the type or namespace name "Test" .

I have added grammatica-1.5.dll to project.So how can I do now? Can you show me a demo that parsing SQL with C#? Thank you very much.

andycheng
30/4/2011


_______________________________________________ Grammatica-users mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/grammatica-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]