http://qs321.pair.com?node_id=1171152

swampyankee has asked for the wisdom of the Perl Monks concerning the following question:

Are there any perl modules that can execute Quick Basic code or translate it into Perl?


Information about American English usage here and here. Floating point issues? Please read this before posting. — emc

  • Comment on Are there any QB or other Basic to Perl translators?

Replies are listed 'Best First'.
Re: Are there any QB or other Basic to Perl translators?
by LanX (Saint) on Sep 04, 2016 at 17:41 UTC

      Thanks! I'll give it a try.


      Information about American English usage here and here. Floating point issues? Please read this before posting. — emc

Re: Are there any QB or other Basic to Perl translators?
by Laurent_R (Canon) on Sep 05, 2016 at 06:24 UTC
    Please note that there have been many flavors of Basic, and there are a lot of big differences between the Basic I learned as my first programming language in the 1980s, more or less structured programming Quick Basic of the 1990s and more recent versions of Basics. I doubt that any module could handle such multiple versions of the language, but it might still help you a long way toward your aim.
Re: Are there any QB or other Basic to Perl translators?
by james28909 (Deacon) on Sep 04, 2016 at 18:17 UTC
    Yes, it is called a human. :)

      I could write it from scratch, too, but the point was to avoid work.


      Information about American English usage here and here. Floating point issues? Please read this before posting. — emc

        "but the point was to avoid work" is perl's middle name :) . LanX's solution may be enough, but FYI there is also an Inline::Basic module (the Inline modules allow you to write code in another language in your perl program, run them using their own interpreter or compiler, and access the functions directly in the perl code)