Path: utzoo!attcan!uunet!lll-winken!ames!husc6!spdcc!ima!compilers-sender From: rogerson@PEDEV.Columbia.NCR.COM (Dale Rogerson) Newsgroups: comp.compilers Subject: Re: Incremental compilers Message-ID: <2385@PEDEV.Columbia.NCR.COM> Date: 26 Jan 89 16:48:15 GMT References: <3225@ima.ima.isc.com> Sender: compilers-sender@ima.ima.isc.com Reply-To: rogerson@PEDEV.Columbia.NCR.COM (Dale Rogerson) Organization: NCR Corp., Engineering & Manufacturing - Columbia, SC Lines: 22 Approved: compilers@ima.UUCP I believe that in QuickBasic the incremental compiler compiles to p-code which is then interpreted. From what I understand (I have an old version which is not really incremental) the compiler will check the lines as you type them. The p-code is based on token threaded byte codes. The "perfect" package would allow integration of pre-compiled modules and the environment would consist of a Turbo/Codeview type debugging environment from which you not only debug, but you CHANGE variables and functions on the source level and continue to run. Then after you have finished debugging you preform a final compile which would compile to machine code. The neat thing about this method is that the final compile only needs to be done once, therefore, it does not have to be fast i.e. it can really optomize! Austin Code works has an interactive C interpreter with source code. This might be a good place to start some projects. -----Dale Rogerson----- -- Send compilers articles to ima!compilers or, in a pinch, to Levine@YALE.EDU Plausible paths are { decvax | harvard | yale | bbn}!ima Please send responses to the originator of the message -- I cannot forward mail accidentally sent back to compilers. Meta-mail to ima!compilers-request