|[7 earlier articles]|
|Re: how to write a compiler email@example.com (2003-07-31)|
|Re: how to write a compiler firstname.lastname@example.org (2003-07-31)|
|Re: how to write a compiler email@example.com (Erik Trulsson) (2003-08-04)|
|Re: how to write a compiler firstname.lastname@example.org (Ivan Boldyrev) (2003-08-10)|
|Re: how to write a compiler email@example.com (2003-08-15)|
|Re: how to write a compiler firstname.lastname@example.org (Christian Bau) (2003-08-20)|
|Re: how to write a compiler email@example.com (2003-08-23)|
|Date:||23 Aug 2003 23:04:58 -0400|
|References:||03-07-009 03-07-212 03-08-044 03-08-045 03-08-056|
|Posted-Date:||23 Aug 2003 23:04:58 EDT|
On 20 Aug 2003 01:22:23 -0400, Christian Bau
>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
>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
Search the comp.compilers archives again.