def initialize(sandbox=True): # TODO: sandbox is ignored if 'fsc' not in env['runtime']: return False if not os.path.isfile(env['runtime']['fsc']): return False return test_executor('FS', Executor, 'printfn "Hello, World!"')
def initialize(sandbox=True): # TODO: sandbox is ignored if "fsc" not in env["runtime"]: return False if not os.path.isfile(env["runtime"]["fsc"]): return False return test_executor("FS", Executor, 'printfn "Hello, World!"')
def initialize(): if 'csc' not in env['runtime']: return False if not os.path.isfile(env['runtime']['csc']): return False return test_executor('CS', Executor, '''\ using System; class test { public static void Main(string[] args) { Console.WriteLine("Hello, World!"); } }''')
def initialize(sandbox=True): # TODO: sandbox is ignored if 'csc' not in env['runtime']: return False if not os.path.isfile(env['runtime']['csc']): return False return test_executor('CS', Executor, '''\ using System; class test { public static void Main(string[] args) { Console.WriteLine("Hello, World!"); } }''')
def initialize(): if 'fsc' not in env['runtime']: return False if not os.path.isfile(env['runtime']['fsc']): return False return test_executor('FS', Executor, 'printfn "Hello, World!"')