So, I'm almost done and ready to cut the Builtins patch, but the following problem has come up:
I get no warnings or errors while it reads and parses the Builtins, but then Tree.pm throws a number of uninitialized value warnings and then Context.pm throws an error about not being able to find "ctx_right" via "P6C::class_def". My brief examination of those modules shows me that this might be related to the parser having generated an invalid tree, but that's a guess based on late-game data. Have I done something obviously dumb? If anyone wants the modified "perl6" and/or Builtin modules that I've written in order to help debug this, just let me know, and I'll fire you a tarball. $ ./perl6 -wv ajs.p6 P6C 'ajs.p6' Reading 'P6C/Builtins/CORE.p6m' Reading 'P6C/Builtins/String.p6m' Reading 'P6C/Builtins/Math.p6m' Reading 'P6C/Builtins/List.p6m' Reading 'P6C/Builtins/Misc.p6m' Use of uninitialized value in string eq at P6C/Tree.pm line 208. Use of uninitialized value in string eq at P6C/Tree.pm line 208. Use of uninitialized value in substitution (s///) at P6C/Tree.pm line 219. Use of uninitialized value in pattern match (m//) at P6C/Tree.pm line 220. Can't locate object method "ctx_right" via package "P6C::class_def" at P6C/Context.pm line 172. -- Aaron Sherman <[EMAIL PROTECTED]> http://www.ajs.com/~ajs