Re: Dictionary possibilities [Re: Interesting... AppleScript X ??]
Re: Dictionary possibilities [Re: Interesting... AppleScript X ??]
- Subject: Re: Dictionary possibilities [Re: Interesting... AppleScript X ??]
- From: email@hidden (Michael Sullivan)
- Date: Sat, 28 Sep 2002 22:39:23 -0400
- Organization: Society for the Incurably Pompous
Michael Kelly wrote:
>
On Fri, Sep 27, 2002 at 03:00:41PM -0700, Paul Berkowitz wrote:
>
> On 9/27/02 2:19 PM, "Michael Kelly" <email@hidden> wrote:
>
> > Very good idea, but couldn't this also be done with plaintext source?
>
> > My point is that the user should be allowed complete choice as to what
>
> > editor they want to use, which would require plaintext source.
>
> Why would it require plain text source? I can open Script Editor compiled
>
> scripts and applets in Script Debugger and Smile with no problem, and
>
> vice-versa if the scripts aren't longer than the absurd 32K limit in SE.
>
My only point with plaintext/plain-text/plain text source is, as Michael
>
Sullivan said, that _any_ text editor could edit it. I suppose I have a
>
bit of a prejudice against any language that can't be written in BBEdit or
>
vi, but that's just me.
Well... Applescript can be written in BBEdit now, BBedit just can't
compile it or run it.
Probably no matter how a script editor decides to keep track of code and
let you edit it, there will be some way to export it as text, or some
text based language spec.
The simplest thing would be to use lisp like s-expressions for the text
representation, then you're doing essentially no parsing at all to go
from text to internal representation and vice versa.
I would have my lisp-like language, and has would have his graphical
editor language, and everyone would be happy!
Right?
Everyone?
Where did everyone go?
Oh yeah, we'd need some way to get a bunch of random superflous
punctuation in there to make the JavaScript and Perl people happy.
And then, so it would be easy for newbies, you'd need to make it
understand plain english.
Michael, this reminds me of something...
--
One day a student came to Moon and said: "I understand how to make a
better garbage collector. We must keep a reference count of the pointers
to each cons."
Moon patiently told the student the following story:
"One day a student came to Moon and said: 'I understand how to make a
better garbage collector...'" -- an AI koan by Danny Hillis.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.