discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Re: WebScript


From: Stefan Urbanek
Subject: Fwd: Re: WebScript
Date: Sat, 15 Sep 2001 16:36:42 +0200 (CEST)

Hi,

 --- Lyndon Tremblay <humasect@home.com> a écrit : > Date: Fri, 17 Aug 2001
11:16:51 +0000
> De: Lyndon Tremblay <humasect@home.com>
> À: urbane@decef.elf.stuba.sk
> Objet: Re: WebScript
> 
> Stefan Urbanek wrote:
> > 
> > Hi,
> > 
> > I apologize for this late response, but currently I am on my trip in USA
> and
> > I have limited internet access.
> > 
> > Thank you for your interest. Adding WebScrip functionality to StepTalk is
> > nice idea. I think, it could be interesting and useful. I think, if you
> are
> > still interested to do something with it, I will be not against it.
> Actually,
> > i've made some modification to last version of ST, but they are on my
> home
> > computer. But I thing, it would not be difficult to merge changes
> together
> > later.
> > 
> > Also it would be nice to have som place, where we can access sources from
> > CVS. I do not know, if it would be possible to put it on gnustep.org.
> > 
> > I will be home around mid-september, but if you would like, you can start
> > doing something with it. I hope, we can work on it together, after I will
> > return.
> > 
> > Good luck biting through my code ;)
> > 
> > Stefan
> > 
> >  --- Lyndon Tremblay <humasect@home.com> a écrit : > I was looking
> through
> > the 0.2 code of StepTalk, and I like it a lot, the
> > > integration it provides is great. Have you considered adding WebScript
> > > functionality to StepTalk? If you are interested I would be glad to
> help
> > > out, or even add it in myself.
> > >
> > > The reason for this, is that I'm developing an application suite that I
> > > would like to be driven through scripts. WebScript provides very simple
> > > and clean ObjC syntax:
> > >
> > >
> >
>
http://developer.apple.com/techpubs/webobjects/WebObjects_4.5/System/Documentation/Developer/WebObjects/DevGuide/WebScript.html
> > >
> > > Give that a skim. It's pretty simple to implement, it's mostly class
> > > definitions and object messaging, all variables are objects. Of course
> > > we would be only interested in the ObjC syntax, not the 'modern' syntax
> > > (which is basically JScript).
> > >
> > > Let me know what you think,
> > >     Lyndon
> > 
> > ___________________________________________________________
> > Do You Yahoo!? -- Vos albums photos en ligne,
> > Yahoo! Photos : http://fr.photos.yahoo.com
> 
> Hey, thanks for your response. I think we really have something here.
> What I think we should do, is provide a generic scripting interface for
> GNUstep apps.. like Microsoft's activescript, but a little more
> integrated of course. What this would provide, is allow any application
> to expose their ObjC runtime to the scripting model, which would then be
> user-set (through the host application's preferences), to either
> StepTalk, WebScript, PerlTalk, RubyTalk, or whatever else has been
> 'installed' as a scripting adapter.
> 
> There are multiple ways to acheive this, bundles (add categories to
> NSTextView etc. for scripting), or as a shared library (simpler,
> probably better to implement it this way for the first time at least)
> 
> This will be more work of course, but it will provide a lot of power and
> customizability for the GNUstep environment, something lacking in mostly
> all UI's (except Smalltalk :).
> 
> StepTalk and WebScript would be the default languages, WebScript for
> simple messaging and 1-liners (entry fields, aka. URL address bar on a
> web browser), and StepTalk for more complex behavior, like plugins for
> apps, etc.
> 
> Something along the lines of:
> 
> <script lib>
>       <parsers>
>               <StepTalk/>
>               <WebScript/>   (we should change that name to avoid conflicts)
> 
>               <-- installed/local bundles -->
> 
>               <PythonTalk/>
>               <BashTalk/>
>       </parsers>
>       
>       <appkit additions/>
>       <app services/>
> </script lib>
> 
> Something along those lines... providing a language-independant
> interface to applications that want to host scripting functionality.
> 
> Should we forward this to the gnustep-dev list? It shouldn't be too hard
> to get a CVS set up, I had my GStep java bridge stored there at one
> point. Since you know your code (i hope!) would it be too difficult to
> change the design to support this? As long as it allows the parser
> object to be swapped in/out of your existing lib. You'd have to sperate
> the StepTalk-specific stuff to the rest of it, and keep some parsing
> stuff shared, like message sending, etc., so they could be used for
> other parsers.
> 

This is what I was also thinking about. Just to create general scripting
framework and have languages as plugins. See my next e-mail.

stefan


___________________________________________________________
Do You Yahoo!? -- Un e-mail gratuit @yahoo.fr !
Yahoo! Courrier : http://fr.mail.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]