FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Scripts extension

 
Post new topic   Reply to topic     Forum Index -> Walnut
View previous topic :: View next topic  
Author Message
Carlos



Joined: 19 Mar 2004
Posts: 396
Location: Canyon, TX

PostPosted: Fri Feb 18, 2005 11:23 am    Post subject: Scripts extension Reply with quote

As you can see in the SVN trunk, the samples have extension "ds", because that was the extension DMDScript used. However, I think Walnut needs another extension.
I think "ws" (Walnut script, but I don't know if that's taken), or "nut", or even "walnut".
Suggestions, anyone?
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
JJR



Joined: 22 Feb 2004
Posts: 1104

PostPosted: Fri Feb 18, 2005 1:05 pm    Post subject: Reply with quote

"ws" is good because it can also mean "walnut shell" where "shell" represents the container holding the walnut script (in this case a file). Smile

Seems fairly appropriate to me!

- John R.
Back to top
View user's profile Send private message
kris



Joined: 27 Mar 2004
Posts: 1494
Location: South Pacific

PostPosted: Fri Feb 18, 2005 2:25 pm    Post subject: Reply with quote

There again, this is ECMAScript we're talking about ... isn't there some commonly accepted extension for such things? Such as "js"?

Certainly, the libraries are different, but the language remains the same. If there is indeed a common language file-extension, we might perhaps consider using it.
Back to top
View user's profile Send private message
Carlos



Joined: 19 Mar 2004
Posts: 396
Location: Canyon, TX

PostPosted: Fri Feb 18, 2005 9:23 pm    Post subject: Reply with quote

kris wrote:
There again, this is ECMAScript we're talking about ... isn't there some commonly accepted extension for such things? Such as "js"?

Certainly, the libraries are different, but the language remains the same. If there is indeed a common language file-extension, we might perhaps consider using it.


You're right, but I have one point to make: your typical "js" files won't run on Walnut. They contain "document", "alert", "submit", etc. Yes, it's a library thing, but I think it could confuse users.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
kris



Joined: 27 Mar 2004
Posts: 1494
Location: South Pacific

PostPosted: Fri Feb 18, 2005 9:44 pm    Post subject: Reply with quote

Aye ~ 'tis true
Back to top
View user's profile Send private message
dan.lewis



Joined: 21 Feb 2007
Posts: 69
Location: Canada

PostPosted: Tue Mar 13, 2007 3:42 pm    Post subject: Reply with quote

Hmm... Idea

well, I've got it set to *.js right now I think. I'm wondering if it shouldn't be *.nut. Question

It just has a certain ring to it.

"The man's got nuts!"
"Your nuts!"
"Oh nuts"
"csharp.nut"
"left.nut"
"ajax.nut" "web.nut"... yep. Rolling Eyes

It's catchy. It lets us use file associations. I hereby declare that from now on, unless someone can give me reason otherwise, Walnut will use the *.nut file extension.

Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Walnut All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group