Commit Graph

25 Commits

Author SHA1 Message Date
Adam Sampson
db79a4f3e6 Prune traversals of the AST (speeds up from 90s to 20s for ats1-q7) 2007-05-02 21:51:35 +00:00
Adam Sampson
a90fefefb2 Use Maps for things that should be maps 2007-05-02 20:14:44 +00:00
Adam Sampson
e8a38a6f02 Expand out array literals inside literals 2007-05-01 23:04:00 +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
8fae7c4015 Handle IsExpr SubscriptedExpr properly when pulling up 2007-04-30 17:02:50 +00:00
Adam Sampson
e701088469 Do away with SubscriptedExprs during pullUp 2007-04-30 03:22:06 +00:00
Adam Sampson
6c9293fa7b Do away with the Literal type, which makes subscripting much more straightforward 2007-04-30 02:16:10 +00:00
Adam Sampson
7205272fa5 Use genStructured to do PAR -- which is much shorter 2007-04-30 01:28:17 +00:00
Adam Sampson
d2c522bec0 Expression retyping 2007-04-29 17:22:13 +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
d20b113a00 Generate AFTER using > and MINUS 2007-04-25 21:24:20 +00:00
Adam Sampson
2383345f88 Make all the Types functions monadic; make Errors useful 2007-04-24 21:49:03 +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
dfa1f6c5e6 Support array assignment (and check that assignments are sensible), and nested slicing 2007-04-20 16:01:15 +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
00cec5cd5c Pull up array expressions 2007-04-12 16:55:26 +00:00
Adam Sampson
cfd740c2a7 Standard structure for passes 2007-04-12 15:21:33 +00:00