Re: Try/Catch

new topic     » goto parent     » topic index » view thread      » older message » newer message
petelomax said...
mattlewis said...
petelomax said...

In addition there will also be a new builtin, throw(atom code).

Why an atom and not an object? It could be useful to put lots of stuff in there.

Maybe for version 2. Can we not just get an int (full 32-bit) working first?

I have 63-bit integers. I don't need a 32-bit integer. grin

petelomax said...
mattlewis said...
petelomax said...

The call stack frame has a new machine-word-sized field, ehndlr. At startup, in the top-level...

Ugh...sorry, the implementation details lost me. Could you describe how all this would look to a euphoria programmer who knows nothing about the underlying implementation of euphoria?

OK, the same document with all the hidden back-end magic ripped out:

Thanks. That all sounds pretty reasonable. Though I still disagree on the argument for throw(). I think this should be fairly straightforward for interpreted code. Not sure how you get this in the translator.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu