Juergen Boemmels <[EMAIL PROTECTED]> wrote:
>   read S0
>   compreg P1, "PASM1"
>   compile P0, P1, S0
>   write P0
Done.

$ cat pasm.pasm
  read S0, 1000000
  compreg P1, "PASM"
  compile P0, P1, S0
  write P0
  end

$ parrot pasm.pasm < pasm.pasm > pasm.pbc

$ cat hello.pasm
        print "Hello Ponie\n"
        end

$ parrot pasm.pbc < hello.pasm > hello.pbc

$ parrot hello.pbc
Hello Ponie

Took a eval.get_string and a write opcode. I'll cleanup a little and
check it in later.

> bye
> boe

leo

Reply via email to