[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: StepTalk with ObjectiveC
From: |
Stefan Urbanek |
Subject: |
Re: StepTalk with ObjectiveC |
Date: |
Sat, 03 Apr 2004 10:24:25 +0200 |
Hi,
On 2004-04-02 09:19:49 +0200 Philip Mötteli <Philip.Moetteli@tele2.ch> wrote:
> I'm trying out StepTalk. I actually would like Objective-C syntax instead of
> the Smalltalk syntax. So I make
>
> Environment loadModule:'ObjectiveC'.
> STLanguage allLanguageNames.
>
> Which gives: (Smalltalk, Smalltalk)
>
In StepTalk there are two kinds of 'plugins/bundles': modules and languages.
They have different APIs, as they serve different purposes.
Environment loadModule:'something' is convenience method for loading a bundle
from predefined directories and to apply bundle's scripting information (import
named objects/classes...).
allLanguageNames will give you names of all available LANGUAGE bundles from
Library/StepTalk./Languages.
>
> I see the ObjectiveC module in 'Local/Library/StepTalk/Modules'. Is there any
> ObjectiveC for StepTalk?
>
ObjectinveC bundle you see is a bundle which provides classes and methods to
access ObjectiveC runtime (such as object named Runtime or the category method
of NSObject methodNames or instanceMethodNames for class objects).
Currently there is no ObjectiveC language bundle, therefore you can not use
ObjectiveC syntax for StepTalk :-(
Perhaps some day ... if there was ObjectiveC parsing framework...
Stefan Urbanek
--
http://stefan.agentfarms.net
First they ignore you, then they laugh at you, then they fight you, then you
win.
- Mahatma Gandhi