AppleScript
Moderator: General Moderators
AppleScript
AppleScript always seemed to interest me in that it is more of a worded language rather then punctual.
What do you think of AppleScript? Do you think this is a good idea for a programming language? Do you know of any other languages like this?
What do you think of AppleScript? Do you think this is a good idea for a programming language? Do you know of any other languages like this?
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
I just thought it was interesting. I think that the English-like approach is a cool idea. If you think about it, characters like, $, #, { and }, :, etc, aren't really easy to type. Most of the time you need to hold shift along with the key, which could add up, and in the end it's not as readable.
I'm not against the standard way to program, just open to new ideas.
instead of:
you could have:
or something like it.
Then again 'equals' is more characters the == or = but seems more accessible in my opinion.
I'm not against the standard way to program, just open to new ideas.
instead of:
Code: Select all
if (this == that)
{
//do something
}Code: Select all
if this equals that, (do somthing).Then again 'equals' is more characters the == or = but seems more accessible in my opinion.
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
AppleScript is fairly "old skool." It's aged well however. It's always been more of a macro language than a real language. I generally don't think programming languages should have grammatic-like syntax. Mostly because grammatics are based on a language. While the language may be prevalent, you severely limit the penetration into other cultures and languages often. While this may only last a short time, it does hamper the adoption and adaption to it. Lingo is another language that's heavily (English) grammatic.
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
Yeah, as long as we're down to keywords, anyone can do it if they remember them. I oftentimes see code with Spanish and French variable names, but they easily use the keywords "if," "for," and "while."
Besides... The languages that are similar to the way that we speak are generally just for small scripting for those who aren't familiar with programming.
Besides... The languages that are similar to the way that we speak are generally just for small scripting for those who aren't familiar with programming.
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Not at all.superdezign wrote:Wasn't? Or isn't?
I don't know. I've never used the language before. Is it similar to Basic?
http://www.adobe.com/products/director/ It used to be apart of Director. I don't know if it still is.
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
I was thinking of making a HyperTalk-style langauge for the web, and using a javascript compiler to compile it to the equivalent.
Would it be sensable to go with a project like this? Would you find it useful?
HyperTalk-styled web language or not, just making an all-purpose, javascript compiled, web langauge.
Would it be sensable to go with a project like this? Would you find it useful?
HyperTalk-styled web language or not, just making an all-purpose, javascript compiled, web langauge.
This would have given at least one parse error.JellyFish wrote:I was thinking of making a HyperTalk-style langauge for the web, and using a javascript compiler to compile it to the equivalent.
Would it be sensable to go with a project like this? Would you find it useful?
HyperTalk-styled web language or not, just making an all-purpose, javascript compiled, web langauge.
What do you mean? What would give...?thiscatis wrote:This would have given at least one parse error.JellyFish wrote:I was thinking of making a HyperTalk-style langauge for the web, and using a javascript compiler to compile it to the equivalent.
Would it be sensable to go with a project like this? Would you find it useful?
HyperTalk-styled web language or not, just making an all-purpose, javascript compiled, web langauge.