【mac之javascriptcore】
The JavaScriptCore(Webkit's Javascript engine) Framework allows you to evaluate JavaScript programs(1) from within a C-based program. It also lets you insert custom objects to the JavaScript environment(2).
Reference:https://developer.apple.com/library/mac/#documentation/Carbon/Reference/WebKit_JavaScriptCore_Ref/_index.html
遗憾的是,iOS下无法使用此API。