Mirror of http://offog.org/git/tock.git . Tock (translator from occam to C from Kent) is a Haskell-based compiler for occam and related languages.
Go to file
Neil Brown ba66cce89f Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly
All the passes now have their information (name, pre-requisites and post- properties) stored at the point where the pass is declared, which means the pass lists are just a simple list of pass functions.

The main consequence of this change was that the tests had to be changed.  Now, instead of taking a "pass applied to data" item (type: PassM b), they take both the pass (type: Pass) and source data (type: b), and apply them later.  This was the decision that involved the simplest changes to the existing tests (simply unbracketing the application of the pass to the source).  I also had to include a few old-style versions though (testPass', testPassShouldFail') for where the functions were being used to test things that weren't actually passes (mainly StructureOccam).

Fixes #48
2008-06-02 14:31:19 +00:00
backends Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
checks Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
common Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
config Do away with the pkgconfig file in favour of another generated module. 2008-05-07 13:06:27 +00:00
data Get rid of the nasty ghost names hack. 2008-06-02 10:58:26 +00:00
docextra Fix the page size in the Tock logo. 2008-05-14 23:22:50 +00:00
flow Labelled some of the data type parameters better in the FlowUtils module 2008-06-01 17:58:01 +00:00
frontends Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
pass Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
pregen Make GenNavAST generate instances of a "Polyplate" class. 2008-05-10 16:27:46 +00:00
support Fixed implicit mobility to work in the (C++, at least) backend 2008-06-01 19:46:32 +00:00
testcases Annotated the move Rain testcase with the expected results 2008-05-30 18:28:19 +00:00
transformations Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
AUTHORS Changed tock to use autoconf/automake for its build process 2007-10-08 17:02:03 +00:00
cgtests.mk Add a "run" target to build and run the cgtests. 2008-04-08 15:17:40 +00:00
ChangeLog Changed tock to use autoconf/automake for its build process 2007-10-08 17:02:03 +00:00
compile-cgtests Added rules for getting and making the cgtests to the new Automake make system 2007-10-09 00:44:41 +00:00
configure.ac Fixed a conflict in configure.ac, adding the GLIB_ flags to the C flags 2008-05-18 11:39:51 +00:00
COPYING Add licensing information. 2007-08-18 20:42:11 +00:00
COPYING.LIB Add licensing information. 2007-08-18 20:42:11 +00:00
LANGUAGE Implement short-form PLACE, and fix PLACE IN WORKSPACE/VECSPACE. 2008-03-17 18:47:54 +00:00
Main.hs Added support for recording terminator nodes (as well as root nodes) while building the flow graph 2008-05-30 17:15:52 +00:00
Makefile.am Added the beginnings of support for implicit mobility for Rain (just printing out the decisions for now) 2008-05-30 17:16:10 +00:00
NEWS Changed tock to use autoconf/automake for its build process 2007-10-08 17:02:03 +00:00
README Changed tock to use autoconf/automake for its build process 2007-10-08 17:02:03 +00:00
SYNTAX Give tock its own repo -- i.e. remove everything else and move tock up 2007-07-16 21:48:55 +00:00
TestMain.hs Added a Rain test file for the type checker 2008-05-17 13:17:12 +00:00
TODO Give tock its own repo -- i.e. remove everything else and move tock up 2007-07-16 21:48:55 +00:00