Bug#271124: hugs98: needs Build-Conflicts with byacc

2005-09-10 Thread Ross Paterson
On Fri, Sep 09, 2005 at 08:28:23PM -0400, Thomas Dickey wrote:
 I see byacc is checked for in the hugs98 configure script, but parser.y
 doesn't contain any bison-specific junk.  Any idea why byacc is being
 picked on here?

Haskell has a wierd rule that an implicit close brace should be inserted
if an illegal token is encountered where an implicit close brace would
be permitted, e.g. at the final ')' in

scanl f q xs  = q : (case xs of
 []   - []
 x:xs - scanl f (f q x) xs)

parser.y implements this with using a trick with the error non-terminal
(see the productions for end), and for some reason this doesn't work
with byacc.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#271124: hugs98: needs Build-Conflicts with byacc

2005-09-10 Thread Thomas Dickey

On Sat, 10 Sep 2005, Ross Paterson wrote:


On Fri, Sep 09, 2005 at 08:28:23PM -0400, Thomas Dickey wrote:

I see byacc is checked for in the hugs98 configure script, but parser.y
doesn't contain any bison-specific junk.  Any idea why byacc is being
picked on here?


Haskell has a wierd rule that an implicit close brace should be inserted
if an illegal token is encountered where an implicit close brace would
be permitted, e.g. at the final ')' in

scanl f q xs  = q : (case xs of
 []   - []
 x:xs - scanl f (f q x) xs)

parser.y implements this with using a trick with the error non-terminal
(see the productions for end), and for some reason this doesn't work
with byacc.


thanks - I'll look/see if it's something I might be able to fix in byacc

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#271124: hugs98: needs Build-Conflicts with byacc

2005-09-10 Thread Thomas Dickey

On Fri, 9 Sep 2005, Isaac Jones wrote:


Thomas Dickey [EMAIL PROTECTED] writes:


I see byacc is checked for in the hugs98 configure script, but parser.y
doesn't contain any bison-specific junk.  Any idea why byacc is being
picked on here?


Either configure or the upstream author thinks it won't work with byacc:


yes, I saw that.  There's no changelog worth mentioning in the sources,
so I asked.


checking for byacc... byacc
Found 'byacc', but the Hugs98 parser is incompatible with it.
You need to install 'bison' and re-run the configure script.
make: *** [debian/build.stamp] Error 1

But I don't know why it's incompatible... Ross is upstream; can you
shed any light Ross?

peace,

 isaac



--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#271124: hugs98: needs Build-Conflicts with byacc

2005-09-09 Thread Thomas Dickey
I see byacc is checked for in the hugs98 configure script, but parser.y
doesn't contain any bison-specific junk.  Any idea why byacc is being
picked on here?

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net


signature.asc
Description: Digital signature


Bug#271124: hugs98: needs Build-Conflicts with byacc

2005-09-09 Thread Isaac Jones
Thomas Dickey [EMAIL PROTECTED] writes:

 I see byacc is checked for in the hugs98 configure script, but parser.y
 doesn't contain any bison-specific junk.  Any idea why byacc is being
 picked on here?

Either configure or the upstream author thinks it won't work with byacc:

checking for byacc... byacc
Found 'byacc', but the Hugs98 parser is incompatible with it.
You need to install 'bison' and re-run the configure script.
make: *** [debian/build.stamp] Error 1

But I don't know why it's incompatible... Ross is upstream; can you
shed any light Ross?

peace,

  isaac


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]