After finishing the shiny new PPI::Transform API, I figured why not convert Perl::Squish over to it, since that what inspired PPI::Transform in the first place.
So this afternoon, I decided I might have a very quick look at the PCE editor, and see what might be involved in adding PPI::Transform support to it.
The coolest thing about PCE is that it is just Perl. Not packaged into some hideous zipped/munged PAR-like thing, but completed open and raw.pm files. NEAT!
So after fiddling with it for 3 or 4 hours I can run a menu command that modifies the content of the document.:)
And another 10 lines of code makes that modification process work with any PPI::Transform-compatible class.
About the editor (Score:1)
Re:About the editor (Score:1)
Did you hack the binary of PCE? (Score:1)
Re:Did you hack the binary of PCE? (Score:1)
The other is more accurately known as "Proton CE" for now, and will be getting a better and less confusing name.
The source, and specifically my hacks to it, are evil and unstable.
I'm hoping to having something more stable and reliable by the time OSCON rolls around. Keeps your eyes peeled for more information.