Machete work

pemungkah on 2002-08-01T21:34:25

The first thousand lines of comments and reformatting are now in the 5.8.0 debugger.

It's funny; I was away from it for a while and I was having trouble remembering how it worked. But after reading the comments I has written before, it all started coming back in chunks. When I finally get this thing recommented, I think nearly anybody will be able to basically understand it. Yay!

There are some interesting programming tricks; I've set aside a section just to document those. One of my favorites so far is the way the S (look for subs by pattern) works. It (conditionally) pulls a ! off the front of the pattern, and checks the pattern vs. the sub names. If it finds a match, it XORs the true/false value against the presence/absence of the !, effectively reversing the condition if the ! was present.

And that's one of the easy-to-explain-ones.