mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-11 14:39:32 +01:00
91f8547aed
Fix Java language missing `/bin/sh` in execute() Update brainfck language to use `bff`
22 lines
434 B
Perl
Executable File
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;
|