#!/usr/bin/env node // Generated by CoffeeScript 2.3.0 (function() { //!/usr/bin/env coffee var compiler, input_file; module.paths.unshift(`${require('path').dirname(__dirname)}/lib`); require('testml/prelude'); require('testml/compiler'); [input_file] = process.argv.slice(2); if (input_file == null) { throw "usage: testml-compiler "; } if (!(input_file === '-' || file_exists(input_file))) { throw `Input file does not exist: '${input_file}'`; } compiler = new TestML.Compiler; out(compiler.compile(input_file)); // vim: sw=2 lisp: }).call(this);