Mercurial > repo
view interps/clc-intercal/inst/lib/perl5/Language/INTERCAL/Backend/Run.pm @ 12509:2255eb45a711 draft default tip
<wib_jonas> `` </hackenv/tmp/cmd.whatis tr -d \\\\r | grep cmd | cat -v >> /hackenv/share/whatis
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Wed, 17 Jul 2024 14:42:40 +0100 |
parents | 859f9b4339e6 |
children |
line wrap: on
line source
package Language::INTERCAL::Backend::Run; # Back end to run object in memory # This file is part of CLC-INTERCAL # Copyright (c) 2006-2008 Claudio Calvelli, all rights reserved. # CLC-INTERCAL is copyrighted software. However, permission to use, modify, # and distribute it is granted provided that the conditions set out in the # licence agreement are met. See files README and COPYING in the distribution. use strict; use vars qw($VERSION $PERVERSION); ($VERSION) = ($PERVERSION = "CLC-INTERCAL/Base INTERCAL/Backend/Run.pm 1.-94.-2") =~ /\s(\S+)$/; use Carp; use Language::INTERCAL::Exporter '1.-94.-2'; use constant default_suffix => undef; # means we don't want a file use constant default_mode => undef; # means we don't want a file sub generate { @_ == 2 or @_ == 3 or @_ == 4 or @_ == 5 or croak "Usage: BACKEND->generate(INTERPRETER)"; my ($class, $int, $name, $filehandle, $options) = @_; $int->start()->run()->stop(); } 1;