Re[4]: Unicode source files

2005-05-18 Thread Bulat Ziganshin
Hello Simon, Tuesday, May 17, 2005, 5:30:06 PM, you wrote: >>> The question is what Alex should see for a unicode character: Alex >>> currently assumes that characters are in the range 0-255 (you need a >>> fixed range in order to generate the lexer tables). One possibility >>> is to map all Uni

Parser for Glasgow Extensions?

2005-05-18 Thread mcnster
Hello there, Has anyone written a version of libraries/haskell-src/Language/Haskell/Parser.ly (and friends) to parse the language plus Glasgow extensions? I have code with | <- guards that the current parser barfs on. - the mcnster - ___ Glasgow-has

Re: Parser for Glasgow Extensions?

2005-05-18 Thread Lennart Kolmodin
mcnster wrote: > Hello there, > > Has anyone written a version of > libraries/haskell-src/Language/Haskell/Parser.ly (and friends) to parse > the language plus Glasgow extensions? I have code with | <- guards that > the current parser barfs on. > > - the mcnster - > >

runInteractiveProcess, confused

2005-05-18 Thread Frederik Eaton
Hi, When I run the following line in ghci: Prelude System.Process Control.Concurrent System.IO> do { (inp, out, err, ph) <- runInteractiveProcess "cat" [] Nothing Nothing; forkIO (do hPutStr inp "this\nis\na\ntest\n"; hClose inp); waitForProcess ph } ... it doesn't terminate. I'm following the