in reply to Re: Re: XBASIC to Perl translator: semantical equity
in thread XBASIC to Perl translator: semantical equity

The BASIC program just outputs some graphics. I would loved to have some numerical outputs that i could test against. But the code is just a mess and i fear breaking it during adding some functionility.

With a bit of work, you can treat the graphics as "numerical outputs". If the output is supposed to be pixel-perfect, the graphics files produced by the two programs will be identical. If there's some acceptable range of variation, perhaps there's a way to use one of the image-processing modules on CPAN to help with the comparison.

  • Comment on Re: Re: Re: XBASIC to Perl translator: semantical equity

Replies are listed 'Best First'.
Re: Re: Re: Re: XBASIC to Perl translator: semantical equity
by Anonymous Monk on Apr 18, 2004 at 10:31 UTC
    Thats a good idea. I will try to dig if the output is artifactless when accessed with perl.

    thanks for this practical idea. Murat