[parrot/parrot] cc8d72: abc: Load trans_ops in compiled program

noreply at github.com noreply at github.com
Thu Oct 20 13:33:55 UTC 2011

  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot

  Commit: cc8d72b14e0150164b462a4ac9e7ba3b232882a5
  Author: Brian Gernhardt <brian.gernhardt at mail.rit.edu>
  Date:   2011-10-20 (Thu, 20 Oct 2011)

  Changed paths:
    M examples/languages/abc/abc.pir
  M examples/languages/abc/src/parser/actions.nqp

  Log Message:
  abc: Load trans_ops in compiled program

Attempting to .loadlib in the compiler doesn't work because if you
don't use any ops from the library, it doesn't end up in the final PBC
file.  So instead use the loadlibs option on PAST::Block to have the
compiled program do it.

Fixes #178

More information about the parrot-commits mailing list