Acme-Cow-Interpreter

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN


    Increment current memory block value by 1.

- MOO (7)

    If current memory block value is 0, skip next command and resume execution
    after the next matching **moo** command. If current memory block value is not
    0, then continue with next command. Note that the fact that it skips the
    command immediately following it has interesting ramifications for where the
    matching **moo** command really is. For example, the following will match the
    second and not the first **moo**: **OOO** **MOO** **moo** **moo**

- OOO (8)

    Set current memory block value to 0.

- MMM (9)

    If no current value in register, copy current memory block value. If there
    is a value in the register, then paste that value into the current memory
    block and clear the register.

lib/Acme/Cow/Interpreter.pm  view on Meta::CPAN


Increment current memory block value by 1.

=item MOO (7)

If current memory block value is 0, skip next command and resume execution
after the next matching B<moo> command. If current memory block value is not
0, then continue with next command. Note that the fact that it skips the
command immediately following it has interesting ramifications for where the
matching B<moo> command really is. For example, the following will match the
second and not the first B<moo>: B<OOO> B<MOO> B<moo> B<moo>

=item OOO (8)

Set current memory block value to 0.

=item MMM (9)

If no current value in register, copy current memory block value. If there
is a value in the register, then paste that value into the current memory
block and clear the register.



( run in 1.299 second using v1.01-cache-2.11-cpan-39bf76dae61 )