[comp.lang.c] BASIC to C translator program

glenn@welchlab.welch.jhu.edu (Glenn M. Mason) (06/12/90)

Does anyone out there know of a public-domain/commercial BASIC to C
translator program? I have a BASIC program that does something useful
but is terribly unreadable with all the GOSUBS and other BASIC constructs
of which I am not familiar. Any info, leads, etc. will be greatly
appreciated.

Thanks,
Glenn Mason

Internet: glenn@welch.jhu.edu
-- 
Send compilers articles to compilers@esegue.segue.boston.ma.us
{spdcc | ima | lotus| world}!esegue.  Meta-mail to compilers-request@esegue.

captain@vax1.acs.udel.EDU (Jeffrey Kirk) (06/12/90)

In article <1990Jun11.214146.1246@esegue.segue.boston.ma.us> glenn@welchlab.welch.jhu.edu (Glenn M. Mason) writes:
]Does anyone out there know of a public-domain/commercial BASIC to C
]translator program? I have a BASIC program that does something useful
]but is terribly unreadable with all the GOSUBS and other BASIC constructs
]of which I am not familiar. Any info, leads, etc. will be greatly
]appreciated.

Two years ago I researched what was out there, and we decided on Btran, a
DOS product that created several target C's, (we chose Microsoft).  It is
really only useful in getting started in the translation job.  Goto's are 
created, and the code is never modular (as you would expect).  The product
is useable and fairly well documented and parameterized.  It was around $500
and performed probably 25% of the actual conversion in the end.  If you have 
a large hunk of code it may save you some time.
-- 
Disclaimers are for people stupid enough to work for companies that make them
feel pressured into writing them.

                                     captain@vax1.acs.udel.edu  (Jeff C. Kirk)

peter@brontolo.sublink.org (SINDATA Network administrator) (06/27/90)

In article <1990Jun11.214146.1246@esegue.segue.boston.ma.us>, glenn@welchlab.welch.jhu.edu (Glenn M. Mason) writes:
> Does anyone out there know of a public-domain/commercial BASIC to C
> translator program?

We at SINDATA developed a NIXDORF's BASIC to C translation program and C
developement enviroment called METAMORPHOSYS.  At present time it is running
on DEC VAX and RISC systems with Ultrix and is sold by DEC for the Italian
market.  For the worldwide distribution we have ports for almost any system
running UNIX System V on any platform (Bull, PCs, ICL, Apple, HP ....)

Its translated C is not the one a good C programmer would like to write,
but is almost readable, even with GOTO and GOSUBS in the original
BASIC source code.

Peter
-- 
Peter Komanns ************- SINDATA srl -*****************
Via Rovereto 17            | BANG ..!rutgers!deejay!yachaya!brontolo!peter
20059 Vimercate MI ITALY   | SUBLINK peter@brontolo
(voice) +39-39-6083733		(fax)   +39-39-6083957 
-- 
Send compilers articles to compilers@esegue.segue.boston.ma.us
{spdcc | ima | lotus| world}!esegue.  Meta-mail to compilers-request@esegue.