Changeset 21977

Show
Ignore:
Timestamp:
08/21/08 09:25:29 (3 months ago)
Author:
lwall
Message:

Lots of library function calls

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/perl6/STD.pm

    r21976 r21977  
    7777my @typenames = qw[ 
    7878    Object Any Junction Whatever 
    79     Capture Match Signature 
     79    Capture Match Signature Proxy Matcher 
    8080    Package Module Class Role Grammar 
    8181    Scalar Array Hash KeyHash KeySet KeyBag 
     
    131131my @routinenames = qw[ 
    132132    WHAT WHICH VAR 
    133     die exit warn eval temp 
     133    any all none one 
     134 
     135    die exit warn temp let 
     136    caller want 
     137    eval evalfile 
    134138    callsame callwith nextsame nextwith lastcall 
    135139    defined undefine item list slice 
    136     join split substr index chars pack unpack uc ucfirst lc lcfirst 
    137     say print open close printf sprintf slurp unlink 
    138     elems grep map sort push reverse take splice 
     140 
     141    cat classify 
     142    quotemeta 
     143    chr ord 
     144    p5chop chop p5chomp chomp 
     145    index rindex substr 
     146    join split comb pack unpack 
     147    uc ucfirst lc lcfirst 
     148    normalize 
     149    nfc nfd nfkc nfkd 
     150    samecase sameaccent 
     151    capitalize 
     152    chars graphs codes bytes 
     153 
     154    say print open close printf sprintf slurp unlink link symlink 
     155    elems grep map first reduce sort push reverse take splice 
     156 
    139157    zip each roundrobin caller 
    140158    return leave pop shift unshift reduce 
    141159    keys values hash 
    142     sqrt floor ceil 
    143     any all none one 
    144     plan is ok dies_ok lives_ok skip todo pass flunk force_todo use_ok isa_ok 
    145     cmp_ok diag is_deeply isnt like skip_rest unlike nonce skip_rest 
    146     eval_dies_ok eval_lives_ok 
     160 
     161    sign abs floor ceiling round truncate 
     162    exp log log10 sqrt roots 
     163    rand srand pick 
     164    cis unpolar 
     165 
     166    sin cos tan asin acos atan sec cosec cotan asec acosec 
     167    acotan sinh cosh tanh asinh acosh atanh sech cosech cotanh 
     168    asech acosech acotanh atan2 
     169 
     170    plan is ok dies_ok lives_ok skip todo pass flunk force_todo use_ok 
     171    isa_ok cmp_ok diag is_deeply isnt like skip_rest unlike nonce 
     172    skip_rest eval_dies_okay approx is_approx throws_ok version_lt 
     173 
     174    gmtime localtime time 
     175    gethost getpw chroot getlogin 
     176    run runinstead 
     177    fork wait kill sleep 
    147178]; 
    148179push @routinenames, "HOW", "fail"; 
     
    11541185    [ 
    11551186    | '=' <.ws> <EXPR( ($<sigil> // '') eq '$' ?? item %item_assignment !! item %list_prefix )> 
    1156     | '.=' <.ws> <EXPR(item %item_assignment)> 
     1187    | '.=' <.ws> <dottyop> 
    11571188    ]? 
    11581189} 
     
    16221653    | <category> 
    16231654        [ <colonpair>+ { $¢.add_macro($<category>) if $+IN_DECL; } ]? 
    1624     | <desigilname> 
     1655    | <desigilname> { $¢.add_routine($<desiglname>.text) if $+IN_DECL; } 
    16251656    ] 
    16261657}