<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Hi Dan, Ann,</div>
<br class="">
Olga and I worked out what the problem was: she was loading her toy grammar into an LKB session which already had a loaded grammar. The previously loaded grammar had set *empty-list-type* to null; the toy grammar uses the LKB default of *null*, but wasn't setting
 it in its globals.lsp file.
<div class=""><br class="">
</div>
<div class="">Very helpfully, there's an FAQ about this issue:&nbsp;<a href="http://moin.delph-in.net/GeFaqSwitchingGrammars" class="">http://moin.delph-in.net/GeFaqSwitchingGrammars</a></div>
<div class=""><br class="">
</div>
<div class="">John</div>
<div class="">
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 31 May 2019, at 08:56, Ann Copestake &lt;<a href="mailto:aac10@cl.cam.ac.uk" class="">aac10@cl.cam.ac.uk</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="margin-top: 0px; margin-bottom: 0px; font-family: Courier; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">
I don't have time to look at it, but it looks like the sort of thing that used to happen when a file had windows end of line encoding and the system was expecting Linux or vice versa.&nbsp; Dan wouldn't see it because the file would be autoconverted.&nbsp; I thought
 we had made the systems robust to that, but maybe it's similar but not actually end of line.&nbsp;<span class="Apple-converted-space">&nbsp;</span><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px; font-family: Courier; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">
<br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px; font-family: Courier; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">
Ann<br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px; font-family: Courier; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">
<br class="">
</div>
<div class="moz-cite-prefix" style="font-family: Courier; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">
On 31/05/2019 08:44, Dan Flickinger wrote:<br class="">
</div>
<blockquote type="cite" cite="mid:DM5PR02MB23808AE143C71683407B2E81BA190@DM5PR02MB2380.namprd02.prod.outlook.com" style="font-family: Courier; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Hi Olga,</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">I cannot reproduce the misbehavior you describe.&nbsp; I loaded your grammar into each of the two systems (LOGON LKB and LKB-FOS), and in each system I saw no errors on loading, and I was able to successfully
 parse the sentence &quot;Kim adores snow in Oslo&quot; (two parses produced, as expected).&nbsp; Note that there is no attempt to define a type &quot;null&quot; (without asterisks) in your user-fns.lsp, so I also don't understand how you could get the error messages you report about
 that undefined type.</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">I hope you can provide more details about your setup if the problem persists for you.</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">&nbsp;Dan</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<br class="">
<br class="">
<div style="" class="">
<hr tabindex="-1" style="display: inline-block; width: 736.953125px;" class="">
<div id="divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space">&nbsp;</span><a class="moz-txt-link-abbreviated" href="mailto:developers-bounces@emmtee.net">developers-bounces@emmtee.net</a><span class="Apple-converted-space">&nbsp;</span><a class="moz-txt-link-rfc2396E" href="mailto:developers-bounces@emmtee.net">&lt;developers-bounces@emmtee.net&gt;</a><span class="Apple-converted-space">&nbsp;</span>on
 behalf of Olga Zamaraeva<span class="Apple-converted-space">&nbsp;</span><a class="moz-txt-link-rfc2396E" href="mailto:olzama@uw.edu">&lt;olzama@uw.edu&gt;</a><br class="">
<b class="">Sent:</b><span class="Apple-converted-space">&nbsp;</span>Wednesday, May 29, 2019 10:24 AM<br class="">
<b class="">To:</b><span class="Apple-converted-space">&nbsp;</span><a class="moz-txt-link-abbreviated" href="mailto:developers@delph-in.net">developers@delph-in.net</a><br class="">
<b class="">Subject:</b><span class="Apple-converted-space">&nbsp;</span>[developers] a toy grammar not working in LKB FOS and logon dist</font>
<div class="">&nbsp;</div>
</div>
<div class="">
<div dir="ltr" class="">
<div class="">Dear developers,</div>
<div class=""><br class="">
</div>
<div class="">We've been using a toy grammar (attached) in an introductory CompLing class here at UW for a number of years. Mostly we've been using it with a VM that was built for the grammar engineering class, but I seem to be remembering very positively that
 I used to be able to use it with e.g. LKB FOS a year ago.&nbsp;</div>
<div class=""><br class="">
</div>
<div class="">This year at least, it seems like I cannot use it with either LKB FOS or the logon distribution of the LKB. On both versions of the LKB, I observe the following:</div>
<div class=""><br class="">
</div>
<div class="">1) The grammar doesn't load, complaining about the NULL type:</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><span id="cid:part1.5545C42D.643C7DD3@cl.cam.ac.uk">&lt;Screen Shot 2019-05-29 at 9.13.14 AM.png&gt;</span><br class="">
</div>
</div>
<div class=""><br class="">
</div>
<div class="">2) I suspected that this is because, in types.tdl, *null* has asterisks but in e.g. user-fns.lsp it does not? Removing asterisks around null seems to help with the errors but it doesn't look like the grammar is working: there are no parses or
 even parse charts produced.</div>
<div class=""><br class="">
</div>
<div class="">Would anyone be so kind to take a look and advise me as to how to update the toy grammar so it is working? Or perhaps this sounds like something in my (two!) setups?..</div>
<div class=""><br class="">
</div>
<div class="">Thank you,</div>
<div class="">--<span class="Apple-converted-space">&nbsp;</span><br class="">
<div dir="ltr" class="x_gmail_signature">Olga Zamaraeva</div>
</div>
</div>
</div>
</div>
</div>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" class=""><br class="">
<table style="border-top-width: 1px; border-top-style: solid; border-top-color: rgb(211, 212, 222);" class="">
<tbody class="">
<tr class="">
<td style="width: 55px; padding-top: 13px;" class=""><a href="http://www.avg.com/email-signature?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=emailclient" target="_blank" moz-do-not-send="true" class=""><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" moz-do-not-send="true" width="46" height="29" style="width: 46px; height: 29px;" class=""></a></td>
<td style="width: 470px; padding-top: 12px; color: rgb(65, 66, 78); font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;" class="">
Virus-free.<span class="Apple-converted-space">&nbsp;</span><a href="http://www.avg.com/email-signature?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=emailclient" target="_blank" moz-do-not-send="true" style="color: rgb(68, 83, 234);" class="">www.avg.com</a></td>
</tr>
</tbody>
</table>
<a href="x-msg://50/#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1" moz-do-not-send="true" class=""></a></div>
</blockquote>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>