Created
November 25, 2010 22:19
-
-
Save gilesbowkett/716004 to your computer and use it in GitHub Desktop.
this is output from sibilant, a lisp which compiles to node.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require("fs"), | |
sys = require("sys"), | |
buffer = (new Buffer(10000)); | |
fs.open("./jsfiles.list", "r", (function(err, fd) { | |
// err:required fd:required | |
return fs.read(fd, buffer, null, "utf8", (function(error, string, count) { | |
// error:required string:required count:required | |
return sys.puts(buffer.toString()); | |
})); | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment