Front page | perl.perl6.internals |
Postings from May 2005
r8223 - HLL support 4
Thread Next
From:
Leopold Toetsch
Date:
May 31, 2005 04:39
Subject:
r8223 - HLL support 4
Message ID:
429C4CC7.6050009@toetsch.at
The first steps for HLL language and type support are in. You can now
dynamically load a HLL _group PMC library by just including a .HLL line
in PASM/PIR, e.g.
.HLL "Tcl", "tcl_group"
...
$P0 = new .TclInt # Integer constant
The ".HLL" pragma registers at compile time the given HLL language name
within src/hll.c and loads the given library with Parrot_load_lib().
Please note that this does not yet work for .pbc files as the HLL isn't
stored in the PBC yet (this will come soon).
See also t/dynclass/foo.t for 2 examples.
Have fun,
leo
Thread Next
-
r8223 - HLL support 4
by Leopold Toetsch