Changeset 21638 for perl5

Show
Ignore:
Timestamp:
07/30/08 21:26:29 (4 months ago)
Author:
fglock
Message:

[v6.pm] added docs for the YAML backend

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • perl5/Pugs-Compiler-Perl6/lib/v6.pm

    r21633 r21638  
    401401    $ perl -e 'use v6-alpha' - --compile-only -Bperl5:MyEmitter ' 42.say ' 
    402402 
     403    $ perl -e 'use v6-alpha' - --compile-only -BPugs::Emitter::YAML ' 123 ' 
     404    ---  
     405    statements:  
     406    -  
     407        int: 123 
     408        pos: 1 
     409 
    403410The backend module must provide the C<emit($grammar, $ast)> subroutine. 
    404411