Skip to content

Instantly share code, notes, and snippets.

@lawrencejones
Created October 31, 2013 00:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lawrencejones/7242756 to your computer and use it in GitHub Desktop.
Save lawrencejones/7242756 to your computer and use it in GitHub Desktop.
var sys = require('sys')
var exec = require('child_process').exec;
function puts(error, stdout, stderr) { sys.puts(stdout) }
exec("clear; make | tail -1 && ./bin/wacc --parse-only examples/valid/array/array.wacc", puts)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment