• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Briskets / English
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Briskets / English


  • Subject: Re: Briskets / English
  • From: Matthew Stuckwisch <email@hidden>
  • Date: Wed, 15 May 2002 20:48:17 -0500

I'm trying to see why you want to be able to do that. First I had to realize (not being enamored of a dot syntax language) that you didn't mean Doctor Mario. Now that I read further I see you're talking about replacing the possessive syntax 'x's y' with 'x.y'; so your example (in the possessive syntax) would be...

on dr's Mario(nursePeach)
--Let's try to compile this
end dr's Mario

I was using that to show that in current Applescript, using a dot in a handler doesn't work, therefore implementing it would be possible. Not to say I would ever use something like dr.Mario. I wasn't using to actually say that that would be something you'd call.

This would make some codes look a little simpler in AS Studio. At least for me, I would probably call on outside script's handlers with it like

set var to scriptRef.scriptHandler(text field "data"'s contents, window of theObject)

What is that? It isn't a handler definition. It's not an illustrative variable name word play.

Disregarding my confusion at your example code, I don't see any clear advantage to writing in that syntax. It sure isn't very AppleScripty.
So what's the reason it would be a good thing?

Because lots of people have mentioned liking it? I probably wouldn't use it much myself outside of the above mentioned purpose. I just think it's an innocent way of making it easier for some people to use AS. I could also throw in that technically "=" isn't too AppleScripty since we also have "is equal to" and such. It's just personal preferences, and if it's relatively easy to implement, I don't see a reason not too (at least, that'
s my philosophy on software design) so long as it doesn't muck up other stuff.

If you compile it, it will error. This being on the latest beta of AS, I don't think it would -too- hard to allow "x.y" for "x's y" since that'
s almost the difference between "is equal to" and "=", but I'm not an expert at AS's internals so I can't say for sure. Might be a thing for the AS engineers to keep in mind.

Matthew Stuckwisch

My dream is that they are drinking beer and eating pizza and discussing how to make TIDs return lists of any length. :^)... mmhhhh...

/me is too young to buy them beer....perhaps root beer

Yes, that would be nice. (AS 1.9) is equal to (no list limit)? *wink wink*


Matthew Stuckwisch
[AIM/MSN]{GuifaSwimmer} | [Yahoo!]{SapphireTree} | [ICQ]{137477701}
[IRC]{guifa / G}(esperNET / irc.massinova.com)
_______________________________________________
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.

References: 
 >Re: Briskets / English (From: Paul Skinner <email@hidden>)

  • Prev by Date: Generating applescript files
  • Next by Date: Re: Generating applescript files
  • Previous by thread: Re: Briskets / English
  • Next by thread: Re: Briskets / English
  • Index(es):
    • Date
    • Thread