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: | Thomas.Schneider@donauland.at |
Newsgroups: | comp.compilers |
Date: | 13 Jul 2003 23:04:31 -0400 |
Organization: | Compilers Central |
References: | 03-07-042 |
Keywords: | translator |
Posted-Date: | 13 Jul 2003 23:04:31 EDT |
Hello Dana,
you might want to have a look at my 'classic REXX' to NetRexx translator
(www.Rexx2Nrx.com). I did have to solve a simumilar problem as 'classic
REXX' does allow 'GO TO's (called SIGNAL in REXX), and NetRexx does Not.
I solved the problem by generating (recursive) function invokations for
Jump forwards, and a LOOP with ITERATE instructions
for backward jumps.
If I might further help, give me an offline mail.
Thomas Schneider.
> -----Ursprüngliche Nachricht-----
> 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?
Return to the
comp.compilers page.
Search the
comp.compilers archives again.