node-app / interpreter Goto Github PK
View Code? Open in Web Editor NEWNode.js Interpreter for iOS 7
Home Page: http://nodeapp.org
Node.js Interpreter for iOS 7
Home Page: http://nodeapp.org
Is there away to clear the log screen?
cursor is set before or after word only
Why does pressing the EXEC button clear the screen? I would like it to execute whats typed in thats it. Maybe add some new, edit, clear buttons
What needs to be implemented:
While running on the device (I am using an iPhone 5), if you call require
, you get EXC: Error: No such native module events; line: 1087, stack: require
. For some reason it doesn't read require
. However, when you run it on a simulator it seems to work just fine.
For example, if I run:
require('http').createServer(function (request, response) { response.writeHead(200, {"Content-Type": "text/plain"}); response.end("hello\n");}).listen(8000);
This works fine on the simulator, but not on a real iOS device.
side note: I've also noticed that when you request localhost:8000
, with this code, you get TypeError: 'undefined' is not an object (evaluating 'tty_wrap.guessHandleType') stack: createWritableStdioStream
when the page is requested.
What would be the advised way to use node modules, especially with nested node_module structures?
in the current node app version 1.2.0 running on my new iPad Air 128 GB WiFi only running iOS 7.1.1, if you go to the Docs section of the app, one of the choices under Docs is to view as JSON.
expected behavior —
when going to Docs in node app and choosing to view as JSON, you see the Docs in JSON format, but can also easily go back to the index and other Doc views.
observed issue behavior —
instead, you do see the Docs entries in JSON format, but there is no “back” or “index” or other such links by which you could go back to the regular Docs view, you are stuck in JSON format unless you quit the app and take it out of iOS memory and restart it.
suggested fix behavior —
either take out the JSON view option entirely from the Docs section, or provide links above the JSON view to go back, take you to index or another view, etc.
best,
— faddah wolf
portland, oregon
github.com/faddah
Is it possible to give color option? Or add a night mode? The whiteness can get very stressful on one eyes. A console like night mode if can.
The contents of /lib should instead be part of Nodelike, along with the equivalent of src/node.js so that Nodelike is plug-and-play with new apps that want to leverage it.
It should be possible to inject your node api inside UIWebView to provide something similar to node-webkit or similar (appjs etc.) on native IOS7!
Checkout the end this blog post:
http://blog.impathic.com/post/64171814244/true-javascript-uiwebview-integration-in-ios7
Hi, loving this, but before I get too enthusiastic:
Will (apps using) this be allowed on the AppStore?
A test with:
var fs = require("fs");
fs.readdir("./", function(e,l){ log(l.join(", ")); });
shows
.DS_Store, .DocumentRevisions-V100, .PKInstallSandboxManager, .Spotlight-V100, .Trashes, .dbfseventsd, .file, .fseventsd, .vol, Applications, Library, Network, System, Users, Volumes, as, bin, cores, dev, etc, home, mach_kernel, net, private, sbin, tmp, usr, var
wich is a bit broader than what I would suspect Apple would allow...
Is there anything here that specifically requires 10.9? Personally, I'd love this to run on 10.8.
hello,
set-up
iPad Air 128 GB, iOS 7.1.1, Node App 1.2.0.
Expected Behavior
Write or paste code onto the screen for Node App with iPad in landscape mode. Code needs to be longer than 16 lines (try 20 or more). You should be able to use finger then to try and scroll down to see the rest of your code past screen keyboard.
Issue
With more than 16 lines in landscape mode, you cannot touch scroll down and see the rest of your code past the screen keyboard. you could dismiss the screen keyboard (lower right key on screen keyboard), but then you can't keep typing to add or edit code. same is true past however many lines in portrait mode.
This should be fixed so you can touch scroll when your code lines extend down beyond where the on-screen keyboard is.
best,
— faddah wolf
portland, oregon, u.s.a.
github.com/faddah
Basic operations like 1 + 2 work, but when I try the example from the screenshot, I get the following error:
2013-12-14 10:53:19.340 Interpreter[50790:70b] Error: Cannot find module 'fs'
Also: How is the included test file "index.js" executed?
I've noticed that when the contents of a module in node_module
, are changed, the app doesn't respond to it's changes immediately. I'm assuming that the app is using the previously cached Nodelike.bundle or however the file is being shared across workspaces. So if I change the contents of node_module/examples
it won't reflect immediately.
Is there a way to get Console.Log to work, at present the app doesn't allow it
Is there anyway you can add on nodeschool.io?!?!?
This would be way pass cool ---still not cooler than sonic of course... Nor fast---
it appears that git version 1.8.3.4 (Apple Git-47)
does not perform a recursive submodule init, so the update does not force node to be downloaded.
These steps worked for me:
$ git clone https://github.com/node-app/Interpreter
$ cd Interpreter/
$ git submodule update
$ git submodule foreach git submodule init
$ git submodule update --recursive
For some reason podfile for Interpreter is not HEAD:
https://github.com/node-app/Interpreter/blob/master/Podfile
is changing to HEAD i have unresolved methods - "runEventLoopSync" not found. I've changed it to new method "runEventLoopSyncInContext" but i can't see output in "Output section" though i can see expected input in log in XCode.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.