Douglas Warren
1d83167c01
Fixed some haddock parsing problems in the documentation
2007-11-14 16:26:47 +00:00
Neil Brown
a6cbdfeb94
Changed some functions in the Types module to handle the new List type
2007-10-25 10:11:19 +00:00
Neil Brown
6b95827cab
Added an optional initialiser-expression to Declaration in the AST, and changed the rest of the code accordingly
2007-10-24 23:50:00 +00:00
Neil Brown
31642036b7
Added support for the new AllocMobile item in the Types module
2007-10-24 19:31:07 +00:00
Neil Brown
f68a6cd31d
Added cases for DerefVariable to some functions in Types
2007-10-24 15:57:03 +00:00
Neil Brown
a68ecfb24b
Added a new function (typeOfSpec) to the Types module
2007-10-10 23:10:46 +00:00
Neil Brown
c59c2ed5f6
Removed an unused function (simplifyType) from the Types module
2007-10-02 14:48:09 +00:00
Neil Brown
38c409d378
Added the -fwarn-unused-imports compiler option to warn about unused imports, and then set about pruning and ordering (mostly in my code) the import lists for all the modules
2007-09-27 13:13:46 +00:00
Neil Brown
47052d5f39
Fixed a bug where the default cases were left out for the recent "genericised" functions in the Types module
2007-09-27 10:59:35 +00:00
Neil Brown
c925774280
Changed the types code so that all the tests for the new Time type pass
2007-09-19 11:24:14 +00:00
Neil Brown
629137443f
Scrapped some boilerplate in Types by changing a couple of functions (simplifyType, underlyingType) to use generics
2007-09-18 18:37:53 +00:00
Neil Brown
1baecd7955
Moved findMeta into the Metadata module
2007-09-18 09:50:45 +00:00
Neil Brown
3e342a621c
Added ShowOccam and ShowRain type-classes, and changed existing code to use these new show methods in error messages
...
The function showCode shows code as either occam or Rain depending on the frontend. This is then used by a formatCode function that acts similar to
printf, which makes it easy to format error messages that use showCode.
2007-09-16 17:20:57 +00:00
Neil Brown
a454aa78f8
Rain: implemented the checkExpression function and got it passing the tests so far
2007-09-15 18:57:02 +00:00
Neil Brown
7f9357d658
Rain: changed from using the isSafeConversion function to a more appropriate new function isImplicitConversionRain
2007-09-15 18:54:19 +00:00
Neil Brown
1ea59d40bd
Created an export list for the Types module, and added documentation to all the exported functions
2007-09-15 14:31:33 +00:00
Neil Brown
2ff46a9041
Rearranged the Rain source files, renamed a couple of Rain files, and changed the Makefile accordingly.
2007-09-10 17:28:57 +00:00