Implementing Exception Handling in a VM

"Mark Andrews \(The Other One\)" <first.last@orcon.net.nz>
14 Aug 2006 15:09:37 -0400

          From comp.compilers

Related articles
Implementing Exception Handling in a VM first.last@orcon.net.nz (Mark Andrews \(The Other One\)) (2006-08-14)
Re: Implementing Exception Handling in a VM barry.j.kelly@gmail.com (Barry Kelly) (2006-08-15)
Re: Implementing Exception Handling in a VM DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-08-15)
Re: Implementing Exception Handling in a VM DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-08-18)
Re: Implementing Exception Handling in a VM first.last@orcon.net.nz (Mark Andrews \(The Other One\)) (2006-08-18)
Re: Implementing Exception Handling in a VM first.last@orcon.net.nz (Mark Andrews \(The Other One\)) (2006-08-18)
Re: Implementing Exception Handling in a VM barry.j.kelly@gmail.com (Barry Kelly) (2006-08-19)
[1 later articles]
| List of all articles for this month |

From: "Mark Andrews \(The Other One\)" <first.last@orcon.net.nz>
Newsgroups: comp.compilers
Date: 14 Aug 2006 15:09:37 -0400
Organization: Compilers Central
Keywords: interpreter, errors, question
Posted-Date: 14 Aug 2006 15:09:37 EDT

Some time ago I wrote a simple Pascal-like language that ran on an
equally simple VM--all implemented in Delphi. I'd like to update the
language to use exception handling constructs such as try-except-end and
try-finally-end.


Given that the implementing language (Delphi, in this case) has SEH, can
I leverage this fact to add exception support in my Pascal-like
language? If so, where might I learn how to do this?


You may have guessed that I'm not a CS graduate, so there are plenty of
holes in my understanding of these matters.


Any suggestions appreciated.


Cheers,
Mark.



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.