#177300 - 2007-06-27 06:08 PM
New scripting language
|
Wessel87
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
|
|
|
|
#177303 - 2007-06-27 06:36 PM
Re: New scripting language
[Re: Shawn]
|
Wessel87
Fresh Scripter
Registered: 2007-06-27
Posts: 11
Loc: Netherlands
|
Thanks for your reply
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
|
|
|
|
#177318 - 2007-06-27 09:54 PM
Re: New scripting language
[Re: Shawn]
|
Wessel87
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
|
|
|
|
#177320 - 2007-06-27 10:02 PM
Re: New scripting language
[Re: NTDOC]
|
Wessel87
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
|
|
|
|
#177416 - 2007-06-30 06:31 PM
Re: New scripting language
[Re: Witto]
|
Wessel87
Fresh Scripter
Registered: 2007-06-27
Posts: 11
Loc: Netherlands
|
Added some more stuff like xml integration and GUI objects..
|
|
Top
|
|
|
|
#177563 - 2007-07-04 02:31 PM
Re: New scripting language
[Re: Björn]
|
Wessel87
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
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
1 registered
(Allen)
and 1198 anonymous users online.
|
|
|