Skip to content

Parrot plug-in library to dynamically build Native Call Interface call-out thunks based on LibJIT

Notifications You must be signed in to change notification settings

plobsing/parrot-libjit-fb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

libjit_fb - Parrot LibJIT frame builder

SYNOPSIS

#! winxed
function main() {
    loadlib('libjit_fb');
    var libm = loadlib('libm');
    var sinf = dlfunc(libm, 'sinf', 'ff');
    float x = sinf(1);
    say(x);
}

DESCRIPTION

libjit_fb is a Parrot dynext library to dynamically build Native Call Interface call-out thunks using LibJIT.

On load, it registers itself as Parrot's frame builder. After this, Parrot will make requests to this library whenever new NCI thunks are required.

INSTALL

parrot setup.pir build
parrot setup.pir install

COPYRIGHT AND LICENSE

Copyright 2010 Peter Lobsinger

This code is distributed under the terms of the Artistic License 2.0. For more details, see http://www.perlfoundation.org/artistic_license_2_0.

About

Parrot plug-in library to dynamically build Native Call Interface call-out thunks based on LibJIT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published