Commit Graph

31 Commits

Author SHA1 Message Date
Adam Sampson
a8f0fc2caa Implement record literals 2007-05-05 00:26:26 +00:00
Adam Sampson
a90fefefb2 Use Maps for things that should be maps 2007-05-02 20:14:44 +00:00
Adam Sampson
5ffe4de9ad Support (but ignore in the code generator for now) PLACE AT/IN 2007-04-30 23:24:37 +00:00
Adam Sampson
618ad6d55f Implement INLINE PROC and INLINE FUNCTION 2007-04-30 23:08:32 +00:00
Adam Sampson
4767dfd2c8 Pull up to both Processes and Structureds, and clean up ParseState.hs 2007-04-27 22:27:48 +00:00
Adam Sampson
2bcdd7cd66 Big AST rework: all spec/rep stuff is now done with Structured 2007-04-27 21:49:34 +00:00
Adam Sampson
4d45002a30 Add support for compiler warnings 2007-04-26 21:41:04 +00:00
Adam Sampson
939205670b Rework how constant evaluation is done 2007-04-26 16:05:04 +00:00
Adam Sampson
5e7c9403cc Rewrite Indentation in a monadic (and somewhat less cryptic) way 2007-04-26 01:56:23 +00:00
Adam Sampson
dd991a5587 Nicer option parsing, and a -o option to write output to a file 2007-04-25 16:07:12 +00:00
Adam Sampson
f2a9093a4f Big parser rework part 2: proper type checking and inference 2007-04-25 13:03:30 +00:00
Adam Sampson
2383345f88 Make all the Types functions monadic; make Errors useful 2007-04-24 21:49:03 +00:00
Adam Sampson
ff01ddc8c8 Support #INCLUDE and #USE 2007-04-20 23:44:38 +00:00
Adam Sampson
c39d7ee237 Constant expression evaluation 2007-04-20 21:15:36 +00:00
Adam Sampson
a49b884d48 Better option handling and print passes as they're executed 2007-04-20 16:51:54 +00:00
Adam Sampson
ca5c56f813 Move a lot of FIXMEs into the to-do list 2007-04-20 01:40:41 +00:00
Adam Sampson
e610e85a8a Implement functions, and fix parsing of function calls 2007-04-19 15:48:19 +00:00
Adam Sampson
9ed003f9e3 Add NoSpecification to AST, to make passes simpler 2007-04-18 23:13:56 +00:00
Adam Sampson
4c6cda3226 Make Specification a proper data type 2007-04-14 01:45:25 +00:00
Adam Sampson
2ec22a5c24 Multidimensional arrays and slices 2007-04-13 23:58:40 +00:00
Adam Sampson
5840659ade Implement array slices 2007-04-13 17:34:09 +00:00
Adam Sampson
dec538e951 TLP support, KRoC wrapper to link against, and Process *me support -- commstime works :) 2007-04-12 17:21:12 +00:00
Adam Sampson
00cec5cd5c Pull up array expressions 2007-04-12 16:55:26 +00:00
Adam Sampson
f28959c730 Make the pulled def stuff more general 2007-04-12 16:04:21 +00:00
Adam Sampson
8d3f8153eb Nicer nonce naming; generate PAR 2007-04-10 20:13:09 +00:00
Adam Sampson
8a1094e76a Nesting removal 2007-04-10 19:38:44 +00:00
Adam Sampson
f0e25bec2d Wrap PAR subprocesses, and add some Haddock 2007-04-07 16:08:31 +00:00
Adam Sampson
572fa26ad7 A start at generating C++ code 2007-04-06 23:12:21 +00:00
Adam Sampson
667731f892 Fix the case output ambiguity 2007-04-05 17:37:45 +00:00
Adam Sampson
0bf57b0222 Tidier original name handling; slightly better errors 2007-04-05 11:21:32 +00:00
Adam Sampson
4c20041ff4 Add state while parsing, and track/map names 2007-03-16 01:28:46 +00:00