Re: Translating from lagugae which allows Goto's

Karl M Syring <syring@email.com>
13 Jul 2003 23:51:30 -0400

          From comp.compilers

Related articles
Translating from lagugae which allows Goto's dana.subscriptions@virgin.net (Dana Freer) (2003-07-04)
Re: Translating from lagugae which allows Goto's joachim.durchholz@web.de (Joachim Durchholz) (2003-07-13)
Re: Translating from lagugae which allows Goto's syring@email.com (Karl M Syring) (2003-07-13)
Re: Translating from lagugae which allows Goto's strohm@airmail.net (John R. Strohm) (2003-07-13)
Re: Translating from lagugae which allows Goto's bsheff2@yahoo.com (Bob Sheff) (2003-07-15)
Re: Translating from lagugae which allows Goto's postmaster@paul.washington.dc.us (Paul Robinson) (2003-07-15)
Re: Translating from lagugae which allows Goto's genew@mail.ocis.net (2003-07-15)
Re: Translating from lagugae which allows Goto's lex@cc.gatech.edu (Lex Spoon) (2003-07-17)
Re: Translating from lagugae which allows Goto's nmm1@cus.cam.ac.uk (2003-07-17)
[4 later articles]
| List of all articles for this month |

From: Karl M Syring <syring@email.com>
Newsgroups: comp.compilers
Date: 13 Jul 2003 23:51:30 -0400
Organization: SOP
References: 03-07-042
Keywords: Basic, comment
Posted-Date: 13 Jul 2003 23:51:30 EDT

Dana Freer wrote on 4 Jul 2003 00:03:20 -0400:
> 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.


The GOTO statement can be simulated easily by the ON ERROR GOTO
construct, as that one allows labels.


Karl M. Syring
[Ugh. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.