Making changes to Cat sources; Unit Tests

3 views
Skip to first unread message

JJ

unread,
Jul 1, 2008, 1:52:19 PM7/1/08
to Cat Language
Hi,
I'm an experienced C# programmer.

With a view to learning newer features of C#, such as lambda
functions, Linq, etc. I want to make changes to Cat source code. But
I'll need to verify that my changes weren't destructive and that the
software is working as designed by its creator. Are there any unit
tests that I can use? If not, if someone more knowledgeable has an
idea of what unit tests should be there, I'd be happy to hear from
them.

Thanks
Jas

Christopher Diggins

unread,
Jul 1, 2008, 2:32:26 PM7/1/08
to catla...@googlegroups.com
Unfortunately there are no unit tests of the Cat interpreter source
code. You can however use the Cat standard library unit tests, as a
form of regression testing. The command is "#test_all", assuming that
the standard library loaded correctly.

I'd be especially interested in seeing the source code simplified and
better organized. The thing kind of grew rather organically over the
last two years.

Good luck!

- Christopher

Reply all
Reply to author
Forward
0 new messages