Hey guys! Thanks for your replies - and for the little fun hidden within the lines…that exception got me laughing for good. :)
I did see Small/StepTalk actualy, but neither of them did compile on my Mac - Cling included. I did find Cling actually, but it throws about 29 errors on a single file, that of course terminates the compilation for good. I was indeed looking for a scripting language with the square brackets, as it gives the language a nice structure, realy. I will look at the LanguageKit and see what it offers! It so far sounds very interesting, especially that it uses a JIT compiler. Since there does not seem to be any scripting language with valid Objective-C syntax, I might just sit down and write my own, with the help of a more experienced developer then. Might be interesting to hook it up with GnuStep as a framework to extend programs with a scripting language…who knows, somebody may find this interesting. :) Kind regards, Ingwie. Am 01.05.2014 um 11:49 schrieb David Chisnall <[email protected]>: > On 1 May 2014, at 01:21, Kevin Ingwersen <[email protected]> wrote: > >> Is it even possible to use a scripting language, based on ObjC syntax, >> outside of OS X? > > You should look at the LanguageKit Framework for Étoilé. This provides an > AST interpreter, JIT compiler, and AOT compiler (compilers using LLVM on the > back end) for languages targeting the GNUstep Objective-C runtime, including > a dialect of Smalltalk and a JavaScript-like language. Mathieu has been > working on an OMeta front end for it, which (when finished) will make adding > new front ends much easier. > > Performance for LanguageKit is typically in the same ballpark as Objective-C, > depending on what you're doing (floating point performance sucks, most other > things are close, often faster than using ObjC with manual retain-release, > but hopefully no one is doing that for new code in 2014). > > If what you want is *exactly* Objective-C (which isn't a great scripting > language, for various reasons), then you should look at Cling[1], which > provides a REPL environment reusing the Clang parser and code generator. > I've never tried getting it to work with Objective-C, but it probably > wouldn't be too much effort if it doesn't work already... > > David > > [1] http://root.cern.ch/drupal/content/cling > > -- Sent from my IBM 1620 > _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
