[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ANN: StepTalk Shell (in CVS)
From: |
Stefan Urbanek |
Subject: |
ANN: StepTalk Shell (in CVS) |
Date: |
Thu, 30 May 2002 00:07:21 +0200 |
Hi,
I have commited new StepTalk example 'StepTalk Shell' to the CVS repository.
It is in the Examples directory. It uses the 'readline' library.
What is stshell?
-----------------
The StepTalk shell :-)
Features
--------
- GNUstep environment
- command-line editing
- TAB completition of named objects and selectors
Installation
------------
Requirements: StepTalk and readline library
> make
> make install
Running
-------
To run stshell with default language, run just
> stshell
If you would like to use another language, then use
> stshell -language AnotherLanguage
The shell will greet you with 'Welcome to the StepTalk shell.' message.
Welcome to the StepTalk shell.
StepTalk > _
Now you may write statements in the language you have specified.
StepTalk > Transcript showLine:'Current date is ', ((NSDate date)
description)
If the line is too long, then you may use the backslash '\' character at the
end
of the line to continue on the next line.
StepTalk > Transcript showLine:'Current date is ', \
... ? ((NSDate date) description)
Objects history array
---------------------
All results from the expressions are stored in the 'Objects' array. The
example
above can be written in more steps:
StepTalk > ((NSDate date) description)
0: 2002-05-29 22:41:57 +0200
StepTalk > 'Current date is ', (Objects @ 0)
1: Current date is 2002-05-29 22:41:57 +0200
StepTalk > Transcript showLine: (Objects @ 1)
Current date is 2002-05-29 22:41:57 +0200
To show all objects type:
StepTalk > Shell listObjects
Objects
0: '2002-05-29 22:41:57 +0200' (GSCInlineString)
1: 'Current date is 2002-05-29 22:41:57 +020...' (GSUnicodeString)
Feedback
--------
Any questions, ideas, bug reports and patches are welcome.
Enjoy :-)
Stefan
--
http://urbanek.host.sk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- ANN: StepTalk Shell (in CVS),
Stefan Urbanek <=