zeasy / Nodelike

Node.js-compatible Framework for iOS

Home Page:http://nodeapp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nodelike Build Status

Nodelike is a weekend hack to implement a roughly Node.JS-compatible interface using JavaScriptCore.framework on iOS 7 and OS X Mavericks.

(JavaScriptCore hasn't been available before iOS 7, and on OS X the project makes extensive use of the newly-updated 10.9-only Objective-C API. Previously on 10.8 there existed only a very low-level and very verbose C API.)

This is currently in a very incomplete state, and not viable for serious use. It could, however, become usable over the following weeks.

The goals

  • to be drop-in compatible with the current nodejs master
  • to be very lightweight
  • to reuse javascript code from node (/lib)
  • to provide the most minimal binding that is possible (via libuv)
  • NOT to archieve Node.js performance (this is meant as a client-side, not a server-side application)
  • NOT to be backwards-compatible (nodejs cutting edge and newest iOS/OS X required)

How to compile

You first need to fetch the nodejs submodule. Do so by:

  1. git submodule init
  2. git submodule update

Afterwards, just open Nodelike.xcodeproj, build the framework and you're all set!

About

Node.js-compatible Framework for iOS

http://nodeapp.org

License:Mozilla Public License 2.0