Francois Schoubben wrote:
I would be interested in helping too, but leaving for a week just this starurday. When i'll come back, and if it's still usefull, i'll be able to write test, especially for
- for loops
- array indexing
- strings maybe ?
Yes, also strings (as a special casee of arrays, but one that should be checked separately). And at least all the cases I mentioned in my mail of 2002-12-14 (plus any others you may think of). I'd expect some 30-40 tests (each of which would be rather short), testing for positive and negative cases, command-line switches and compiler directives.
And in my dream, i'd like to help coding this, but i'd need time to understand the gpc internals (i know it's gcc front-end and already printed "Writing a compiler Front End", but i had no time until now... ).
I'd appreciate any such help (and if you won't make it for range checking, there are always enough issues to work on, that's not the problem ;-).
What is the time frame ? Do you need the tests before, during or after implementing range checking in the compiler ?
Interested too in these informations :-)
I'd like to have the tests before I start implementing it, (a) because I can then test my achievements anytime and (b) tests tend to be more objective when written in advance. (This doesn't mean that I won't write more tests while I implement it to cover special cases I might discover, but that should be the exception.)
Frank