in reply to Re: Another update: "Exploring Programming Language Architecture in Perl"
in thread Another update: "Exploring Programming Language Architecture in Perl"

Cool! I've not had much of a chance to experiment, and I'm no expert on perl internals, but B::Utils looks like it might be perfect for doing implicit tail-call optimization at the very least, maybe even automated CPS transforms.
Bill H
perl -e 'print sub { "Hello @{[shift]}!\n" }->("World")'
  • Comment on Re^2: Another update: "Exploring Programming Language Architecture in Perl"
  • Download Code

Replies are listed 'Best First'.
Re^3: Another update: "Exploring Programming Language Architecture in Perl"
by diotalevi (Canon) on Nov 22, 2006 at 05:18 UTC

    Well... B::Utils is just a readonly interface. The XPath interface is even better. If you don't do XPath yet, you deserve to teach it to yourself right now. You can only change things once you use B::Generate.

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

      Yeah, I know general XPath, assuming it's the same sort of thing. It was the one good experience from a near-death brush with XSLT (two weeks of my life wasted ;-). This all sounds wonderful though, I'll try to spend some quality time with B et. al. over the next few weeks. However I'm not sure if I can or should try to incorporate any of that into the book, it might be drifting off-topic.
      Bill H
      perl -e 'print sub { "Hello @{[shift]}!\n" }->("World")'