Author: kjs
Date: Tue Mar 25 09:51:59 2008
New Revision: 26535

Modified:
   trunk/compilers/nqp/TODO.pod

Log:
[nqp] update the TODO file to add some notes about the bootstrap version, so I 
don't forget these.

Modified: trunk/compilers/nqp/TODO.pod
==============================================================================
--- trunk/compilers/nqp/TODO.pod        (original)
+++ trunk/compilers/nqp/TODO.pod        Tue Mar 25 09:51:59 2008
@@ -54,3 +54,33 @@
 =item * More tests for named arguments and parameters
 
 =back
+
+=head2 Bootstrap
+
+The directory C<bootstrap> contains the necessary files to implement NPQ
+in NQP. While this is not a major goal, it is interesting to compare the
+speed of NQP implemented in PIR and in NQP. For this to work, some things
+must be fixed.
+
+=over 4
+
+=item * The file C<bootstrap/actions.pm> must be aligned with the grammar file.
+At some points, the grammar defines #= keys, and these are missing in this
+action file as parameters.
+
+=item * it seems that the action for the C<for-statement> is broken.
+
+=item * NQP should not have a runtime containing support routines. The
+original NQP (in PIR) implements all operators as PIR instructions. This
+should also be the case for the bootstrapped NQP. Currently, the optable
+action does not handle the "inline" specifications.
+
+=item * Some actions are not complete. For instance, the action method
+C<package_declarator>, where classes can be defined.
+
+=item * the NQP compiler driver should accept a commandline option indicating
+which Actions object should be used: the PIR or NQP version. HLLCompiler
+has support for adding commandline options, this could be used.
+
+=back
+

Reply via email to