Test output for lexgen [ok]
Testing time: 0s
/home/mario/local/chicken-4.8.0.3/bin/csi -script run.scm < /dev/null -- testing lexgen test ------------------------------------------------------- match [a] on "abc" ................................................... [ PASS] match [b] on "abc" ................................................... lexical error on stream: (() (a b c)) [ PASS] match ab on "abc" .................................................... [ PASS] match a|b on "abc" ................................................... [ PASS] match a|b on "bac" ................................................... [ PASS] match a* on "abc" .................................................... [ PASS] match a* on "aabac" .................................................. [ PASS] match (a*|b) on "aabac" .............................................. [ PASS] match (a|b)* on "abc" ................................................ [ PASS] match (a|b)* on "aabac" .............................................. [ PASS] match ab? on "abc" ................................................... [ PASS] match ab? on "aabac" ................................................. [ PASS] match b?a on "abc" ................................................... [ PASS] match ab?a on "aabac" ................................................ [ PASS] match a*b? on "aabac" ................................................ [ PASS] match literal string "aabac" ......................................... [ PASS] match n4 on "1234" .................................................. [ PASS] 17 tests completed in 0.001 seconds. 17 out of 17 (100%) tests passed. -- done testing lexgen test -------------------------------------------------- ((- 1 2 3 . 4 5 e - 6) #<eoi>) -- testing lexgen numpat test ------------------------------------------------ match numpat on "-123.45e-6" ......................................... [ PASS] match numpat on "hi there" ........................................... lexical error on stream: (() (h i t h e r e)) [ PASS] 2 tests completed in 0.0 seconds. 2 out of 2 (100%) tests passed. -- done testing lexgen numpat test ------------------------------------------- -- testing lexgen num-parser test -------------------------------------------- match num-parser on "-123.45e-6" ..................................... [ PASS] 1 test completed in 0.0 seconds. 1 out of 1 (100%) test passed. -- done testing lexgen num-parser test --------------------------------------- -- testing lexgen pos-num-parser test ---------------------------------------- match pos-num-parser on "-123.45e-6" ................................. [ PASS] 1 test completed in 0.0 seconds. 1 out of 1 (100%) test passed. -- done testing lexgen pos-num-parser test -----------------------------------