On Tuesday 29 July 2003 21:10, chromatic wrote:
> On Tuesday, July 29, 2003, at 02:41 PM, Simon Glover wrote:
> >  Therefore the decision was taken that we should not guarantee that
> > Parrot
> >  should never segfault when fed bad assembler; the creation of invalid
> >  assembler is a compiler bug, and should be fixed at the compiler
> > level.
>
> If people write PBC directly, perhaps the assembler could do a few
> checks.  It may not be a good idea.  It's just an idea.

Another idea (not mine and I can't recall from whom) is to write a safe 
interpreter where every single check of those Jos propose is done, may be 
this could be done by adding #if SAFE_INTERPRETER checks and a configure 
option, I know this will make the interpreter really slow, but safe.
 
>
> -- c

Daniel.

Reply via email to