3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-11 14:39:32 +01:00
pbot/applets/pbot-vm/host/lib/Languages/bf.pm
Pragmatic Software 91f8547aed
pbot-vm: add Tumbleweed orchestration script
Fix Java language missing `/bin/sh` in execute()
Update brainfck language to use `bff`
2024-03-30 16:49:09 -07:00

22 lines
434 B
Perl
Executable File

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