Page 2 of 2 <12
Topic Options
#196300 - 2009-10-08 11:41 AM Re: SteelKix 0.22 [Re: BoForce]
WvS Offline
Fresh Scripter
*****

Registered: 2009-05-30
Posts: 42
Loc: Netherlands
A 'default catcher' does have some problems. For example, I cannot set @error with meaningful error codes, since .NET exceptions do not use any error codes. GetLastError is useless in .NET. Furthermore, I do not want it to handle exceptions like StackOverflowException and OutOfMemoryException. So it would be semi-catch all.
Top
#196302 - 2009-10-08 01:43 PM Re: SteelKix 0.22 [Re: WvS]
It_took_my_meds Offline
Hey THIS is FUN
*****

Registered: 2003-05-07
Posts: 273
Loc: Sydney, Australia
I think an effort to keep a standard library of inbuilt functions and macros that mirror as identically as possible those found in KiXtart should continue. That must include proper numerical error codes. If that means catching exception types and exiting such functions with correct error numbers, then that is what we should do. Been able to turn it on an off (like case sensitivity) would be great - with the default being to automatically catch.

I would love to see more KiXtart community members upload functions and macros. Even just one (for kix) to both give it a go as well as contribute to SteelKiX language becoming a full superset of KiXtart. It is a tall order order however, but if we make it, then maybe someone like iTripoli may feel like upgrading ASE to support SteelKiX with intellisense, and then I believe and hope this thing will REALLY take off!

I lament that my time is pretty limited at the moment and I have an ongoing issue with RSI, but I would like to contribute more to this as I can. I hope others do to.

Lastly, I don't see SteelKiX as diminishing KiXtart in anyway. Rather it is a tribute and adduct to KiXtart, this forum, and of course Ruud - to whom we all owe a debt of gratitude.

Top
#196306 - 2009-10-08 07:58 PM Re: SteelKix 0.22 [Re: BoForce]
WvS Offline
Fresh Scripter
*****

Registered: 2009-05-30
Posts: 42
Loc: Netherlands
Here we go, 0.2.2.1:
http://steelkix.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=34154

And I really agree with it_took_my_meds, I need more help with this project. Please consider helping me out with building a library for SteelKix that provides functions currently present in kix. Codeplex provides a way to upload patches, it would be really nice if people would write some code in order to help SteelKix forward.

Top
#196315 - 2009-10-09 09:58 AM Re: SteelKix 0.22 [Re: WvS]
BoForce Offline
Fresh Scripter
**

Registered: 2005-10-22
Posts: 36
Loc: Leeuwarden, The Netherlands
Thanks for the new release.
Macro's work again.

No problem if you want more help, but I think you need to set up guidelines on how to assist you in a structured way.

Something like:
- Who is building what
- Function requirements
- Macro requirements
- etc.

Top
#196316 - 2009-10-09 10:26 AM Re: SteelKix 0.22 [Re: BoForce]
WvS Offline
Fresh Scripter
*****

Registered: 2009-05-30
Posts: 42
Loc: Netherlands
Yes I agree, but first I need to know who/how many are willing to help, so I won't set those things up for nothing.
Top
#196318 - 2009-10-10 11:06 PM Re: SteelKix 0.22 [Re: WvS]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
nobody, none and no one, you can count in for sure.
then maybe someone or somebody will join too.

can't think of anyone else, as he is busy doing something else.
something else is quite tired about that, so he might stop soon and start doing it...
_________________________
!

download KiXnet

Top
#196319 - 2009-10-11 10:49 AM Re: SteelKix 0.22 [Re: Lonkero]
WvS Offline
Fresh Scripter
*****

Registered: 2009-05-30
Posts: 42
Loc: Netherlands
Nice! You have talent, any C# experience as well?
Top
#196320 - 2009-10-11 12:45 PM Re: SteelKix 0.22 [Re: WvS]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
C# experience is not that huge.
mostly code in vb.net

if you asked from me, that is...
_________________________
!

download KiXnet

Top
#196321 - 2009-10-11 06:07 PM Re: SteelKix 0.22 [Re: Lonkero]
WvS Offline
Fresh Scripter
*****

Registered: 2009-05-30
Posts: 42
Loc: Netherlands
The more I am thinking about a new exception/error model being proposed for SteelKix, the more I oppose to it. At this point, it is possible for builtin SteelKix functions to swallow .NET exceptions and use the plain old kix error code model. At runtime, the SteelKix runtime swallows COM exceptions and sets the proper error codes. With these two points in mind, the whole vanilla kix error code model can be implemented for the current kix functionality without having to cripple the new functionality of steelkix that involves the use of .NET (libraries).

There are a lot of new things in SteelKix, but most of those things are in place to make interop with .NET a lot easier, including exception handling. The whole point of SteelKix is the use of .NET libraries while keeping most of the simplicity of kix in place. Most of the features are actually additions to kix, not substitutions. The only problem now is that the exception models are not compatible, so the initial choice was a more or less 'hybrid' model, where all of the vanilla kix functionality operates in the 'error code' model and the new .NET features operate in the exception model.

Top
#196322 - 2009-10-12 12:15 AM Re: SteelKix 0.22 [Re: WvS]
It_took_my_meds Offline
Hey THIS is FUN
*****

Registered: 2003-05-07
Posts: 273
Loc: Sydney, Australia
Sounds good to me
Top
#196323 - 2009-10-12 08:27 AM Re: SteelKix 0.22 [Re: It_took_my_meds]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm...
it does have a point.
but a setoption for default error handling might be needed.
or once steelkix is mature enough, run all .kix in strict kix-compliant way...
_________________________
!

download KiXnet

Top
#196325 - 2009-10-12 08:40 AM Re: SteelKix 0.22 [Re: Lonkero]
WvS Offline
Fresh Scripter
*****

Registered: 2009-05-30
Posts: 42
Loc: Netherlands
I'm no robot, please don't call me 'it' :-). Could you explain why default error handling is necessary? Like I said before, the .NET exception model and the kix error model are not compatible. Also, according to various posts on this board, people are actually asking for a new way of handling errors, see for example http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Board=UBB4&Number=111799. Try/catch is not something I made up, it is used in many languages already, dynamic and static.
Top
#196326 - 2009-10-12 10:06 AM Re: SteelKix 0.22 [Re: WvS]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
sure.
again, what I am after is kix-compliant language.

hmm...
if all internal functions and macros and commands are handled the same way as kixtart does nowadays, then it's fine to have .net differ.
_________________________
!

download KiXnet

Top
Page 2 of 2 <12


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

Who's Online
1 registered (Allen) and 466 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.073 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