3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-24 03:33:06 +01:00

Add python to compiler_vm languages

This commit is contained in:
Pragmatic Software 2015-01-18 18:36:57 -08:00
parent 5e2cd4fd22
commit a41906d323

View File

@ -0,0 +1,18 @@
#!/usr/bin/env perl
use warnings;
use strict;
package python;
use parent '_default';
sub initialize {
my ($self, %conf) = @_;
$self->{sourcefile} = 'prog.py';
$self->{execfile} = 'prog.py';
$self->{default_options} = '';
$self->{cmdline} = 'python $options $sourcefile';
}
1;