man Language::INTERCAL::Backend::PerlText () - a program generated by ' . $intercal . '
NAME
' . $prog_name . ' - a program generated by ' . $intercal . '
SYNOPSIS
' . CB$prog_name . ' [options] files...\n";
DESCRIPTION
This is just a description of the command-line options, as the compiler has no way to figure out what the program does (can you figure out what an INTERCAL program does just by looking at it?). The programmer can change this paragraph if this is a problem.
- -A
- Produce output in ASCII (default).
- -B
- Produce output in Baudot.
- -E
- Produce output in EBCDIC.
- -a
- Accept input in ASCII.
- -b
- Accept input in Baudot.
- -e
- Accept input in EBCDIC (default).
- -o name
- Internally redirects the standard output to the named file.
SEE ALSO
Language::INTERCAL, and, most importantly, a qualified psychiatrist.
'; }
1;
__END__
NAME
Language::INTERCAL::Backend::PerlText - Perl back end for CLC-INTERCAL
SYNOPSIS
use Language::INTERCAL;
my $program = compile Language::INTERCAL 'program text';
$program->backend('PerlText', 'fun.pl');
system 'perl', 'fun.pl';
DESCRIPTION
Language::INTERCAL::Backend::PerlText contains a back end for Language::INTERCAL which creates a Perl script.
The back end is normally invoked using the method backend of package Language::INTERCAL, with the string 'PerlText' as first argument and the name of the file to be created as second argument.
The program produced by this back end will contain the same Perl code as internally generated by the 'Perl' back end (see Language::INTERCAL::Backend::Perl), with a wrapper to parse some command-line options and fiddle with the input and output alphabet. See the POD in the generated file for details.
COPYRIGHT
This module is part of CLC-INTERCAL.
Copyright (c) 1999 by Claudio Calvelli <CWlunatic@assurdo.com>, all (f)rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
SEE ALSO
A qualified psychiatrist.