Finished conio, most of string library, changed

output and bytecode to textarea
This commit is contained in:
2015-04-22 00:14:46 -04:00
parent 10f5a43a17
commit eb1f48ad9c
5 changed files with 87 additions and 54 deletions

View File

@@ -38,11 +38,11 @@ callbacks[c0ffi.NATIVE_PRINTBOOL] = function(args) {
callbacks[c0ffi.NATIVE_PRINTCHAR] = function(args) {
print(String.fromCharCode(args[0]));
}
callbacks[c0ffi.NATIVE_READLINE] = function(args) {
return prompt("","");
}
callbacks[c0ffi.NATIVE_PRINTINT] = function(args) {
print(args[0]);
return 0;
}
console.log(callbacks);