Related articles |
---|
[7 earlier articles] |
Re: how to write a compiler nicolas_capens@hotmail.com (2003-07-31) |
Re: how to write a compiler suresh@sankhya.com (2003-07-31) |
Re: how to write a compiler ertr1013@student.uu.se (Erik Trulsson) (2003-08-04) |
Re: how to write a compiler boldyrev+nospam@cgitftp.uiggm.nsc.ru (Ivan Boldyrev) (2003-08-10) |
Re: how to write a compiler p2sam@uwaterloo.ca (2003-08-15) |
Re: how to write a compiler christian.bau@cbau.freeserve.co.uk (Christian Bau) (2003-08-20) |
Re: how to write a compiler arargh308@arargh.com (2003-08-23) |
From: | arargh308@arargh.com |
Newsgroups: | comp.compilers |
Date: | 23 Aug 2003 23:04:58 -0400 |
Organization: | Not Really! |
References: | 03-07-009 03-07-212 03-08-044 03-08-045 03-08-056 |
Keywords: | Pascal, practice |
Posted-Date: | 23 Aug 2003 23:04:58 EDT |
On 20 Aug 2003 01:22:23 -0400, Christian Bau
<christian.bau@cbau.freeserve.co.uk> wrote:
<snip>
>Many years ago, a copy of the Byte magazine contained source code for a
>toy Pascal compiler. First stage translated to something similar to
>P-code, second stage compiled to 8080 assembler (I said many years ago).
>I typed it in, making all the necessary changes so it would run on
>Commodore BASIC, and after two days it did compile and execute tiny
>pascal programs.
>
>I didn't say it compiled them fast and executed them fast :-)
If it's the same one I saw, I did about the same thing. About 1985?
Only, I translated the Pascal compiler to Basic, and wrote a P-code
interperter in asm. This was on a time-shareing mini-computer. It
did run pretty fast, there.
--
Arargh308 at [drop the 'http://www.' from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html
Return to the
comp.compilers page.
Search the
comp.compilers archives again.