cvsuser 04/08/15 22:54:33
Modified: docs compiler_faq.pod Log: Patch #30694, two questions and one answer from TOGoS. Revision Changes Path 1.9 +11 -2 parrot/docs/compiler_faq.pod Index: compiler_faq.pod =================================================================== RCS file: /cvs/public/parrot/docs/compiler_faq.pod,v retrieving revision 1.8 retrieving revision 1.9 diff -u -w -r1.8 -r1.9 --- compiler_faq.pod 31 May 2004 11:05:58 -0000 1.8 +++ compiler_faq.pod 16 Aug 2004 05:54:33 -0000 1.9 @@ -1,5 +1,5 @@ # Copyright: 2001-2004 The Perl Foundation. All Rights Reserved. -# $Id: compiler_faq.pod,v 1.8 2004/05/31 11:05:58 leo Exp $ +# $Id: compiler_faq.pod,v 1.9 2004/08/16 05:54:33 chromatic Exp $ =head1 NAME @@ -17,6 +17,16 @@ F<README> files in the root directory for more information about building Parrot. +=head2 How can I implement a compiler to use as a compiler object from within +Parrot? (For example, with the C<compile> op.) + +=head2 How do I embed source locations in my code for debugging? + +You can do this using the C<setfile> and C<setline> opcodes. Simply +set the source file name or line number whenever it changes. This is +sub-optimal for a number of reasons, so there should eventually be a +better system for this. + =head1 Subroutines =head2 How do I generate a sub call in PIR? @@ -344,4 +354,3 @@ =item Revision 0.3 - 17 May 2004 =back -
