Re: [lkb] GNU clisp and generation
Håvard Mork <[email protected]> Fri, 11 Mar 2005 13:41:39 +0100
| Newsgroups | gmane.comp.ai.lkb |
|---|---|
| Message-ID | <[email protected]> |
John, Thank you for your response. The grammar is not my work, and is quite substantial, so I cannot give you access to it before clearing that up with the authors. After some research, I have found out that the error is probably not LKB-based. The same grammar works fine on Linux and Windows pre-compiled versions (the ones from march this year). With GNU CLISP 2.32, generation does not work, and ends with LOGTEST/LOGIOR errors. With GNU CLISP 2.28 (2002), this error does not show up. I have also tested with SBCL, which seem to work nicely also. If you still find this interesting, I can try to get you the grammar next week. Thanks for your help regarding this issue. Have a nice weekend. On Wed, 9 Mar 2005 13:42:40 +0000, John Carroll <[email protected]> wrote: > Havard, > > In December last year I made a change to how the LKB generator keeps > track of the MRS EPs it has covered and ones it still has left to do. > The new approach uses the Lisp functions logior and logtest. I suspect > the precompiled Windows binary you tried pre-dates this change. > > I'll try and find this bug. How large is your grammar? Would you be > able to email it to me and I'll see if I can find out what's going > wrong? > > John > > On 9 Mar 2005, at 11:50, Ann Copestake wrote: > > > > > it seems to me as though a recent update has broken the capacity to > > generate > > with some grammars, possibly just those which don't have a `full' MRS > > (i.e., > > those with no handles). The Windows version is lagging the Linux > > version > > which is why you don't see a problem there. If this is right you > > could move > > back to an older Linux version as a temporary fix. I hope someone > > else will > > track the problem down - if not I will have a look myself but I won't > > be able > > to do it for at least a week, > > > > Ann > > > > > >> Hello! > >> I'm having some problems with generation in LKB, using the latest > >> 06.03.05 > >> version. Running with GNU CLISP on FreeBSD. > > > >> Using TTY commands: (do-parse-tty "Ola sover") (do-generate-tty) > > > >> the result is: Generating from parser edge 5 WARNING: LOGIOR: NIL is > >> not a > >> INTEGER No strings generated NIL > > > >> This error does not appear on the latest Windows version (precompiled > >> with > >> allegro) using exactly the same grammar. The system sometimes > >> complains about > >> "LOGTEST: NIL is not a INTEGER" also. > > > >> I have little knowledge of LISP, so it would be nice if you could > >> help me > >> here. Is this a compatibility issue? > >> -- Mvh, > >> Håvard Mork > >> http://www.stud.ntnu.no/~havarmor/ > > > > > > > > > > -- Mvh, Håvard Mork http://www.stud.ntnu.no/~havarmor/