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 543a7b6872 Add a first shot at a lexer for occam.
The aim is to separate lexing from the existing parser, which should make
indentation processing a good deal less painful.

The lexer is compiled using Alex, which generates Haskell code from the .x
file; it's not particularly elegant but the input syntax is nice and it does
seem to work well.
2007-08-19 20:21:40 +00:00
testcases Protocol test case expanded 2007-07-26 21:17:27 +00:00
AnalyseAsm.hs Add licensing information. 2007-08-18 20:42:11 +00:00
AST.hs Add licensing information. 2007-08-18 20:42:11 +00:00
CompState.hs Add licensing information. 2007-08-18 20:42:11 +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 Add licensing information. 2007-08-18 20:42:11 +00:00
EvalLiterals.hs Add licensing information. 2007-08-18 20:42:11 +00:00
GenerateC.hs Add licensing information. 2007-08-18 20:42:11 +00:00
GenerateCPPCSP.hs Add licensing information. 2007-08-18 20:42:11 +00:00
Indentation.hs Add licensing information. 2007-08-18 20:42:11 +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 Add a first shot at a lexer for occam. 2007-08-19 20:21:40 +00:00
Main.hs Remove readSource in favour of readFile. 2007-08-19 18:21:23 +00:00
Makefile Add a first shot at a lexer for occam. 2007-08-19 20:21:40 +00:00
Metadata.hs Add licensing information. 2007-08-18 20:42:11 +00:00
Parse.hs Remove readSource in favour of readFile. 2007-08-19 18:21:23 +00:00
Pass.hs Add licensing information. 2007-08-18 20:42:11 +00:00
PrettyShow.hs Add licensing information. 2007-08-18 20:42:11 +00:00
RainParse.hs Add licensing information. 2007-08-18 20:42:11 +00:00
RainParseTest.hs Add licensing information. 2007-08-18 20:42:11 +00:00
RainPasses.hs Add licensing information. 2007-08-18 20:42:11 +00:00
RainPassTest.hs Add licensing information. 2007-08-18 20:42:11 +00:00
SimplifyExprs.hs Add licensing information. 2007-08-18 20:42:11 +00:00
SimplifyProcs.hs Add licensing information. 2007-08-18 20:42:11 +00:00
SimplifyTypes.hs Add licensing information. 2007-08-18 20:42:11 +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 Add licensing information. 2007-08-18 20:42:11 +00:00
TestUtil.hs Add licensing information. 2007-08-18 20:42:11 +00:00
TLP.hs Add licensing information. 2007-08-18 20:42:11 +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 Add licensing information. 2007-08-18 20:42:11 +00:00
Types.hs Add licensing information. 2007-08-18 20:42:11 +00:00
Unnest.hs Add licensing information. 2007-08-18 20:42:11 +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 Add licensing information. 2007-08-18 20:42:11 +00:00