Hello.
There is currently a problem with this branch. In the nutshell - IMCC
is freaking out on PASM code.
bacek@fireball:~/src/parrot$ cat t/pmc/eval_1.pasm
.pcc_sub :main main:
compreg P1, "PASM" # get compiler
set_args "0", "print \"in eval\\n\"\nset_returns \"()\"\nreturncc\n"
invokecc P1 # compile
get_results "0", P0
invokecc P0 # eval code P0
print "back again\n"
end
bacek@fireball:~/src/parrot$ ./parrot -o t.pbc t/pmc/eval_1.pasm
in eval
back again
bacek@fireball:~/src/parrot$ ./parrot t/pmc/eval_1.pasm
Method 'main_sub' not found for invocant of class 'ResizablePMCArray'
If someone can look at it and help to resolve it we can merge this branch.
--
Bacek.
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev