I apologize for the sparse details on this page. I'm still writing up the product info as the link from PMC caught me off-guard.
It’s a programming system based on the Smalltalk programming language and it’s called Cocoalogue. What’s so special about it? It’s an interpretive system, with programs written in a shebang-prefixed text file like most scripting languages available on UNIX-like platforms. The Smalltalk-based syntax is virtually identical to Smalltalk-80 with extensions for declaring classes, methods and data types (with strong- and static-typing).
Here's an example script:
#! /usr/local/bin/cocoa
"Hide other applications and start up (or bring to the foreground if already running) Safari and Terminal."
NSWorkspace sharedWorkspace hideOtherApplications.
NSWorkspace sharedWorkspace launchApplication: 'Safari'.
NSWorkspace sharedWorkspace launchApplication: 'Terminal'.
It supports dynamic run-time features including blocks, automatic garbage-collection and data translation. And it has, as the name Cocoalogue would indicate, a bridge to Mac’s Cocoa frameworks.
I’ll go into greater detail on these features and Cocoalogue’s limitations in my next post, and here on this page. This product hasn’t been released yet, and will be priced at $129 when it is.