in reply to Re: Make sure Perl 6 is introspective enough
in thread Make sure Perl 6 is introspective enough
Oh, I forgot a couple more forms of introspection: You'll be able to read yourself as a parse tree, as PASM (Parrot Assembler) code, and possibly as bytecode. These might be possible only at certian times in the life of the program -- the parse tree, in purticular, will probably get thrown out if unreferenced when we begin assembley. It will probably be possible to modify these semi-on-the-fly. It'll be possible to modify the parser during parsetime with BEGIN{} blocks.
It'll probably even be possible to make perl programs that contain inline PASM, and possibly even to write to coderefs in pasm.
|
|---|