Ticket #85 (closed todo: invalid)
Add exported function Parrot_set_HLL()
Reported by: | barney | Owned by: | whiteknight |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | hll_interop | Version: | master |
Severity: | medium | Keywords: | embed, hll |
Cc: | Language: | ||
Patch status: | Platform: | all |
Description
Currently there is no easy way to set the hll root namespace via the embedding interface. This is bad, as this doesn't allow Parrot::Embed to find any symbol that isn't in the 'parrot' hll namespace. See ext/Parrot-Embed/t/pipp.t for an example.
Parrot_set_HLL() would call Parrot_register_HLL() and assign the returned HLL id to current_HLL of the interpreter.
Parrot_set_HLL() could also be used by set_hll() in compilers/pirc/new/pircompunit.c and in imcc.y.
Ticket #76 depends on this.
Any comments?
Change History
Note: See
TracTickets for help on using
tickets.