[ANN] Inline::Lua 0.01

From: Tassilo v. Parseval (tassilo.parseval_at_rwth-aachen.de)
Date: 06/25/04

  • Next message: Brian McCauley: "Re: Perl Module installation instructions"
    Date: Fri, 25 Jun 2004 04:58:35 GMT
    
    

    I am very pleased to announce a new submission to the CPAN, Inline::Lua.
    >>From the perldocs:

    NAME
           Inline::Lua - Perl extension for embedding Lua scripts into Perl code

    SYNOPSIS
               use Inline 'Lua';
               print "The answer to life, the universe and everything is ", answer(6, 7), "\n";

               __END__
               __Lua__
               function answer (a, b)
                   return a*b
               end
                
               # Have Lua access functionality from Perl modules
               use Inline 'Lua';
               use LWP::Simple;

               luaget(\&get, "http://www.google.com/");

               __END__
               __Lua__
               function luaget(get, page)
                   io.write( get(page) )
               end
               
    DESCRIPTION
           Inline::Lua allows you to write functions in Lua. Those of you who are
           not yet familiar with Lua should have a cursory glance at
           <http://www.lua.org/> to get a taste of this language. In short:

           Lua was designed to be embedded into other applications and not so much
           as a language on its own. However, despite its small set of language
           features, it is an extremely powerful and expressive language. Its
           strong areas are an elegant and yet concise syntax, good overall per-
           formance and a beautiful implementation of some concepts from the world
           of functional programming.

    [...]

    COPYRIGHT AND LICENSE
           Copyright (C) 2004 by Tassilo von Parseval

           This library is free software; you can redistribute it and/or modify it
           under the same terms as Perl itself, either Perl version 5.8.4 or, at
           your option, any later version of Perl 5 you may have available.

           Lua 5.0 Copyright (C) 2003-2004 Tecgraf, PUC-Rio.

    Tassilo

    -- 
    $_=q#",}])!JAPH!qq(tsuJ[{@"tnirp}3..0}_$;//::niam/s~=)]3[))_$-3(rellac(=_$({
    pam{rekcahbus})(rekcah{lrePbus})(lreP{rehtonabus})!JAPH!qq(rehtona{tsuJbus#;
    $_=reverse,s+(?<=sub).+q#q!'"qq.\t$&."'!#+sexisexiixesixeseg;y~\n~~dddd;eval
    

  • Next message: Brian McCauley: "Re: Perl Module installation instructions"

    Relevant Pages

    • Re: For Your Amusement
      ... >>>of looking at the language for what it was. ... The Coke Execs got into trouble when they ... > tasted better - therefore they had to come out with a new taste. ... from an "enterprise" solution for creating in-house business apps into ...
      (microsoft.public.vb.general.discussion)
    • Re: For Your Amusement
      ... >>of looking at the language for what it was. ... began to believe the Pepsi hype. ... tasted better - therefore they had to come out with a new taste. ... Everything else is just flying past them. ...
      (microsoft.public.vb.general.discussion)
    • Re: More on Bachs "Lute" works
      ... >> musicians of such prominence assert that their taste is the gold ... Don't we all assume our taste is ... Aren't you asserting that your taste in the language ... > they use to express their opinion is the gold standard? ...
      (rec.music.classical.guitar)
    • Re: TaoBao?
      ... Language is the main problem. ... even bother anymore. ... my shu is starting to taste the same. ... White baker's chocolate is also a sexy addition but ...
      (rec.food.drink.tea)
    • Re: Talking Wood? (longish)
      ... > language" dictionary, and so do you. ... Wood does ... > smell, touch, hearing and taste sometimes or ...
      (rec.crafts.woodturning)