Joseph F. Ryan wrote:

Leopold Toetsch wrote:

I don't have a docs/macros.pod. I guess my version of imcc is old (-:


The update your parrot please. A lot of these issues are documented and solved.


For instance, in the interests of speed, it would be nice if perl6
builtins written in perl6 would be pre-compiled to imcc, so that
they could just be tacked on at the end of the .imcc file (or even
.include-d, now that I know about that.)


Librarys will do it. S. the articles on multiple code segments.

... However, if these are
precompiled, then their local symbols will numbered starting at the
same place (for instance, L_1, L_2, etc), and you get a conflict
when this file is included.  So, I had to mangle.


No, as documentation states, local labels of one sub don't interfer with local labels of another sub.


1) for variables
- use .namespace

Does .namespace work with .subs? As in, does it help support "local subs?" Or is this wishful thinking?


Wih subs, even locals ones and nested scopes. Please read the docs and have a look at the test dir for examples.


Thanks for the reply,

Joseph F. Ryan

leo




Reply via email to