Re: BASIC > ASM


[Prev][Next][Index][Thread]

Re: BASIC > ASM



>> True but the Basic interpreter has to interpret each line as it's
executed.
>> If you have a loop that's executed 5000 times, the interpreter has to do
>> 5000 translations of each line in the loop.  A compiler translates the
>> program once and from then on, you run the machine language directly
rather
>> than having it interpreted each time you run it.
>
>False.
>

Not false at all.  A true interpreter works the way I described.  Even if it
tokenizes the program only once, it still has to interpret (NOT parse!) each
line of code once for each time in the loop.

Tom Lake
ICQ #25589135

******************************************************************
* To UNSUBSCRIBE, send an email TO: listserv@lists.ppp.ti.com
* with a message (not the subject) that reads SIGNOFF CALC-TI
*
* Archives at http://peach.ease.lsoft.com/archives/calc-ti.html
******************************************************************


Follow-Ups: References: