Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!pitt!willett!ForthNet From: ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: PYGMY Forth Message-ID: <2437.UUL1.3#5129@willett.pgh.pa.us> Date: 4 Mar 91 13:19:27 GMT Organization: (n.) to be organized. But that's not important right now. Lines: 94 Category 1, Topic 45 Message 74 Sat Mar 02, 1991 F.SERGEANT [Frank] at 17:13 CST To Matthew Burke Re metacompiling in Pygmy . > I just downloaded PYGMY 1.3 from wuarchive.wustl.edu ... I have not been > able to get the metacompiler to work and was wodering if anyone else > had. . . The first question is whether you are doing something wrong or whether the file(s) you got from wuarchive.wustl.edu are bad. Here is the DOS directory listing info for the two key files for Pygmy 1.3: . PYGMY.COM 15426 10-04-90 1:31a PYGMY.SCR 187392 10-04-90 1:31a . If you don't get the same info, then you may not have the current files. If you do, then probably you do have the correct files. If you have the September (1:30a) files, they should still work. . I just tried out metacompilation on my copies of the above files and it worked fine. Here's what I did, running from a floppy on drive B: . B:>PYGMY 1 LOAD BYE . It worked fine, creating the kernel file H1.COM (whose name you can change on screen 1 of PYGMY.SCR). Then to verify it, I used the kernel file to build the rest of the Pygmy system by typing . B:>H1 83 LOAD BYE . It worked fine, extending the kernel to various degrees and saving the results as H2.COM, H3.COM, and H4.COM. Then from DOS I compared PYGMY.COM to H4.COM and they matched exactly. . So, please try the meta-compilation exactly as I demonstrated above, from the original files (where you have made no changes at all to PYGMY.SCR) and see what happens. If it doesn't work, please report exactly what you did and exactly what did happen, and maybe I can figure out what is going wrong. . You mentioned that TCREATE was missing. Missing from *where*? I found it on screen 7 of PYGMY.SCR. Get into Pygmy and type 1 EDIT to get into the editor. Then press the F3 key (for setting up a search string) and type TCREATE followed by the enter key. This will cause the editor to search screen 1 for "TCREATE" and it won't find it. Now press the F10 key and the editor will search across screens until it comes to TCREATE or until it comes to the end of the last screen in PYGMY.SCR. . When in doubt, exit to DOS (with BYE) and bring up a fresh copy of PYGMY.COM. When further in doubt, do a Ctrl-Alt-Del reboot of your computer. To eliminate all doubt, do a "master reset." That is, turn off power to the computer with the Big Red Switch, wait a few minutes, and turn the computer on again. Try to go back to copies of the original files you downloaded. . One caution, after you have meta-compiled or started meta-compiling, you shouldn't try to meta-compile *again* without exiting to DOS and reloading PYGMY.COM (why? you may not care why, but it is because you have already redefined colon, etc and when you try to redefine them a second time things won't work). . Now, here is a general complaint I'd like to lodge against those who are guilty of it. This applies only mildly to Matthew. He says "I have not been able to get the metacompiler to work." Now, that's not bad. After all, he *did* say it was Pygmy Forth and he *did* say it was version 1.3 and he *did* say where he got it. But he didn't say *what* he did specifically in his attempt to get it to work and he didn't say *what* happened in response. Could such info have helped me pin-point the problem? Possibly. Someone else posted a sample of code he couldn't get to work (it had nothing to do with Pygmy) and didn't even bother to say what Forth he was using or what type of computer. (In spite of that Dennis Ruffer was kind enough to answer him.) My point here is that requesters of help should give as much info as possible. This will increase their chance of getting appropriate answers. . Matthew, if you are in doubt about whether you have the correct files, you could copy them to a floppy and send the to me and I'll compare them to the masters. Or, you could ZIP them with PKZIP v1.1 and see what CRCs you get. I get AA74E3CD for PYGMY.SCR and EBBCB497 for PYGMY.COM. . Feel free to write with more info or questions as I would very much like to help you work this out. . -- Frank ----- This message came from GEnie via willett. You *cannot* reply to the author using e-mail. Please post a follow-up article, or use any instructions the author may have included (USMail addresses, telephone #, etc.). Report problems to: dwp@willett.pgh.pa.us _or_ uunet!willett!dwp