perl-Acme-Perl-VM-0.006-alt1.noarch.rpm


Advertisement

Description

perl-Acme-Perl-VM - A Perl5 Virtual Machine in Pure Perl (APVM)

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-Acme-Perl-VM
Package version: 0.006
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 87.51 KB
Download size: 87.51 KB
Official Mirror: ftp.altlinux.org
`Acme::Perl::VM' is an implementation of Perl5 virtual machine in pure Perl. Perl provides a feature to access compiled syntax trees (opcodes) by `B' module. `B::*' modules walk into opcodes and do various things; `B::Deparse' retrieves Perl source code from subroutine references, `B::Concise' reports formatted syntax trees, and so on. This module also walks into the opcodes, and executes them with its own ppcodes. You can run any Perl code: use Acme::Perl::VM; run_block { print "Hello, APVM world!\n"; }; This code says Hello, APVM world to `stdout' as you expect. Here is a more interesting example: BEGIN{ $ENV{APVM} = 'trace' } use Acme::Perl::VM; run_block { print "Hello, APVM world!\n"; }; And you'll get a list of opcodes as the code runs: .entersub(&__ANON__) VOID .nextstate(main -:4) VOID .pushmark SCALAR .const("Hello, APVM world!\n") SCALAR .print SCALAR KIDS Hello, APVM world! .leavesub KIDS The first `entersub' is the start of the block. The next `nextstate' indicates the statement that says hello. `pushmark', `const', and `print' are opcodes which runs on the statement. The last `leavesub' is the end of the block. This is a future of the module. In short, the module has no purpose :)

Alternatives

Provides

  • perl(Acme/Perl/VM.pm) = 0.006
  • perl(Acme/Perl/VM/B.pm)
  • perl(Acme/Perl/VM/Context.pm)
  • perl(Acme/Perl/VM/PP.pm)
  • perl(Acme/Perl/VM/Run.pm)
  • perl(Acme/Perl/VM/Scope.pm)
  • perl-Acme-Perl-VM = 0.006-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-Acme-Perl-VM rpm package:
      # sudo apt-get install perl-Acme-Perl-VM

    Files

    • /usr/share/doc/perl-Acme-Perl-VM-0.006/Changes
    • /usr/share/doc/perl-Acme-Perl-VM-0.006/README
    • /usr/share/doc/perl-Acme-Perl-VM-0.006/example/for.pl
    • /usr/share/doc/perl-Acme-Perl-VM-0.006/example/foreach.pl
    • /usr/share/doc/perl-Acme-Perl-VM-0.006/example/funcall.pl
    • /usr/share/doc/perl-Acme-Perl-VM-0.006/example/hello-Dt.pl
    • /usr/share/doc/perl-Acme-Perl-VM-0.006/example/hello-concise.pl
    • /usr/share/doc/perl-Acme-Perl-VM-0.006/example/hello-trace.pl
    • /usr/share/doc/perl-Acme-Perl-VM-0.006/example/hello.pl
    • /usr/share/doc/perl-Acme-Perl-VM-0.006/example/methcall.pl
    • /usr/share/doc/perl-Acme-Perl-VM-0.006/example/quine.pl
    • /usr/share/doc/perl-Acme-Perl-VM-0.006/example/trace.pl
    • /usr/share/doc/perl-Acme-Perl-VM-0.006/example/warn.pl
    • /usr/share/perl5/Acme/
    • /usr/share/perl5/Acme/Perl/VM.pm
    • /usr/share/perl5/Acme/Perl/VM/B.pm
    • /usr/share/perl5/Acme/Perl/VM/Context.pm
    • /usr/share/perl5/Acme/Perl/VM/JA.pod
    • /usr/share/perl5/Acme/Perl/VM/PP.pm
    • /usr/share/perl5/Acme/Perl/VM/Run.pm
    • /usr/share/perl5/Acme/Perl/VM/Scope.pm
    Advertisement
    Advertisement