Bob Nystrom

Results 972 comments of Bob Nystrom

It's in a dead and somewhat broken state, but one of my first bytecode VMs [supports exceptions](https://github.com/munificent/magpie/blob/master/src/VM/Fiber.cpp#L412-L431). The basic idea is that the VM maintains a stack of catch handlers....

> Purchasing Power Parity coupon discount I don't and this is the first I've heard of one. Can you give me some details of what you have in mind?

Yeah, for some of them I just never got around to writing the answers.

Closing this because I think the answers to this chapter are fairly straightforward. :)

Hmm, that's a good suggestion. I went back and forth on whether or not `fun` should be used in the syntax for declaring normal instance methods. Ruby and Python use...

I'm not sure I follow. What is the issue you're trying to solve here?

This looks really nice. I spent some time this morning poking around at it. I don't think I can merge at as-is for at least a few reasons: * It's...

> I hope we can get this theme added one day. Me too! I'm looking forward to circling back to this once the print edition is (finally) out the door.

Your solution is very similar to what I've done before too, @BigZaphod. Basically just try to parse the line and if the parser runs out, then assume it's a multi-line...

One of the design notes discusses this exact topic: http://craftinginterpreters.com/statements-and-state.html#design-note :)