Changeset 5592

Show
Ignore:
Timestamp:
07/14/05 15:26:31 (3 years ago)
Author:
iblech
svk:copy_cache_prev:
7591
Message:

Usual svn props, EOLs at EOFs, minor doc and Haddock fixes.

Files:
7 modified

Legend:

Unmodified
Added
Removed
  • docs/notes/plan

    r5519 r5592  
    122122Aside from code generation, each backend will need a runtime that 
    123123implements the builtin operations and functions not provided by the 
    124 Perl 6 prelude.  In addition, the new backend will require a native 
     124Perl 6 Prelude.  In addition, the new backend will require a native 
    125125implementation of the Perl 6 object metamodel. 
    126126 
  • docs/yaht.kwid

    r1003 r5592  
    343343  must be specified using options on the command line, in the 
    344344  environment or in the registry. 
    345 * The prelude file is loaded. The interpreter will look for the prelude 
    346   file on the path specified by the -P option. If the prelude, located 
     345* The Prelude file is loaded. The interpreter will look for the Prelude 
     346  file on the path specified by the -P option. If the Prelude, located 
    347347  in the file Prelude.hs, cannot be found in one of the path 
    348348  directories or in the current directory, then Hugs will terminate; 
    349   Hugs will not run without the prelude file.  
     349  Hugs will not run without the Prelude file.  
    350350* Program files specified on the command line are loaded. The effect of 
    351351  a command hugs `f1 ... fn` is the same as starting up Hugs with the 
  • perl5/Perl6-MetaModel/t/31_Submethod.t

    • Property svn:mime-type set to text/plain; charset=UTF-8
    • Property svn:eol-style set to native
  • src/Pugs/AST/Internals.hs

    r5556 r5592  
    760760If it evaluates to /too many/ args, the call will fail. 
    761761 
    762 This needs to be a list (rather than a @Maybe@) because Perl6's @.assuming@ 
     762This needs to be a list (rather than a @Maybe@) because Perl 6's @.assuming@ 
    763763(i.e. explicit currying) means that a sub can have its arguments bound in 
    764764separate stages, and each of the bindings needs to be checked. 
     
    12831283defined VUndef  = False 
    12841284defined _       = True 
    1285 -- | Produce an undefined Perl6 value (i.e. 'VUndef'). 
     1285-- | Produce an undefined Perl 6 value (i.e. 'VUndef'). 
    12861286undef :: VScalar 
    12871287undef = VUndef 
  • src/Pugs/Junc.hs

    r5588 r5592  
    194194 
    195195Note that 'argCollapsed' is set to @True@ only if the corresponding sub param 
    196 is explicitly specified as accepting the Perl6 type @Junc@. 
     196is explicitly specified as accepting the Perl 6 type @Junc@. 
    197197-} 
    198198data ApplyArg = ApplyArg 
  • src/Pugs/Monads.hs

    r5498 r5592  
    3434 
    3535{-| 
    36 Perform the specified evaluation in the specified (Perl6) context ('Cxt'). 
     36Perform the specified evaluation in the specified (Perl 6) context ('Cxt'). 
    3737 
    3838(Subsequent chained 'Eval's do /not/ see this new scope.) 
     
    4242 
    4343{-| 
    44 Evaluate the specified wxpression in the specified (Perl6) context ('Cxt'). 
     44Evaluate the specified wxpression in the specified (Perl 6) context ('Cxt'). 
    4545 
    4646(Subsequent chained 'Eval's do /not/ see this new scope.) 
     
    124124 
    125125{-| 
    126 Generate a new Perl6 operation from a Haskell function, give it a name, and 
     126Generate a new Perl 6 operation from a Haskell function, give it a name, and 
    127127generate a @('Pad' -> 'Pad')@ transformer that can be used to install it into 
    128128a pad. 
     
    151151 
    152152{-| 
    153 Generate a Perl6 primitive that, when called, will activate the /current/ 
     153Generate a Perl 6 primitive that, when called, will activate the /current/ 
    154154continuation (i.e. one that can be used to immediately break out of whatever  
    155155evaluation we are about to perform). This is great for @&last@ and the like. 
     
    169169 
    170170{-| 
    171 Create a Perl6 @&?BLOCK_EXIT@ function that, when activated, breaks out of 
     171Create a Perl 6 @&?BLOCK_EXIT@ function that, when activated, breaks out of 
    172172the block scope by activating the current continuation. The block body 
    173173evaluation is then performed in a new lexical scope with @&?BLOCK_EXIT@ 
  • util/gen_prelude.pl

    r5558 r5592  
    3333 
    3434sub null { 
    35     print STDERR "Generating null prelude... " if $Config{verbose}; 
     35    print STDERR "Generating null Prelude... " if $Config{verbose}; 
    3636    open my $np, "src/Pugs/PreludePC.hs-null" or 
    37         die "can't open null prelude: $!"; 
     37        die "Couldn't open null Prelude (src/Pugs/PreludePC.hs-null): $!"; 
    3838    print while (<$np>); 
    3939    print STDERR "done.\n" if $Config{verbose}; 
     
    4141 
    4242sub precomp { 
    43     print STDERR "Generating precompiled prelude... " if $Config{verbose}; 
     43    print STDERR "Generating precompiled Prelude... " if $Config{verbose}; 
    4444    die "*** Error: $0 needs an already compiled Pugs to precompile the Prelude\n" 
    4545        unless $Config{pugs}; 
     
    119119Creates a PreludePC.hs file (written to stdout), to be included by Run.hs. 
    120120 
    121 In the first build phase, a "null" prelude with only placeholder functions 
     121In the first build phase, a "null" Prelude with only placeholder functions 
    122122is used. In the second phase, the Standard Prelude is precompiled and 
    123123inlined into the resulting pugs executable.