Acme-Cow-Interpreter

 view release on metacpan or  search on metacpan

bin/cow.pl  view on Meta::CPAN

#!/usr/bin/perl
#
# cow - Cow programming language interpreter
#
# This interpreter can be used to process Cow source files, e.g., with
#
#    cow source.cow
#
# If your operating system allows scripts on the `#!' line, you can copy this
# program to, e.g., `/usr/local/bin/cow' and then use `#!/usr/local/bin/cow' on
# the top of your Cow programs. Then you don't need to call this interpreter
# explicitly.
#
# If your operating system does not allow scripts on the `#!' line, you can copy
# this file to, e.g., /usr/local/bin/cow.pl', compile the C wrapper `cow.c' (see

bin/cow.pl  view on Meta::CPAN

# Cow programs. Then you don't need to call this interpreter explicitly.

################################################################################
## Modules and package variables.
################################################################################

use strict;             # restrict unsafe constructs
use warnings;           # control optional warnings

use File::Basename ();  # split a pathname into pieces
use Getopt::Std ();     # process single-character command line options

use Acme::Cow::Interpreter ();

# Initialize option variables.

our $opt_h;
our $opt_v;

################################################################################
## File-private lexical variables.

bin/cowtidy.pl  view on Meta::CPAN

# cowtidy - pretty-prints Cow source code

################################################################################
## Modules and package variables.
################################################################################

use strict;             # restrict unsafe constructs
use warnings;           # control optional warnings

use File::Basename ();  # split a pathname into pieces
use Getopt::Std ();     # process single-character command line options

# Initialize option variables.

our $opt_n;
our $opt_s;
our $opt_h;
our $opt_v;

################################################################################
## File-private lexical variables.

bin/text2cow.pl  view on Meta::CPAN

# text2cow - prints Cow source code that prints a given text

################################################################################
## Modules and package variables.
################################################################################

use strict;             # restrict unsafe constructs
use warnings;           # control optional warnings

use File::Basename ();  # split a pathname into pieces
use Getopt::Std ();     # process single-character command line options

# Initialize option variables.

our $opt_h;
our $opt_v;

################################################################################
## File-private lexical variables.
################################################################################



( run in 0.251 second using v1.01-cache-2.11-cpan-8d75d55dd25 )