Re: garbage collector
- Posted by Robert Craig <rds at RapidEuphoria.com> Dec 21, 2006
- 622 views
Ricardo M. Forno wrote: > Robert Craig wrote: > > I use Watcom to build the official interpreter for > > both DOS and Windows, but you can build the Euphoria > > interpreter using any of the C compilers supported > > by the Translator. All I really depend on for storage > > allocation is the existence of a C malloc() or > > equivalent routine. > > > > (Trivia fact: I actually use Borland to > > build the translator ecw.exe, just because it compiles > > faster than Watcom, and also as a kind of regression self-test.) > ... > Hi Rob. > Please, tell me what is a regression self-test. In general, "regression" refers to a program failing on test cases that it used to succeed on. "Self-test" refers to a program that tests itself somehow. euphoria\demo\sanity.ex is a good example of a program that tests for regression by using lots of little "self-tests" to check for failures. When I run build.bat on Windows, the translator is used to build a new interpreter and new translator. The interpreter is built using the translator with Watcom, while the translator itself is built using the translator with Borland. So if I accidentally introduce a Borland-specific regression error in the translator, I will probably notice it very soon because I will have broken the ecw.exe translator executable itself. I probably won't have to wait for a Borland user to report the regression bug. (This incestuous build process is a bit hard to fathom sometimes!) Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com