tock-mirror/frontends
Neil Brown f755458545 Turned *EXTERNAL pragmas into specifications in the occam parser
There was a bug where things scoped in via pragmas were never scoped out again, which was screwing up the local names stack.  I then realised/decided that pragmas were really specifications, and decided to put them there in the parser.

The rest of this patch is just some rewiring to allow the special name munging involved in pragmas (they have already got a munged version of their name) and to stop the scoped in pragmas appearing in the AST.
2009-04-03 21:06:24 +00:00
..
LexOccam.x Changed names to be uniquified based on their source position, and fixed the source position for things in pragmas 2009-04-02 17:45:31 +00:00
LexRain.x Added support for poison to the lexer and parser (and associated tests) 2008-09-12 14:39:57 +00:00
OccamPasses.hs Made sure that the names printed in TOCKEXTERNAL pragmas are fully munged (and thus equivalent to the exact C function name) 2009-04-03 12:22:19 +00:00
OccamPassesTest.hs 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
OccamTypes.hs Removed various bits of old code relating to the old sizes mechanism 2009-03-31 10:50:04 +00:00
OccamTypesTest.hs Fixed up a lot of the failing tests 2009-04-01 11:49:37 +00:00
ParseOccam.hs Turned *EXTERNAL pragmas into specifications in the occam parser 2009-04-03 21:06:24 +00:00
ParseRain.hs Changed the ChanEnd constructor to only keep information about its shared-ness, not about the whole channel 2009-03-23 18:40:28 +00:00
ParseRainTest.hs A mega-patch that gets tocktest compiling again 2009-03-31 17:56:56 +00:00
ParseUtils.hs Added the -fwarn-unused-imports compiler option to warn about unused imports, and then set about pruning and ordering (mostly in my code) the import lists for all the modules 2007-09-27 13:13:46 +00:00
PreprocessOccam.hs Added some code to Tock to be able to handle unlexable ASM blocks in source files 2009-04-03 17:54:13 +00:00
PreprocessOccamTest.hs Make Token a real data type. 2008-06-05 09:46:52 +00:00
RainPasses.hs Made makeNonce use the munged meta-tag, to stop wrapper PROCs from different files having name clashes at link-time 2009-04-02 20:02:11 +00:00
RainPassesTest.hs Reintroduced the transformRangeRep pass, and fixed the transformEachRange pass (along with fixing the relevant tests) 2009-02-03 12:31:54 +00:00
RainTypes.hs Changed the ChanEnd constructor to only keep information about its shared-ness, not about the whole channel 2009-03-23 18:40:28 +00:00
RainTypesTest.hs Changed tocktest so you can pass it -v options for use with the automatic tests 2009-02-08 16:33:53 +00:00
StructureOccam.hs Make Token a real data type. 2008-06-05 09:46:52 +00:00
StructureOccamTest.hs Fixed some StructureOccam tests that were broken recently by the change in the Token type 2008-06-06 13:14:34 +00:00
TypeUnification.hs Extended the type unification for Rain to support type-checking things that are being poisoned (which could be either end of a channel) 2008-09-12 14:40:04 +00:00
UnifyType.hs Extended the type unification for Rain to support type-checking things that are being poisoned (which could be either end of a channel) 2008-09-12 14:40:04 +00:00