Changeset 6750 for lib

Show
Ignore:
Timestamp:
09/05/05 23:28:04 (3 years ago)
Author:
iblech
Message:

* Usual svn props.
* STATUS: Update (P5 regexes in PIL2JS, laziness in PIL-Run, more tests)
* pugs::run: Fixed information about -Bbackend and pointed to PIL2JS's

jspugs.pl and PIL-Run's crude_repl.pl. Also updated the entries about
-Cbackend and Pugs's safemode.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lib/pugs/run.pod

    r6689 r6750  
    7070 
    7171causes Pugs to execute the program using C<I<backend>>. Currently, valid 
    72 backends are C<Pugs>, C<Parrot>, C<PIR>, and C<Haskell>. 
     72backends are C<Parrot> and C<PIR>. 
     73 
     74The JavaScript backend provides an interactive shell in 
     75F<perl5/PIL2JS/jspugs.pl>; The interactive compiler and evaluator of the Perl 5 
     76backend can be found in F<perl5/PIL-Run/crude_repl.pl>. 
    7377 
    7478=item C<-CI<backend>> 
    7579 
    7680causes Pugs to compile the program using C<I<backend>>. Currently, valid 
    77 backends are C<Pugs>, C<Parrot>, C<PIR>, and C<Haskell>. 
     81backends are C<Pugs>, C<Parrot>, C<PIR>, C<Haskell>, and C<PIL> with its 
     82variants C<Perl5>, C<JSON>, and C<Binary>. 
    7883 
    7984Note that, as with C<-c>, C<BEGIN {...}> and C<CHECK {...}> blocks, as well as 
    80 C<use Module>, are still executed. So don't try to compile potentially unsafe 
    81 code! 
     85C<use Module> statements, are still executed. So don't try to compile 
     86potentially unsafe code! 
    8287 
    8388=item C<-MI<module>> 
     
    175180"unsafe" -- e.g. operations which use IO -- unavailable to a Perl program. 
    176181 
    177     $ env PUGS_SAFEMODE=1 pugs -e 'say "I am unsafe"' 
    178     *** No compatible subroutine found: "&say" 
    179         at -e line 1, column 1-9 
     182    $ env PUGS_SAFEMODE=1 pugs -e 'unlink "foo"' 
     183    *** No compatible subroutine found: "&unlink" 
     184        at -e line 1, column 1-13 
    180185 
    181186=item C<PUGS_PARROT_OPTS>