Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #38761] [TODO] TGE, precompile more

0 views
Skip to first unread message

Will Coleda

unread,
Mar 19, 2006, 1:58:45 PM3/19/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Will Coleda
# Please include the string: [perl #38761]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38761 >


in compilers/tge/TGE.pir, we have

.sub '__onload' :load
# use other modules
load_bytecode 'compilers/tge/TGE/Rule.pir'
load_bytecode 'compilers/tge/TGE/Instance.pir'
load_bytecode "compilers/tge/TGE/Parser.pir"


Those 3 files should be compiled to .pbc's at build time, and this
code should be changed to load the pbc instead of the pir.

Chromatic

unread,
Mar 20, 2006, 2:29:56 AM3/20/06
to perl6-i...@perl.org, Will Coleda, bugs-bi...@rt.perl.org
On Sunday 19 March 2006 10:58, Will Coleda wrote:

> in compilers/tge/TGE.pir, we have
>
> .sub '__onload' :load
> # use other modules
> load_bytecode 'compilers/tge/TGE/Rule.pir'
> load_bytecode 'compilers/tge/TGE/Instance.pir'
> load_bytecode "compilers/tge/TGE/Parser.pir"
>
>
> Those 3 files should be compiled to .pbc's at build time, and this
> code should be changed to load the pbc instead of the pir.

Here's a patch that does that. I also cleaned up some of the slashes in the
Makefile that might not be portable.

-- c

tge_pbc.patch
0 new messages