<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.xmsonormal, li.xmsonormal, div.xmsonormal
        {mso-style-name:x_msonormal;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.xmsochpdefault, li.xmsochpdefault, div.xmsochpdefault
        {mso-style-name:x_msochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"Times New Roman",serif;}
span.xmsohyperlink
        {mso-style-name:x_msohyperlink;
        color:blue;
        text-decoration:underline;}
span.xmsohyperlinkfollowed
        {mso-style-name:x_msohyperlinkfollowed;
        color:purple;
        text-decoration:underline;}
span.xemailstyle20
        {mso-style-name:x_emailstyle20;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.xecxhoenzb
        {mso-style-name:x_ecxhoenzb;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Well, perl is often described as a write-only language. Perfect as the output of a translator!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Dan Gahlinger [mailto:dgahling@hotmail.com]
<br>
<b>Sent:</b> Tuesday, August 04, 2015 4:59 PM<br>
<b>To:</b> Ken Cornetet; simh@trailing-edge.com<br>
<b>Subject:</b> Re: [Simh] off-topic basic translator<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Per is not a usable language. Lol<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div id="composer_signature">
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#575757">Sent from my Samsung Galaxy smartphone.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
-------- Original message --------<br>
From: Ken Cornetet <<a href="mailto:Ken.Cornetet@kimballelectronics.com">Ken.Cornetet@kimballelectronics.com</a>>
<br>
Date: 08-04-2015 4:55 PM (GMT-05:00) <br>
To: <a href="mailto:simh@trailing-edge.com">simh@trailing-edge.com</a> <br>
Subject: Re: [Simh] off-topic basic translator <o:p></o:p></p>
<div>
<div>
<p class="xmsonormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Perl has goto. Just sayin’</span><o:p></o:p></p>
<p class="xmsonormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="xmsonormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Writing a VAX basic to perl translator sounds like fun, and when you are done, you’d have learned a usable language.
</span><o:p></o:p></p>
<p class="xmsonormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="xmsonormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Simh [<a href="mailto:simh-bounces@trailing-edge.com">mailto:simh-bounces@trailing-edge.com</a>]
<b>On Behalf Of </b>Dan Gahlinger<br>
<b>Sent:</b> Tuesday, August 04, 2015 4:38 PM<br>
<b>To:</b> Kevin Handy; Tom Morris<br>
<b>Cc:</b> <a href="mailto:simh@trailing-edge.com">simh@trailing-edge.com</a><br>
<b>Subject:</b> Re: [Simh] off-topic basic translator</span><o:p></o:p></p>
</div>
</div>
<p class="xmsonormal"> <o:p></o:p></p>
<div>
<p class="xmsonormal" style="margin-bottom:12.0pt"><span style="font-family:"Calibri",sans-serif">Then I'll have to do it myself by hand, which from the manual doesn't look that bad.<br>
I'll test the vb2py script but I won't hold my breath.<br>
I'm not going to write my own to translate a paltry dozen or so programs (even if some of them are long).<br>
<br>
I shudder at having to translate "goto" :)<br>
But from the manual link I provided on vax basic, it doesn't look terribly bad.<br>
I'll probably convert to freepascal which has portability to many platforms, and is the one I'm most familiar with.<br>
<br>
Vax Basic was probably one of the easiest languages I've ever had to learn, in hindsight it was probably a bad idea to learn it<br>
so early on, should have learned C instead...<br>
<br>
Dan.</span><o:p></o:p></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:"Calibri",sans-serif">
<hr size="2" width="100%" align="center">
</span></div>
<p class="xmsonormal" style="margin-bottom:12.0pt"><span style="font-family:"Calibri",sans-serif">Date: Tue, 4 Aug 2015 14:29:49 -0600<br>
Subject: Re: [Simh] off-topic basic translator<br>
From: <a href="mailto:khandy21yo@gmail.com">khandy21yo@gmail.com</a><br>
To: <a href="mailto:tfmorris@gmail.com">tfmorris@gmail.com</a><br>
CC: <a href="mailto:dgahling@hotmail.com">dgahling@hotmail.com</a>; <a href="mailto:simh@trailing-edge.com">
simh@trailing-edge.com</a></span><o:p></o:p></p>
<div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif">It won't help you. If you look at the section "U<a name="x_untransl_lang_sec"><strong><span style="font-family:"Calibri",sans-serif">ntranslatable Language Features</span></strong></a>" it
 specifically mentions that MAP, COMMON, and FIELD, and MAT statements are not habdled.</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif"> </span><o:p></o:p></p>
<div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif">On Tue, Aug 4, 2015 at 2:19 PM, Tom Morris <<a href="mailto:tfmorris@gmail.com" target="_blank">tfmorris@gmail.com</a>> wrote:</span><o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif">If you want to target Python, you might look at using something like vb2py as a starting point.</span><o:p></o:p></p>
<div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif"><a href="http://vb2py.sourceforge.net/" target="_blank">http://vb2py.sourceforge.net/</a></span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif;color:#888888"> </span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span class="xecxhoenzb"><span style="font-family:"Calibri",sans-serif;color:#888888">Tom</span></span><o:p></o:p></p>
<div>
<div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif"> </span><o:p></o:p></p>
<div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif"> </span><o:p></o:p></p>
<div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif">On Tue, Aug 4, 2015 at 3:34 PM, Dan Gahlinger <<a href="mailto:dgahling@hotmail.com" target="_blank">dgahling@hotmail.com</a>> wrote:</span><o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif">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 style="color:#888888"><br>
<br>
Dan.</span></span><o:p></o:p></p>
<div>
<p class="xmsonormal" style="margin-bottom:12.0pt"><span style="font-family:"Calibri",sans-serif"> </span><o:p></o:p></p>
</div>
<div>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:"Calibri",sans-serif">
<hr size="2" width="100%" align="center">
</span></div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif">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></span><o:p></o:p></p>
</div>
<div>
<div>
<p class="xmsonormal" style="margin-bottom:12.0pt"><span style="font-family:"Calibri",sans-serif"> </span><o:p></o:p></p>
<div>
<div>
<div>
<div>
<p class="xmsonormal" style="margin-bottom:12.0pt"><span style="font-family:"Calibri",sans-serif">I don't think DEC ever did a translator, only compilers.</span><o:p></o:p></p>
</div>
<p class="xmsonormal" style="margin-bottom:12.0pt"><span style="font-family:"Calibri",sans-serif">There used to be a company that sold one, but is definately wasn't free. Cannot remember their name.</span><o:p></o:p></p>
</div>
<p class="xmsonormal" style="margin-bottom:12.0pt"><span style="font-family:"Calibri",sans-serif">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.</span><o:p></o:p></p>
</div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif">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.</span><o:p></o:p></p>
</div>
<div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif"> </span><o:p></o:p></p>
<div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif">On Tue, Aug 4, 2015 at 9:52 AM, Dan Gahlinger <<a href="mailto:dgahling@hotmail.com" target="_blank">dgahling@hotmail.com</a>> wrote:</span><o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif">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 style="color:#888888"><br>
<br>
Dan.</span></span><o:p></o:p></p>
</div>
</div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif"><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" target="_blank">http://mailman.trailing-edge.com/mailman/listinfo/simh</a></span><o:p></o:p></p>
</blockquote>
</div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif"> </span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif"><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" target="_blank">http://mailman.trailing-edge.com/mailman/listinfo/simh</a></span><o:p></o:p></p>
</blockquote>
</div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif"> </span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif"><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" target="_blank">http://mailman.trailing-edge.com/mailman/listinfo/simh</a></span><o:p></o:p></p>
</blockquote>
</div>
<p class="xmsonormal"><span style="font-family:"Calibri",sans-serif"> </span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>