Neil Brown
d90f0aa680
Rain: corrected the transformation of foreach loops to use ValAbbrev when looping over an expression
2007-08-22 17:03:47 +00:00
Neil Brown
d065338efe
Rain: Added to the resolving pass to make it pass all the tests
2007-08-22 15:54:34 +00:00
Neil Brown
a897712033
Rain: added a pass for finding and tagging the main function
2007-08-22 13:07:59 +00:00
Neil Brown
29f1aa0f2f
Rain: extended the resolving pass to include process declarations
2007-08-22 12:40:20 +00:00
Neil Brown
96145add21
Rain: combined two passes into one to allow them to work properly in future, and changed the tests accordingly
2007-08-22 12:24:12 +00:00
Neil Brown
d681cd5d95
Rain: corrected the pass transforming the each loops so that it records the nonce names properly in the state
2007-08-22 11:12:57 +00:00
Neil Brown
1890b281fe
Rain: moved the resolution of int (to a 64-bit signed integer) out to a pass
2007-08-21 11:00:41 +00:00
Neil Brown
810dcbfbd9
Added Rain as a possible frontend for Tock, by adding a new command-line option.
2007-08-20 17:39:33 +00:00
Adam Sampson
c8d5a4ff40
Add licensing information.
...
The compiler itself is under the GPLv2+; the support code that gets built into
user programs is under the LGPLv2+. This matches the existing practice for the
KRoC project.
(As with Occade, I've used the new GPLv3-style license header in the source
files, though, since that avoids having to update the FSF's postal address.)
2007-08-18 20:42:11 +00:00
Neil Brown
f9a811e775
Rain: implemented the pass for recording inferred types, and added one more test for it
2007-08-18 18:10:51 +00:00
Neil Brown
3f84532695
Renamed the old pass that recorded declared types, added a new skeleton pass for recording inferred types, and wrote some tests for this new pass
2007-08-18 17:33:40 +00:00
Neil Brown
88380cdc6f
Rain: implemented the pass to record the type of names in CompState
2007-08-18 17:05:08 +00:00
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
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
34eac44d45
Rain: implemented the pass to give declarations unique names
2007-08-18 15:48:22 +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
66fc1d706e
Rain: tidied up the transformEach pass
2007-08-18 10:28:22 +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