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
Adam Sampson 82df59dcfb Fix makeLiteral for arrays inside records.
This was an "obvious" bug (a missing pattern) being masked by me doing a
pattern match inside an array constructor -- if the pattern doesn't match then
it'll skip that value, rather than causing an error like it does in a case.
2007-08-23 22:07:01 +00:00
testcases Fix makeLiteral for arrays inside records. 2007-08-23 22:07:01 +00:00
AnalyseAsm.hs Refactor AnalyseAsm to use a state monad. 2007-08-22 00:11:20 +00:00
AST.hs Rework the mechanism that GenerateC uses to get externs from AnalyseAsm. 2007-08-22 22:26:26 +00:00
CompState.hs Add Set rules to PrettyShow. 2007-08-22 23:06:50 +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
Errors.hs Add licensing information. 2007-08-18 20:42:11 +00:00
EvalConstants.hs Make underlyingType merge array dimensions. 2007-08-22 15:00:54 +00:00
EvalLiterals.hs Added a signed 8-bit type and unsigned 16-,32- and 64-bit types to the AST, adjusting all other code accordingly 2007-08-21 12:43:00 +00:00
GenerateC.hs Changed tlpInterface to also return the direction of each channel, so that the (C++CSP) backend knows whether to pass it a whole channel, or just an end 2007-08-22 22:07:42 +00:00
GenerateCPPCSP.hs Added channel-end support to the C++CSP backend 2007-08-22 22:27:04 +00:00
Intrinsics.hs Add licensing information. 2007-08-18 20:42:11 +00:00
kroc-wrapper-c.c Add licensing information. 2007-08-18 20:42:11 +00:00
kroc-wrapper.occ Add licensing information. 2007-08-18 20:42:11 +00:00
LANGUAGE Give tock its own repo -- i.e. remove everything else and move tock up 2007-07-16 21:48:55 +00:00
LexOccam.x Make the lexer only recognise known preprocessor directives. 2007-08-21 21:12:44 +00:00
LexRain.x Rain: added support for parsing process calls (but need a pass to sort out parameter types) 2007-08-23 21:21:20 +00:00
Main.hs Rework the mechanism that GenerateC uses to get externs from AnalyseAsm. 2007-08-22 22:26:26 +00:00
Makefile Added LexRain, based heavily on (a slightly older version of) LexOccam 2007-08-22 09:37:27 +00:00
Metadata.hs Add licensing information. 2007-08-18 20:42:11 +00:00
ParseOccam.hs Fix makeLiteral for arrays inside records. 2007-08-23 22:07:01 +00:00
Pass.hs Add Set rules to PrettyShow. 2007-08-22 23:06:50 +00:00
PassTest.hs Added a signed 8-bit type and unsigned 16-,32- and 64-bit types to the AST, adjusting all other code accordingly 2007-08-21 12:43:00 +00:00
Pattern.hs Added better Eq implementation for Pattern, taking account of the poor Eq implementation of Constr 2007-08-21 18:31:39 +00:00
PreprocessOccam.hs Rework the parser to use the new lexer. 2007-08-21 20:44:15 +00:00
PrettyShow.hs Add Set rules to PrettyShow. 2007-08-22 23:06:50 +00:00
RainParse.hs Rain: added support for parsing process calls (but need a pass to sort out parameter types) 2007-08-23 21:21:20 +00:00
RainParseTest.hs Rain: added tests for parsing process calls 2007-08-23 21:20:55 +00:00
RainPasses.hs Fixed the findMain pass to use a proper nonce 2007-08-23 10:17:30 +00:00
RainPassTest.hs Adjusted the tests for findMain to allow a nonce to be using during name mangling 2007-08-23 10:05:54 +00:00
SimplifyExprs.hs Added a PassTest file intended for tests of the occam passes, and put in it a test for the functions-to-procs pass 2007-08-20 17:23:20 +00:00
SimplifyProcs.hs Move assignment simplification into a pass. 2007-08-22 19:55:52 +00:00
SimplifyTypes.hs Add licensing information. 2007-08-18 20:42:11 +00:00
StructureOccam.hs Lex multiline strings as multiple tokens. 2007-08-21 20:01:46 +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 PassTest file intended for tests of the occam passes, and put in it a test for the functions-to-procs pass 2007-08-20 17:23:20 +00:00
TestUtil.hs Rain: added tests for parsing process calls 2007-08-23 21:20:55 +00:00
TLP.hs Changed tlpInterface to also return the direction of each channel, so that the (C++CSP) backend knows whether to pass it a whole channel, or just an end 2007-08-22 22:07:42 +00:00
tock_support_cppcsp.h Add licensing information. 2007-08-18 20:42:11 +00:00
tock_support.h Add licensing information. 2007-08-18 20:42:11 +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
TreeUtil.hs Added a useful function to TreeUtil that allows you to replace a given sub-pattern of a Pattern with the DontCare value 2007-08-21 18:32:25 +00:00
Types.hs Make underlyingType merge array dimensions. 2007-08-22 15:00:54 +00:00
Unnest.hs Where head is used (in this case on csMainLocals), protected it with a condition so that it gives a more useful error message than simply head: empty list 2007-08-22 11:07:56 +00:00
UsageCheck.hs Add licensing information. 2007-08-18 20:42:11 +00:00
UsageCheckTest.hs Add licensing information. 2007-08-18 20:42:11 +00:00
Utils.hs Rework the parser to use the new lexer. 2007-08-21 20:44:15 +00:00