Den 2015-08-04 kl. 17:52, skrev Dan Gahlinger:
Does anyone have or know where I can get a copy of the Vax Basic
translator?
Especially for VMS or windows or something?
I'd like to convert my old Vax Basic programs to something usable on
modern systems,
but while Vax Basic is simple enough th
> From: Ken Cornetet
> Date: Tue, 4 Aug 2015 20:55:06 +
> Perl has goto. Just sayin'
*Pascal* has goto.
> Writing a VAX basic to perl translator sounds like fun, and when you are
> done, you'd have learned a usable language.
Yes, and one in which white space is not syntactically significan
I would second using Perl, it would probably be the easiest translator
target as a lot of the typing and string manipulation may require less
work than something like C/C++ or Pascal.
Original message
From: Ken Cornetet
mailto:ken.corne...@kimballelectronics.com>>
Date: 08
C++ hs std::string which handles most of the basic strings, except for
those in maps and other such structures.
It also has GOTO, and you can implement GOSUB without too much trouble You
just hve to be careful about jumping over definitions..
On Tue, Aug 4, 2015 at 3:04 PM, Ken Cornetet <
ken.cor
Well, perl is often described as a write-only language. Perfect as the output
of a translator!
From: Dan Gahlinger [mailto:dgahl...@hotmail.com]
Sent: Tuesday, August 04, 2015 4:59 PM
To: Ken Cornetet; simh@trailing-edge.com
Subject: Re: [Simh] off-topic basic translator
Per is not a usable lang
Per is not a usable language. Lol
Sent from my Samsung Galaxy smartphone.
Original message
From: Ken Cornetet
Date: 08-04-2015 4:55 PM (GMT-05:00)
To: simh@trailing-edge.com
Subject: Re: [Simh] off-topic basic translator
Perl has goto. Just sayin'
Writing a VAX basic to pe
Perl has goto. Just sayin'
Writing a VAX basic to perl translator sounds like fun, and when you are done,
you'd have learned a usable language.
From: Simh [mailto:simh-boun...@trailing-edge.com] On Behalf Of Dan Gahlinger
Sent: Tuesday, August 04, 2015 4:38 PM
To: Kevin Handy; Tom Morris
Cc: sim
Then I'll have to do it myself by hand, which from the manual doesn't look that
bad.
I'll test the vb2py script but I won't hold my breath.
I'm not going to write my own to translate a paltry dozen or so programs (even
if some of them are long).
I shudder at having to translate "goto" :)
But fro
It won't help you. If you look at the section "U*ntranslatable Language
Features*" it specifically mentions that MAP, COMMON, and FIELD, and MAT
statements are not habdled.
On Tue, Aug 4, 2015 at 2:19 PM, Tom Morris wrote:
> If you want to target Python, you might look at using something like vb
If you want to target Python, you might look at using something like vb2py
as a starting point.
http://vb2py.sourceforge.net/
Tom
On Tue, Aug 4, 2015 at 3:34 PM, Dan Gahlinger wrote:
> I was thinking of this one:
> http://h71000.www7.hp.com/commercial/basic/t12/t12_pro.html
> so definitely ther
I was thinking of this one:
http://h71000.www7.hp.com/commercial/basic/t12/t12_pro.html
so definitely there was one, it's discontinued though.
I don't know what to do with MAP or MAT statements, otherwise I could do most
of it myself.
C or C++ is not an ideal language, I was thinking of easier
So that has the Paul Edwards GCC port and hacked BREXX. I am busy this week,
but if you nag next week I will look at how SIMH does i/o and see if it is
possible to provide some kind of read/write support in the I/O in GCC.
Dave
From: rubh...@aol.com [mailto:rubh...@aol.com]
Sent: 04 August 2
I don't think DEC ever did a translator, only compilers.
There used to be a company that sold one, but is definately wasn't free.
Cannot remember their name.
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 co
Does anyone have or know where I can get a copy of the Vax Basic translator?
Especially for VMS or windows or something?
I'd like to convert my old Vax Basic programs to something usable on modern
systems,
but while Vax Basic is simple enough there are a few things I have trouble with,
such as MA
I'm pleased that my efforts have inspired others to produce code to improve
portability of simh.
My base hardware for this project runs Ubuntu on a AMD Athlon system,
maybe 3-4 years old. The surmised legacy environment is
provided by Hercules emulator on Ubuntu; this runs the VM/370 "Six-Pack"
15 matches
Mail list logo