diff doc/internals.txt @ 367:34dfc9747f23

Reduction passes complete
author lost@starbug
date Thu, 15 Apr 2010 21:56:06 -0600
parents 6a98cc90c14f
children 656630007668
line wrap: on
line diff
--- a/doc/internals.txt	Wed Apr 14 21:02:53 2010 -0600
+++ b/doc/internals.txt	Thu Apr 15 21:56:06 2010 -0600
@@ -34,3 +34,19 @@
 is forced, try re-resolving all other instructions. This is done starting
 at the beginning of the source and working forward. If any instruction does
 not resolve when forced, an error will be thrown.
+
+Pass 5
+------
+
+Constantize all line addresses and throw errors if any cannot be. This
+pass will repeat until no further lines addresses are reduced to constants
+at which time all lines will be checked for constant-ness.
+
+Pass 6
+------
+
+Finalize all expressions related to instructions. Carp about any that
+cannot be reduced to a usable form. That means, for the non-object target
+all expressions must resolve to a constant. For the object form, all
+expressions must resolve to symbol references and constants. Those symbol
+references may be internal or external.