|Postscript as a target language? email@example.com (1993-08-08)|
|Re: Postscript as a target language? firstname.lastname@example.org (1993-08-09)|
|Re: Postscript as a target language? email@example.com (1993-08-09)|
|Re: Postscript as a target language? firstname.lastname@example.org (1993-08-09)|
|Re: Postscript as a target language? email@example.com (Chris DONAWA) (1993-08-09)|
|Re: Postscript as a target language? firstname.lastname@example.org (1993-08-10)|
|From:||email@example.com (Norman Ramsey)|
|Date:||Tue, 10 Aug 1993 18:17:12 GMT|
firstname.lastname@example.org (Al Stavely) writes:
>[re using postscript as the target language in a compilers course]
>Is this a completely silly idea? Does anyone have any thoughts on this, or
>any experiences to share?
It's not a completely silly idea. I used similar technology in my
dissertation project, a retargetable debugger. The debugger evaluated
expressions by using a C compiler with a PostScript back end. When the
user typed an expresssion, the debugger would hand it to the compiler and
get back PostScript, which it could interpret. Interpreted code could
call compiled code in the target address space. Simulating goto in
PostScript was a little tricky. The details are in my dissertation,
ftp-able from ftp.cs.princeton.edu:reports/1992/403.ps.Z.
Return to the
Search the comp.compilers archives again.