Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Are there any QB or other Basic to Perl translators?

by swampyankee (Parson)
on Sep 04, 2016 at 17:19 UTC ( #1171152=perlquestion: print w/replies, xml ) Need Help??

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 (Cardinal) 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)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1171152]
Approved by davies
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2020-09-20 12:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (121 votes). Check out past polls.

    Notices?