Ticket #674: book-remove-escape-B.patch

File book-remove-escape-B.patch, 2.2 KB (added by fperrad, 5 years ago)

remove B<> in verbatim section

  • docs/book/ch02_getting_started.pod

     
    2424If you have these dependencies installed, build the core virtual machine and 
    2525compiler toolkit and run the standard test suite with the commands: 
    2626 
    27   $ B<perl Configure.pl> 
    28   $ B<make> 
    29   $ B<make test> 
     27  $ perl Configure.pl 
     28  $ make 
     29  $ make test 
    3030 
    3131By default, Parrot installs to directories F<bin/>, C<lib/>, et cetera under 
    3232the prefix F</usr/local>.  If you have privileges to write to these 
    3333directories, install Parrot with: 
    3434 
    35   $ B<make install> 
     35  $ make install 
    3636 
    3737To install Parrot beneath a different prefix, use the C<--prefix> option to 
    3838C<Configure.pl>: 
    3939 
    40     $ B<perl Configure.pl --prefix=/home/me/parrot> 
     40  $ perl Configure.pl --prefix=/home/me/parrot 
    4141 
    4242If you intend to I<develop> -- not just I<use> -- a language on Parrot, install 
    4343the Parrot developer tools as well: 
    4444 
    45   $ B<make install-dev> 
     45  $ make install-dev 
    4646 
    4747=head2 Running Parrot 
    4848 
     
    5959 
    6060Now run this file with: 
    6161 
    62   $ B<parrot news.pasm> 
     62  $ parrot news.pasm 
    6363 
    6464which will print: 
    6565 
  • docs/book/ch05_pge.pod

     
    8181 
    8282Then compile the grammar: 
    8383 
    84   $ B<parrot Perl6Grammar.pbc --output=Contacts.pir Contacts.pg> 
     84  $ parrot Perl6Grammar.pbc --output=Contacts.pir Contacts.pg 
    8585 
    8686=for author 
    8787 
     
    9393The path to F<parrot> and to the F<Perl6Grammar.pbc> file will vary on 
    9494different systems. If you compiled Parrot from source, it will be: 
    9595 
    96   $ B<./parrot runtime/parrot/library/PGE/Perl6Grammar.pbc \> 
    97         B<--output=Contacts.pir Contacts.pg> 
     96  $ ./parrot runtime/parrot/library/PGE/Perl6Grammar.pbc \ 
     97        --output=Contacts.pir Contacts.pg 
    9898 
    9999Next, create a small PIR script to run your grammar. Save it as 
    100100F<grammar_test.pir>: 
     
    123123 
    124124Run the test script: 
    125125 
    126   $ B<parrot grammar_test.pir> 
     126  $ parrot grammar_test.pir 
    127127 
    128128It will print out a text representation of the raw parse tree stored in the 
    129129C<match> variable: