root/perl5/README

Revision 9730, 132 bytes (checked in by iblech, 3 years ago)

* Restored PIL2JS so my planned live-demo at the Augsburger Linux-Infotag 2006

(tomorrow; http://www.luga.de/Aktionen/LIT-2006/) works :)

  • The %PackageName::EXPORTS hashes are not declared properly on the -CPIL1-side, causing JS to abort while trying to access one of these hashes. Worked around.
  • use(...) is macro, defined in the P6 Prelude; it's no longer a magical Pugs.Prim. Remedy:
    • Manually declare a &use macro via -e 'macro use'...
    • Use -e 'use Foo;' instead of -MFoo (-M circumvents our macro).
    • (This is done automatically in PIL2JS.pm.)

* Remaining problem (requiring DrIFT skills):

Compiling Test.pm fails, as pugs attempts to emit a VCode. This is because
there isn't a DrIFT instance for emitting VCodes.
Adding a dummy instance works around this problem -- see
perl5/PIL2JS/vcode-emission-hack.patch -- but unfortunately I don't know how
to integrate this hack into src/Pugs/Internals.hs, from which
src/Pugs/AST/Internals/Instances.hs is generated from.

* Summary: With perl5/PIL2JS/vcode-emission-hack.patch applied, PIL2JS works

again! :)

  • Property svn:mime-type set to text/plain; charset=UTF-8
  • Property svn:eol-style set to native
Line 
1= What is this Directory?
2
3This directory contains pugs specific code that should not be installed into
4the perl5 or perl6 sitelib.
Note: See TracBrowser for help on using the browser.