mfikes / ambly

ClojureScript REPL into embedded JavaScriptCore
http://ambly.fikesfarm.com
Eclipse Public License 1.0
541 stars 21 forks source link

Use JavaScriptCore's C API #89

Closed mfikes closed 9 years ago

mfikes commented 9 years ago

JavaScriptCore has a low-level C API, which is then wrapped in a higher-level Objective-C API. Ambly is currently using the Objective-C API.

This prevents Ambly from being used in situations where a JavaScriptCore build is being used where JSC_OBJC_API_ENABLED has not been #defined. In short, using the lower-level API makes Ambly much more composeable with other code that works at that level, while not precluding its use in situations where the Objective-C API is enabled.