Sha256: 11746786f63d63a58d82ee6f51d5216552fb09d3c89104f1eb0b3f2189e4950c
Contents?: true
Size: 659 Bytes
Versions: 1
Compression:
Stored size: 659 Bytes
Contents
//Written using Nila. Visit http://adhithyan15.github.io/nila (function() { var read, readline, rl, stream; // This is a small REPL for Nila to test out nila code and do bug fixes readline = require('readline'); require('fs'); stream = fs.createWriteStream("my_file.nila"); stream.once('open',function(fd) { stream.write("Testing!\n"); stream.; }); rl = readline.createInterface(process.stdin, process.stdout); rl.setPrompt('nila> '); rl.prompt(); read = rl.on('line',function(line) { rl.prompt(); }); read.on('close',function() { console.log("Have a great day!"); process.exit(0); }); }).call(this);
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nilac-0.0.4.3.9.7.1 | examples/repl.js |