# Copyright (c) 2006 Joe Leslie-Hurd, distributed under the BSD License
use strict;
use warnings;
use Pod::Usage;
use Getopt::Std;
use vars qw($opt_h $opt_c $opt_r);
getopts('hc:r:');
if ($opt_h or scalar @ARGV == 0)
{
pod2usage({-exitval => 2,
-verbose => 2});
}
if (!$opt_c) { die "mlpp: you must specify the SML compiler\n"; } if ($opt_c ne "mosml" && $opt_c ne "mlton" && $opt_c ne "polyml") {
die "mlpp: the SML compiler must be one of {mosml,mlton,polyml}.\n";
}
# Autoflush STDIN
$|++;
sub unquotify { if (scalar @_ == 0) { return; }
my $pre = "[";
for my $quote (@_) {
my $nl = chomp $quote;
my @qs = split (/\^(\w+)/, $quote);
my @ps = ();
Remove all comment brackets tagged like this: (*TAG revealed-code *)
where the TAG-REGEX matches the TAG.
=back
=head1 DESCRIPTION
Concatenates the input list of SML source files into a single file
ready to be compiled, by expanding quotations and antiquotations, and
concatenating into a single file.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.