The tcl parser (lib/parse.imc) has been removed and migrated to a method in a 
PMC.

(Anyone looking for a C task could go through and cleanup the parse method in 
tclparser.pmc - it's basically copied directly from the assembler style with 
many gotos, no loops, etc. If you make changes, just make sure no *more* tests 
fail in languages/tcl. =-)

One error I'm having trouble tracking down is when parsing code like:

puts "\n"

The quoted string triggers a recursive call to the parser (which appears to 
succeed). When that parser  invocation returns, it takes the results, and 
passes them into languages/tcl/tclword.imc:concat_words, which then dumps core. 
Seems to not like the getattribute call on the object that's passed in.

When invoking a PIR-defined object from C, what's the proper call? pmc_new ? 
(Does that handle class_init) ?

FYI, There are still a few tests failing in tcl at the moment, but I think most of them are related to this issue.

Reply via email to