home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.tek.com!vice!bobbe
- From: bobbe@vice.ICO.TEK.COM (Robert Beauchaine)
- Newsgroups: comp.lang.pascal
- Subject: Re: Comments on Turbo (Borland) Pascal 7.0?
- Message-ID: <10786@vice.ICO.TEK.COM>
- Date: 18 Nov 92 21:26:20 GMT
- References: <1992Nov18.131557.7438@odin.diku.dk> <1992Nov18.174335.2758@exu.ericsson.se>
- Organization: Tektronix, Inc., Beaverton, OR.
- Lines: 29
-
- In article <1992Nov18.174335.2758@exu.ericsson.se> exuhag@exu.ericsson.se writes:
- >Niels Ull Jacobsen writes:
- >
- >And on a vaguely related subject, here's a neat idea: since the
- >editor already has to go through the trouble of doing lexical
- >scanning (to determing proper colors), maybe it should be taken
- >one step further. Keep the files, both internally and on disk,
- >in a tokenized format. This would allow better memory usage (smaller
- >files) and would speed up the compiler. Many assemblers and a
- >few compilers on 8-bit computers used to use such a scheme.
-
- Take a look at Microsoft's Quick Basic for a fine example of a
- threaded interpreter/compiler.
-
- I agree with you completely. This should be particularly easy to
- implement in Pascal given its syntax and declaration rules.
- Incremental compiling also allows you to debug code w/o even
- running it since the compiler has to parse each line of code as it
- is written; i.e. no more misplaced semicolons, no more forgetting
- to parenthesize boolean expressions in if...then statements, etc.
-
- /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
-
- Bob Beauchaine bobb@vice.ICO.TEK.COM
-
- C: The language that combines the power of assembly language with the
- flexibility of assembly language.
-
- Real friends don't let friends use UNIX.
-