C

Using Fabrice Bellard's *Tiny C Compiler* because it's much faster than gcc/llvm.

Still needs setup code and a test suite.
Okay, this looks all good to me.  Just freshly made the docker container and ran:

vagrant@vagrant-ubuntu-trusty-64:/vagrant$ docker run --rm codewars/cli-runner run -l ts -c 'console.log("testtesttest")'
testtesttest

Can you confirm?

(BTW, typescript is depressingly slow… all of this for inline HTML...)

On Aug 11, 2014, at 10:13 AM, Matthew Wampler-Doty <negacthulhu@gmail.com> wrote:

> `docker build` runs the test suite, and I get:
> 
>   typescript runner
>     .run
> 42
> 
>       ✓ should handle basic code evaluation (1994ms)
> 
> (like a good extreme programmer, I’ve been trying to never push a broken build, while snorting blow and whathaveyou)
> 
> Double checking with the docker container now...
> 
> On Aug 11, 2014, at 10:08 AM, Jake Hoffner <notifications@github.com> wrote:
> 
>> In lib/runners/typescript.js:
>> 
>> >      shovel.start(opts, cb, {
>> > -        solutionOnly: function ()
>> > -        {
>> > -            return function(run)
>> > -            {
>> > -                var solutionFile = util.codeWriteSync('typescript', opts.solution, '/tmp/typescript', 'solution.ts', true);
>> > -                compile(solutionFile, function(file)
>> > -                {
>> > -                    run({name: 'node', 'args': [file]});
>> > +        solutionOnly: function () {
>> > +            // TODO: Support Setup Code
>> > +            return function (run) {
>> > +                var solutionFile = util.codeWriteSync('typescript', opts.solution, dir, 'solution.ts', true);
>> Are you sure this works? I originally was using the temp folder but it was being buggy for me. Seemed like the folder was getting deleted somehow before the code was ran.
>> 
>> —
>> Reply to this email directly or view it on GitHub.
>> 
>