Norbert,<br><br>Thank you for the suggestion.  If fact, I originally started with the sentence<br><br>If p:String-To-Be-Parsed matches  [&quot;drs&quot;, &quot;(&quot;, Y, &quot;,&quot;,  Z, &quot;)&quot;]<br>and Y
is a n:domain-definition<br>and Z is a n:conditions-definition<br>then
p:String-To-Be-Parsed must be a n:drs-definition.<br><br>This is similar to your suggestion but, after looking at your example, I think I will also play around with the idea of using the noun &quot;n:string-to-be-parsed&quot; instead of the proper name &quot;p:String-To-Be-Parsed&quot; and I will keep in mind the use of the phrase &quot;there is a&quot;.  Also, I, for some reason, got it into my head that variables had to be X&lt;n&gt;, Y&lt;n&gt;, or Z&lt;n&gt;, where &lt;n&gt; is an optional integer.  Being able to use the more descriptive D and C is very nice.<br>
<br>After I saw that the APE web client would parse the sentence above I started playing around with the more verbose form I sent you, in order to see how I might create a logically equivalent sentence without using the list notation.  I was afraid that non-programmers might balk at the sight of the list notation because it might look like a construct from a programming language.  But then, I don&#39;t really expect non-programmers to write specifications for parsers, so this specific sentence shouldn&#39;t present a problem!  I&#39;m glad you added the list notation to ACE; it allows for the creation of much more concise and readable sentences.<br>
<br>I guess it&#39;s obvious that I&#39;m am trying to write a DRS parser in ACE.  I then want to add a back end that generates code (initially Java code).<br><br>The reason for using &quot;must be&quot; instead of &quot;is a&quot; near the end of the sentence is that I am trying to generate code from specifications that are written as statements of necessity rather than assertions or statements of facts.  In the end I want to be able to create a multi-paradigm language that uses statements of necessity to express requirements that are translated to imperative code, assertions to express business rules, constraints, pre-conditions, post-conditions, and tests in a declarative manner, and facts to express data.<br>
<br>So I have a very, very long road ahead of me, but it&#39;s good to have goals, right? :-)  Any suggestions you have about any aspect of this endeavor are always welcome.<br><br>I think Launchpad was a great choice for hosting the ACE code.  I look forward to playing around with branches off the trunk that Tobias plans to create there.<br>
<br>BTW, since I sent you the screenshot I have encountered the same error message several times from the web client.  When I try to parse the same sentences (all of them ill-formed) using the APE command-line interface at home the parser just seeems to loop indefinitely (or at least until I finally kill the application).  I suspect that the web client just times out and displays the error message requesting that a screenshot be submitted.  I&#39;m not really worried about it.  It isn&#39;t hindering the work I&#39;m trying to do.  I submitted only the first screenshot because I didn&#39;t want to you inundate you -- I just wanted you to be aware of this behavior.  Let me know if you want me to continue to send in screenshots, but don&#39;t spend too much time on this issue on my account. <br>
<br>-- Ken<br><br><div class="gmail_quote">On Fri, Jan 1, 2010 at 6:25 PM, Norbert E. Fuchs <span dir="ltr">&lt;<a href="mailto:fuchs@ifi.uzh.ch">fuchs@ifi.uzh.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
On 30 Dec 2009, at 21:34, Kenneth Jones wrote:<br>
<br>
&gt; A screenshot is attached.  Note the syntax error: the word &quot;and&quot; occurs at the end of the next-to-the-last line and at the beginning of the last line and is therefore repeated.  I just wanted to let you know about the error handling.<br>

&gt;<br>
&gt; -- Ken<br>
<br>
</div>Ken<br>
<br>
While we are working on the error that you reported in relation to your sentence<br>
<br>
If p:String-To-Be-Parsed starts with X1 and X1 is &quot;drs&quot; and<br>
X1 v:immediately-precedes X2 and X2 is &quot;(&quot; and<br>
X2 v:immediately-precedes X3 and X3 is Y and<br>
X3 v:immediately-precedes X4 and X4 is &quot;,&quot; and<br>
X4 v:immediately-precedes X5 and X5 is Z and<br>
X5 v:immediately-precedes X6 and X6 is &quot;)&quot; and<br>
and Y is a n:domain-definition and Z is a n:conditions-definition<br>
then p:String-To-Be-Parsed must be a n:drs-definition.<br>
<br>
I was wondering whether your sentence could not be expressed more concisely as<br>
<br>
If there is a n:domain-definition D<br>
and there is a n:conditions-definition C<br>
and a n:string-to-be-parsed is [&quot;drs&quot;, &quot;(&quot;, D, &quot;,&quot; , C ,&quot;)&quot;]<br>
then the n:string-to-be-parsed is a n:drs-definition.<br>
<br>
Regards.<br>
<font color="#888888"><br>
   --- nef</font></blockquote></div><br>