Commit Graph

13 Commits

Author SHA1 Message Date
Neil Brown
bc24ba16b1 Rain: added a skeleton pass for recording type names in CompState, and wrote a test for it 2007-08-18 16:56:25 +00:00
Neil Brown
d7dc28ce47 Rain: generalised part of the test framework and added a new helper function for testing passes 2007-08-18 16:55:20 +00:00
Neil Brown
dcfd23db4f Rain: expanding the unique-name pass to also resolve inner variables, and changed the tests accordingly 2007-08-18 16:03:19 +00:00
Neil Brown
9d9b6dd73f Rain: added a skeleton pass for giving variables unique names, and wrote tests for it 2007-08-18 15:39:39 +00:00
Neil Brown
f732996c13 Rain: added various helper functions to RainPassTest 2007-08-18 15:38:43 +00:00
Neil Brown
7b81208794 Rain: refactored the pass tests to remove duplicate code 2007-08-18 10:59:00 +00:00
Neil Brown
3cb1a942f4 Rain: tidied up the types of the each tests slightly 2007-08-18 10:36:04 +00:00
Neil Brown
18fa9cdb65 Rain: added another test for the transformEach pass 2007-08-18 10:21:44 +00:00
Neil Brown
a49c462ca1 Corrected the test of the rain foreach-pass -- the test now passes 2007-08-16 14:17:44 +00:00
Neil Brown
b9a78e99e4 Added to RainPassTest some code for setting up the defined names 2007-08-16 13:51:17 +00:00
Neil Brown
8a9ce4e205 Changed the rain for-each pass to extract the inner result type to check against, not the IO monad (oops) 2007-08-16 13:35:23 +00:00
Neil Brown
3d1d5e35ef Changed the rain foreach-pass test to actually run the transformEach pass it was meant to be testing, and also got the transformEach test to compile 2007-08-16 13:16:04 +00:00
Neil Brown
2d7349eb5d Added a new file for Rain passes, and a file for testing them, and altered the main test rig accordingly 2007-08-16 12:19:30 +00:00