Adam Sampson
d9856814aa
Remove support for GHC versions < 6.12.
...
Debian stable ships 6.12 now, and this simplifies supporting GHC 7.
2011-08-10 11:52:03 +00:00
Adam Sampson
2c4ccfbf39
Update all the copyright notices.
...
I've checked these all against the Darcs history using a script
(check-copyright, in my misccode collection). Anything Neil or I did as
part of our PhDs is copyright University of Kent; more recent work
belongs to us, as appropriate.
2011-07-21 11:38:13 +00:00
Neil Brown
853a52cc00
Finished the name change from Polyplate to Alloy
...
Most of this was a find-and-replace, PolyplateM -> AlloyA. But I also fixed some of the opsets and removed types that were no longer needed, and so on.
2009-05-11 15:22:58 +00:00
Neil Brown
bc917e1442
Added an Applicative-based function to PolyplateM and PolyplateMRoute, which seems to work
2009-05-06 13:02:51 +00:00
Neil Brown
ff9cabd80b
Changed csParProcs to be a map that indicates whether the process is a wrapper for FORK or PAR
2009-04-16 10:25:02 +00:00
Neil Brown
f2c4ada01b
Removed PolyplateSpine in favour of using PolyplateM (and the State monad) everywhere
2009-04-13 20:37:14 +00:00
Neil Brown
e61a23855a
Fixed all the conflicts while merging into the Polyplate branch
2009-04-09 11:01:39 +00:00
Neil Brown
a72b01ff02
Merged the latest changes from my usage checking into the polyplate branch
2009-02-10 17:11:24 +00:00
Neil Brown
83eed621dc
Added more documentation to Polyplate and made sure to trim the trees for PolyplateSpine
2009-01-13 15:37:35 +00:00
Neil Brown
8ea930541f
Added routes to Polyplate, making the main class PolyplateMRoute and thus PolyplateM is a derivative of this with the old functionality
...
Also changed the generation of the instances to generate PolyplateMRoute instances instead of PolyplateM
2008-12-14 22:47:24 +00:00
Neil Brown
263dfd6fd3
Allowed the different instances for the Polyplate classes to be written out to separate files (to help GHC's memory usage down a bit)
2008-12-14 15:37:05 +00:00
Neil Brown
24a7b7aba8
Changed GenNavAST to also generate instances for CompState
2008-12-03 17:37:29 +00:00
Neil Brown
4fa324cbfe
Changed polyplate so that users should always supply their own headers (since it must have any appropriate imports)
2008-12-02 16:04:04 +00:00
Neil Brown
c9100fb467
Added the first version of GenInstances (taken from my latest improvements) and switched GenNavAST to use it, but it needs tidying up and to take account of the options it is given
2008-12-02 15:16:22 +00:00
Neil Brown
6814ac2679
Added a joinWith helper (short for concat . intersperse) and changed most of the uses in the code to use the helper function
2009-04-08 16:28:23 +00:00
Adam Sampson
7a7e3e2b24
Make GenNavAST generate instances of a "Polyplate" class.
...
This provides transformM, which we can build applyX (etc.) on top of:
it takes a set of functions, and applies them wherever they could
match in a data structure, without automatically recursing. This is
done using a four(!)-argument typeclass, drawing inspiration from
Biplate.
The resulting 25,000-line set of instances takes a little while to
compile...
2008-05-10 16:27:46 +00:00
Adam Sampson
058a3488d9
Generate instances of a Navigable class.
...
This isn't immediately useful, but I plan to build on it.
2008-05-09 15:46:18 +00:00