• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Recommendations for scripting/extension languages for Cocoa apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recommendations for scripting/extension languages for Cocoa apps


  • Subject: Re: Recommendations for scripting/extension languages for Cocoa apps
  • From: Andrew Garber <email@hidden>
  • Date: Sat, 24 May 2003 05:54:11 -0700

I wrote a Cocoa recently which executed a bash shell script of mine. I used NSTask to accomplish this. I included the script as a resource for my ProjectBuilder project. Bash scripts are great, especially when it comes to regular expressions. Best of all, bash comes pre-installed on Mac OS X, so you won't have to tell users of your app to install it. I guess you could also pass strings to and from the command line using stdin and stdout, or the system() function.

Andrew


On Saturday, May 24, 2003, at 02:21 AM, Jason Alexander wrote:

I'm looking for a good scripting/extension language to embed in my Cocoa app. My first thought was to use something like guile since, based on my experiences w/ Emacs, execution of interpreted lisp functions can be pretty fast. But, since I'm having difficulty compiling the most recent version of guile, and am also completely ignorant as to whether something better might exist, I thought I'd ask for recommendations.

The eventual aim is to implement something like an interactive shell in which users can type commands which are executed by the app. Given this, I suppose I have a slight preference for a language whose syntax is more like C or Java than Lisp, since most users would find that syntax more natural. Another desiderata is how easy it is to integrate the scripting language with a standard Cocoa-document PB project.

Thanks,

Jason
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Recommendations for scripting/extension languages for Cocoa apps (From: Kaelin Colclasure <email@hidden>)

  • Prev by Date: Re: Recommendations for scripting/extension languages for Cocoa apps
  • Next by Date: Re: NSDrawer, NSOutlineView problem
  • Previous by thread: Re: Recommendations for scripting/extension languages for Cocoa apps
  • Next by thread: Re: Recommendations for scripting/extension languages for Cocoa apps
  • Index(es):
    • Date
    • Thread