<div dir="ltr">If you want to target Python, you might look at using something like vb2py as a starting point.<div><a href="http://vb2py.sourceforge.net/">http://vb2py.sourceforge.net/</a></div><div><br></div><div>Tom<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 4, 2015 at 3:34 PM, Dan Gahlinger <span dir="ltr"><<a href="mailto:dgahling@hotmail.com" target="_blank">dgahling@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">I was thinking of this one: <a href="http://h71000.www7.hp.com/commercial/basic/t12/t12_pro.html" target="_blank">http://h71000.www7.hp.com/commercial/basic/t12/t12_pro.html</a><br>so definitely there was one, it's discontinued though.<br><br>I don't know what to do with MAP or MAT statements, otherwise I could do most of it myself.<br><br>C or C++ is not an ideal language, I was thinking of easier translations,<br>like say to freepascal or python, as they are most "basic like" in looks.<br>Strings as you say can be tough, but that's why pascal or even python is good,<br>strings are just strings.<br>basic was great for string manipulation because you could do literally anything.<br><br>I was kind of hoping someone might have a copy of the HP/compaq product listed above<br>I certainly don't want to buy it (though its discontinued so I can't) just to translate a dozen programs<br>that I wrote myself back in the 80's.<br><br>Update: it looks like I might be able to do it myself using this reference document:<br><a href="http://bitsavers.trailing-edge.com/pdf/dec/vax/lang/basic/AA-HY15B-TE_VAX_BASIC_User_Manual_Feb90.pdf" target="_blank">http://bitsavers.trailing-edge.com/pdf/dec/vax/lang/basic/AA-HY15B-TE_VAX_BASIC_User_Manual_Feb90.pdf</a><span class="HOEnZb"><font color="#888888"><br><br>Dan.<br></font></span><div class="hm HOEnZb"><br><br></div><div><div class="hm HOEnZb"><hr>Date: Tue, 4 Aug 2015 12:29:01 -0600<br>Subject: Re: [Simh] off-topic basic translator<br>From: <a href="mailto:khandy21yo@gmail.com" target="_blank">khandy21yo@gmail.com</a><br>To: <a href="mailto:dgahling@hotmail.com" target="_blank">dgahling@hotmail.com</a><br>CC: <a href="mailto:simh@trailing-edge.com" target="_blank">simh@trailing-edge.com</a></div><div><div class="h5"><br><br><div dir="ltr"><div><div><div>I don't think DEC ever did a translator, only compilers.<br><br></div>There used to be a company that sold one, but is definately wasn't free. Cannot remember their name.<br><br></div>I wrote a heafty part of a VaxBasic to C++ translater, but never handled MAP's or their like very well. It is useful to do a preliminary conversion, but then needs a lot of editing for most programs. Things like programd from "101 Basic Computer Games" mostly work without any problems. Nut it's been a while since I did anything with it.<br><br></div>Problems with the yranslations are mostly vaused by the way Basic handles variables, especially strings. C++ hastwo types of string (char* and std::string), but Basic has several different types mixed together. MAPs want a fixed length fixed position string which may overlap other strings. Normal nasic strings are variable length and variable position. FIELD statements can change a string from one type to another. It gets quite complicated without writing the DEC string library, which is quite complex.<br></div><div><br><div>On Tue, Aug 4, 2015 at 9:52 AM, Dan Gahlinger <span dir="ltr"><<a href="mailto:dgahling@hotmail.com" target="_blank">dgahling@hotmail.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Does anyone have or know where I can get a copy of the Vax Basic translator?<br>Especially for VMS or windows or something?<br><br>I'd like to convert my old Vax Basic programs to something usable on modern systems,<br>but while Vax Basic is simple enough there are a few things I have trouble with,<br>such as MAP statements, records, etc.<br><br>I've tried looking on the HP/etc sites and it seems it's been discontinued,<br><br>does anyone have a copy I can use, or know where I can get one?<br><br>I don't want to pay for a product, as this is just hobbyist use for personal programs I wrote<br><br>thanks<span><font color="#888888"><br><br>Dan.<br>                                     </font></span></div></div>
<br>_______________________________________________<br>
Simh mailing list<br>
<a href="mailto:Simh@trailing-edge.com" target="_blank">Simh@trailing-edge.com</a><br>
<a href="http://mailman.trailing-edge.com/mailman/listinfo/simh" rel="noreferrer" target="_blank">http://mailman.trailing-edge.com/mailman/listinfo/simh</a><br></blockquote></div><br></div></div></div></div>                                         </div></div>
<br>_______________________________________________<br>
Simh mailing list<br>
<a href="mailto:Simh@trailing-edge.com">Simh@trailing-edge.com</a><br>
<a href="http://mailman.trailing-edge.com/mailman/listinfo/simh" rel="noreferrer" target="_blank">http://mailman.trailing-edge.com/mailman/listinfo/simh</a><br></blockquote></div><br></div></div></div>