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.
![]() This patch is actually an amalgam of multiple (already large) patches. Those patches conflicted (parameterised Structured vs. changes to usage checking and FlowGraph) and encountered a nasty bug in darcs 1 involving exponential time (see http://wiki.darcs.net/DarcsWiki/ConflictsFAQ for more details). Reasoning that half an hour (of 100% CPU use) was too long to apply patches, I opted to re-record the parameterised Structured changes as this new large patch. Here are the commit messages originally used for the patches (which, as mentioned, were already large patches): A gigantic patch switching all the non-test modules over to using parameterised A.Structured Changed the FlowGraph module again to handle any sort of Structured you want to pass to it (mainly for testing) A further gigantic patch changing all the tests to work with the new parameterised Structured Fixed a nasty bug involving functions being named incorrectly inside transformInputCase Added a hand-written instance of Data for Structured that allows us to use ext1M properly Fixed a few warnings in the code |
||
---|---|---|
backends | ||
checks | ||
common | ||
docextra | ||
frontends | ||
testcases | ||
transformations | ||
AUTHORS | ||
ChangeLog | ||
compile-cgtests | ||
configure.ac | ||
COPYING | ||
COPYING.LIB | ||
GenOrdAST.hs | ||
GenTagAST.hs | ||
LANGUAGE | ||
Main.hs | ||
Makefile.am | ||
NEWS | ||
README | ||
SYNTAX | ||
TestMain.hs | ||
tock_support_cppcsp.h | ||
tock_support.h | ||
TODO |