From 5e2cd4fd228c6ea4ecdf9b376d5db15d8c1618a4 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sun, 18 Jan 2015 18:36:48 -0800 Subject: [PATCH] Add bash to compiler_vm languages --- modules/compiler_vm/languages/bash.pm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 modules/compiler_vm/languages/bash.pm diff --git a/modules/compiler_vm/languages/bash.pm b/modules/compiler_vm/languages/bash.pm new file mode 100755 index 00000000..53b174c4 --- /dev/null +++ b/modules/compiler_vm/languages/bash.pm @@ -0,0 +1,18 @@ +#!/usr/bin/env perl + +use warnings; +use strict; + +package bash; +use parent '_default'; + +sub initialize { + my ($self, %conf) = @_; + + $self->{sourcefile} = 'prog.bash'; + $self->{execfile} = 'prog.bash'; + $self->{default_options} = ''; + $self->{cmdline} = 'bash $options $sourcefile'; +} + +1;