Pynie: a Python compiler for Parrot.
>>> print ("Hello World")
Null PMC access in get_attr_str()
>>>
root@CN:/home/ubuntu/pynie# ./pynie hello.py
Null PMC access in get_attr_str()
current instr.: 'pynie;Pynie;Grammar;TOP' pc 470 (include/gen_grammar.pir:95)
called from Sub 'pynie;PCT;HLLCompiler;parse' pc 821 (compilers/pct/src/PCT/HLLCompiler.pir:458)
called from Sub 'pynie;PCT;HLLCompiler;compile' pc 459 (compilers/pct/src/PCT/HLLCompiler.pir:326)
called from Sub 'pynie;PCT;HLLCompiler;eval' pc 1076 (compilers/pct/src/PCT/HLLCompiler.pir:577)
called from Sub 'pynie;PCT;HLLCompiler;evalfiles' pc 1496 (compilers/pct/src/PCT/HLLCompiler.pir:759)
called from Sub 'pynie;PCT;HLLCompiler;command_line' pc 1721 (compilers/pct/src/PCT/HLLCompiler.pir:874)
root@CN:/home/ubuntu/pynie#
Please advise.
Esash
With the patches to get pynie building again, I'm still encountering errors
while getting it to interpret even basic Python statements: anything
evaluated results in a "Null PMC access".
This seems to be the important part from running pynie with parrot debugging:
01d3 get_results PC4 (1), P9 PC4=FixedIntegerArray=PMC(0x18775a0) P9=Object(Pynie;Grammar)=PMC(0x9318e28)
01d6 getattribute P1, P9, "$.pos" P1=PMCNULL P9=PMCNULL
Any pointers welcome.
--
Chris Burdess
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev