Comments just after publication (2010/10/25) < Logs of Viivi < Viivi's Cell < Entrance
Some bugs were found just after publication, as I had worried, especially in the end data implementation. However, I would like to keep Viivi published. It is because the publication was originally in order to find the bugs.
As small bug-fixes seem to become my daily work, please allow me to make minor update (changing the third field "ZZ" in "XX.YY.ZZ" of the version number) without announcement.
When you test Viivi with some Scheme testing suite, you may need a testing procedure, which compares the evaluation result of the target S-expression (given as the first argument) and the expected value (the second argument) and returns OK if they agree or ERROR! otherwise. I have tried to write simple ones:
1> (define-syntax test 2> (syntax-rules () 3> ((_ target result) 4> (if (equal? target result) ; compare with "equal?" 5> 'ok 6> 'ERROR!))))[example]
(test (cons 10 20) '(10 . 20)) ;--> ok
1> (define-syntax num-test 2> (syntax-rules () 3> ((_ target result) 4> (if (= target result) ; compare with "=" 5> 'ok 6> 'ERROR!))))[example]
(num-test (+ 10 20) 30) ;--> ok
Comments just after publication (2010/10/25) < Logs of Viivi < Viivi's Cell < Entrance
Exhibited on 2010/10/25
Updated on 2022/03/02
Copyright(C) 2003-2022 ilma <ilma@viivi.io> All rights reserved.