[Chicken-users] Nevermind--Re: Problem with read-line
On 12/4/2013 7:01 PM, Dan Wilckens wrote: Hi, I built Chicken 4.8.0.5 from source on the mingw-msys platform (under windows vista). After attempting to port and debug a program I wrote originally for Gambit scheme it seems that I've run into an issue with the read-line command. Specifically, if I type (display read-line) in the interpreter it prints ## as you would expect. But if I write the exact same command into a blank file, Test.scm, and compile it with gsc, running it only prints: Error: unbound variable: read-line I really can't figure this out if it's anything other than a bug. FWIW I chicken-installed sfri-34. I think the other two extensions I use (sfri-69 and irregex) were already installed. Thanks for any help you can provide! Dan Apparently I had to (require-extension extras) since those functions are not included in csc by default as the are in csi. I didn't catch that at first in the documentation. It's a little bit confusing though to have it work in csi but not csc. Sorry for any effort you might have expended... Dan ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Nevermind--Re: Problem with read-line
Hi Dan, On Thu, 05 Dec 2013 17:50:43 -0500 Dan Wilckens wrote: > On 12/4/2013 7:01 PM, Dan Wilckens wrote: >> >> I built Chicken 4.8.0.5 from source on the mingw-msys platform >> (under windows vista). After attempting to port and debug a program >> I wrote originally for Gambit scheme it seems that I've run into an >> issue with the read-line command. Specifically, if I type >> >> (display read-line) >> >> in the interpreter it prints ## as you would expect. >> But if I write the exact same command into a blank file, Test.scm, >> and compile it with gsc, running it only prints: >> >> Error: unbound variable: read-line >> >> I really can't figure this out if it's anything other than a >> bug. FWIW I chicken-installed sfri-34. I think the other two >> extensions I use (sfri-69 and irregex) were already >> installed. Thanks for any help you can provide! >> >> Dan > Apparently I had to (require-extension extras) since those functions > are not included in csc by default as the are in csi. > I didn't catch that at first in the documentation. It's a little bit > confusing though to have it work in csi but not csc. Sorry for any > effort you might have expended... No problem. Actually, some people replied to your question, but I think you didn't receive the replies because you are not subscribed to the list (and those who replied didn't Cc you). See http://lists.gnu.org/archive/html/chicken-users/2013-12/msg5.html Best wishes. Mario -- http://parenteses.org/mario ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Nevermind--Re: Problem with read-line
The http://api.call-cc.org/doc/big-chicken extension is good for times like these. Jim > On Dec 5, 2013, at 16:50, Dan Wilckens wrote: > >> On 12/4/2013 7:01 PM, Dan Wilckens wrote: >> Hi, >> >> I built Chicken 4.8.0.5 from source on the mingw-msys platform (under >> windows vista). After attempting to port and debug a program I wrote >> originally for Gambit scheme it seems that I've run into an issue with the >> read-line command. Specifically, if I type >> >> (display read-line) >> >> in the interpreter it prints ## as you would expect. But if >> I write the exact same command into a blank file, Test.scm, and compile it >> with gsc, running it only prints: >> >> Error: unbound variable: read-line >> >> I really can't figure this out if it's anything other than a bug. FWIW I >> chicken-installed sfri-34. I think the other two extensions I use (sfri-69 >> and irregex) were already installed. Thanks for any help you can provide! >> >> Dan > Apparently I had to (require-extension extras) since those functions are not > included in csc by default as the are in csi. > I didn't catch that at first in the documentation. It's a little bit > confusing though to have it work in csi but not csc. Sorry for any effort > you might have expended... > Dan > > ___ > Chicken-users mailing list > Chicken-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/chicken-users ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users