Page 1 of 2 12>
Topic Options
#177300 - 2007-06-27 06:08 PM New scripting language
Wessel87 Offline
Fresh Scripter

Registered: 2007-06-27
Posts: 11
Loc: Netherlands
Hopefully this post is appreciated..I do not mean to promote a "competitive" product. I am creating a new (freeware) scripting language and I would like to get some feedback on what features are wanted by scripting communities. I'm trying to combine nice features from various languages and incorporate them in my own. It's called SteelScript, I have some code examples here so you can get a better idea of it's current features: http://steelsoft.net/steelscript.txt.

Here's a current list:
- C based syntax
- Functions can be used as objects
- Embedded functions
- COM automation
- Associative arrays
- Callbacks

I would like to know the stuff you think is a good idea to be integrated into SteelScript. Currently I'm struggling a bit with how to handle errors, should it be a try/catch construct or more like vb6 where you jump to a label. If you have any other suggestions, please let me know.

Top
#177301 - 2007-06-27 06:11 PM Re: New scripting language [Re: Wessel87]
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Your COM support looks quite impressive.

Observation: If your using C-based syntax how come your using "REM" instead of "//" and "/* */" style syntax. Is it because (like you say) your incorporating the "best" features of other languages ?



Top
#177303 - 2007-06-27 06:36 PM Re: New scripting language [Re: Shawn]
Wessel87 Offline
Fresh Scripter

Registered: 2007-06-27
Posts: 11
Loc: Netherlands

Thanks for your reply

 Originally Posted By: Shawn


Observation: If your using C-based syntax how come your using "REM" instead of "//" and "/* */" style syntax. Is it because (like you say) your incorporating the "best" features of other languages ?


Is this sarcasm? =). Actually the "REM" statement was the easiest to implement at this point, // and /* */ will be available later.


Edited by Wessel87 (2007-06-27 06:36 PM)

Top
#177304 - 2007-06-27 06:45 PM Re: New scripting language [Re: Wessel87]
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Nope. No sarcasm - I like the REM statement - it "reads" better.
Top
#177315 - 2007-06-27 08:33 PM Re: New scripting language [Re: Shawn]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
looks nice.
_________________________
!

download KiXnet

Top
#177316 - 2007-06-27 09:13 PM Re: New scripting language [Re: Lonkero]
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
How about functions ... will they have to be declared ahead of using them - or can they be defined anywhere in the script. This is one of the "mature" features of Kixtart I enjoy. I know your just starting-out with SteelScript but this is important feature to add to the list if not already there imho.

Top
#177318 - 2007-06-27 09:54 PM Re: New scripting language [Re: Shawn]
Wessel87 Offline
Fresh Scripter

Registered: 2007-06-27
Posts: 11
Loc: Netherlands
They can be defined and used from anywhere, and I agree with you that this is an important feature...saves some headaches =)

One thing though: You cannot use embedded functions unless you have an instance to the parent function. For example:

function Customer(name)
{
function getName()
{
return name;
}
}

I cannot call Customer.getName(), SteelScript does not support static methods. This is valid, though: new Customer("Blah").getName();


Edited by Wessel87 (2007-06-27 09:56 PM)

Top
#177319 - 2007-06-27 09:55 PM Re: New scripting language [Re: Wessel87]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
I'm not sure how long you've had the name but "SteelScript" when sounded out here in English is the same as STEAL which has a negative connotation

I'm sure that is not your intent or meaning, but trying to bring in a product into a production environment and you tell the Director the name is SteelScript I'm sure you'll get negative feedback from the Director even though the name is STEEL as in metal / hard / etc..

Just my $0.02 cents

Top
#177320 - 2007-06-27 10:02 PM Re: New scripting language [Re: NTDOC]
Wessel87 Offline
Fresh Scripter

Registered: 2007-06-27
Posts: 11
Loc: Netherlands
Thanks for the cents ntdoc, I will think about it, but I like the name. It's probably never going to end up in some production environment anyway =)
Top
#177322 - 2007-06-28 02:34 AM Re: New scripting language [Re: Wessel87]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
doc is absolutely right.
that was the first thought on my mind too.

and I read the word \:\)


Edited by Jooel (2007-06-28 02:35 AM)
_________________________
!

download KiXnet

Top
#177326 - 2007-06-28 10:04 AM Re: New scripting language [Re: Lonkero]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
I was thinking about "robust", "solid" script, script that will (almost) not error out.
It is not called "thiefscript", is it?

Top
#177416 - 2007-06-30 06:31 PM Re: New scripting language [Re: Witto]
Wessel87 Offline
Fresh Scripter

Registered: 2007-06-27
Posts: 11
Loc: Netherlands
Added some more stuff like xml integration and GUI objects..
Top
#177417 - 2007-06-30 08:16 PM Re: New scripting language [Re: Wessel87]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, solidScript sounds a bit better ;\)
_________________________
!

download KiXnet

Top
#177418 - 2007-06-30 11:13 PM Re: New scripting language [Re: Lonkero]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Maybe the OP is a Steel-Belted Radius fan.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#177463 - 2007-07-03 02:28 AM Re: New scripting language [Re: Les]
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
So when can we play with a beta version (or alpha version) ?
Top
#177467 - 2007-07-03 09:28 AM Re: New scripting language [Re: Shawn]
Arend_ Moderator Offline
MM club member
*****

Registered: 2005-01-17
Posts: 1896
Loc: Hilversum, The Netherlands
Looks a lil bit like PowerShell
Top
#177476 - 2007-07-03 10:05 AM Re: New scripting language [Re: Arend_]
Björn Offline
Korg Regular
*****

Registered: 2005-12-07
Posts: 953
Loc: Stockholm, Sweden.
looks like it can turn out to be nice, go for it \:\)
_________________________
as long as it works - why fix it?
If it doesn't work - kix-it!

Top
#177563 - 2007-07-04 02:31 PM Re: New scripting language [Re: Björn]
Wessel87 Offline
Fresh Scripter

Registered: 2007-06-27
Posts: 11
Loc: Netherlands
I will be releasing a test version soon, I'm currently working on improving the debugging support. You can find some more examples/info in www.staalsoft.net/steelscript.

Edited by Wessel87 (2007-07-04 02:31 PM)

Top
#177564 - 2007-07-04 02:33 PM Re: New scripting language [Re: Wessel87]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Uhmmm, you need to remove the . at the back of the URL. Page not found is what you get right now

[edit]
Allrightie then. I guess you edited the post when I was creating this one.
[/edit]


Edited by Mart (2007-07-04 02:35 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#177566 - 2007-07-04 02:44 PM Re: New scripting language [Re: Arend_]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
guess it looks like powershell as powershell afaik was ment to look a bit like unix-shell's.
_________________________
!

download KiXnet

Top
Page 1 of 2 12>


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 1198 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.078 seconds in which 0.028 seconds were spent on a total of 14 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org