3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-25 04:02:37 +01:00
pbot/applets/compiler_vm/languages/bf.pm

22 lines
406 B
Perl
Raw Normal View History

#!/usr/bin/env perl
2021-07-11 00:00:22 +02:00
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
# SPDX-License-Identifier: MIT
use warnings;
use strict;
package bf;
use parent '_default';
sub initialize {
my ($self, %conf) = @_;
$self->{sourcefile} = 'prog.bf';
$self->{execfile} = 'prog.bf';
$self->{default_options} = '';
$self->{cmdline} = 'bf $options $sourcefile';
}
1;