Related articles |
---|
Translating from lagugae which allows Goto's dana.subscriptions@virgin.net (Dana Freer) (2003-07-04) |
Re: Translating from language which allows Goto's Thomas.Schneider@donauland.at (2003-07-13) |
Re: Translating from language which allows Goto's mcintosh@mc-pc.research.telcordia.com (2003-07-13) |
Re: Translating from language which allows Goto's dmr@bell-labs.com (Dennis Ritchie) (2003-07-15) |
Re: Translating from language which allows Goto's nmm1@cus.cam.ac.uk (2003-07-21) |
Re: Translating from language which allows Goto's bettini@dsi.unifi.it (Lorenzo Bettini) (2003-07-21) |
Re: Translating from language which allows Goto's channahr@comcast.net (norm@plumpirate.com) (2003-07-25) |
From: | mcintosh@mc-pc.research.telcordia.com (Allen McIntosh) |
Newsgroups: | comp.compilers |
Date: | 13 Jul 2003 23:49:11 -0400 |
Organization: | none |
References: | 03-07-042 |
Keywords: | translator |
Posted-Date: | 13 Jul 2003 23:49:10 EDT |
Dana Freer <dana.subscriptions@virgin.net> wrote:
>I am not a compiler writer but have the task of writing a tranlslator to
>convert from a language which allows GOTO, GOSUB, RETURN into a language
>(like VbScript) which does not alllow GOTO etc. Is this impossible? Will
>human intervention always be required?
>
>Any help/advice will be very much appreciated. Thanks.
You should try to see if Brenda Baker ever wrote up "struct". It was
a program that converted Fortran into Ratfor. (Better yet, send her
e-mail.) My guess is that you can do what you want unless the
flowgraph is irreducible.
[I'm pretty sure I've read a BTL tech report. It was quite impressive.
-John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.