Commit Graph

1278 Commits

Author SHA1 Message Date
Adam Sampson
80bfdcd0a6 Make Dimension take an Int rather than an Expression 2007-04-26 20:21:03 +00:00
Adam Sampson
8a0702dfa3 Add simplifyType (unused for now) 2007-04-26 20:20:44 +00:00
Adam Sampson
6397d9526e Remove debugging code 2007-04-26 20:20:00 +00:00
Adam Sampson
63a39f5a27 More testcases 2007-04-26 16:06:45 +00:00
Adam Sampson
939205670b Rework how constant evaluation is done 2007-04-26 16:05:04 +00:00
Adam Sampson
9e69317d7b Better constant folding 2007-04-26 14:57:48 +00:00
Adam Sampson
a93439dfc7 Implement continuation lines of both kinds 2007-04-26 13:20:43 +00:00
Adam Sampson
f5345f3815 Handle lines consisting of only spaces, and report errors better 2007-04-26 02:46:19 +00:00
Adam Sampson
51c83f4e94 Fix abbreviation parsing 2007-04-26 02:25:37 +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
8c6e4f6aac Show what line indentation errors occur on 2007-04-25 22:32:35 +00:00
Adam Sampson
d20b113a00 Generate AFTER using > and MINUS 2007-04-25 21:24:20 +00:00
Adam Sampson
092e82d80a Use a different name for the object file, to avoid make getting confused 2007-04-25 21:02:05 +00:00
Adam Sampson
07e7da31de Fix free name removal 2007-04-25 20:50:23 +00:00
Adam Sampson
2ab61a790f Array literals aren't "simple" 2007-04-25 20:16:08 +00:00
Adam Sampson
818281542c Make associative ops actually be associative 2007-04-25 19:09:29 +00:00
Adam Sampson
336679f416 Make TRUE/FALSE part of operand rather than expression 2007-04-25 18:18:38 +00:00
Adam Sampson
d20bf1656d Handle tabs in indentation 2007-04-25 18:14:21 +00:00
Adam Sampson
52e1edbcdd Accept (but ignore) INLINE 2007-04-25 18:11:49 +00:00
Adam Sampson
f8fa60d1ed Implement << and >> 2007-04-25 17:48:16 +00:00
Adam Sampson
6d419c92c7 Add a list of bugs in the ordered syntax 2007-04-25 17:47:46 +00:00
Adam Sampson
d265857e34 Handle nested includes properly 2007-04-25 17:25:49 +00:00
Adam Sampson
ebf702c85c Fix some syntax to make Haddock happy, and add a Makefile rule to update the docs 2007-04-25 17:17:48 +00:00
Adam Sampson
fe9df779fd Remove the .fco suffix from compiled binaries 2007-04-25 17:17:32 +00:00
Adam Sampson
94e3bcd7fe Recast the driver and most of the components into the PassM monad 2007-04-25 16:42:17 +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
e64fa81f83 Fix function arg parsing, and remove a non-useful failed subscript error 2007-04-25 15:52:21 +00:00
Adam Sampson
a04ba6087c Nicer production names 2007-04-25 13:07:53 +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
402371c8aa Literals testcase 2007-04-25 11:53:15 +00:00
Adam Sampson
a1f045260b Big parser rework: remove all the extraneous "try" calls in favour of more specific commits 2007-04-25 01:33:30 +00:00
Adam Sampson
90643cb56b Fix isConstantName 2007-04-24 22:04:29 +00:00
Adam Sampson
2383345f88 Make all the Types functions monadic; make Errors useful 2007-04-24 21:49:03 +00:00
Adam Sampson
7d2013d3f1 Generate more natural replicator loops when base == 0 2007-04-24 13:03:08 +00:00
Adam Sampson
ccda7402e2 Move path stuff into a Utils module, and show basenames in metadata 2007-04-24 12:52:13 +00:00
Adam Sampson
129ded1cdb Given broken testcases more sensible names (all starting _) 2007-04-24 00:11:51 +00:00
Adam Sampson
a1bf1d351a TLP testcases 2007-04-24 00:10:06 +00:00
Adam Sampson
5120b2e112 Add a proper TLP interface checker 2007-04-24 00:07:35 +00:00
Adam Sampson
3d4a1d1020 Range check type conversions, and implement arithmetic ops for all basic types 2007-04-23 23:17:36 +00:00
Adam Sampson
127e2f8aec Just stop 2007-04-23 23:17:22 +00:00
Adam Sampson
408b8614e2 Add array bounds checking 2007-04-23 10:33:51 +00:00
Adam Sampson
432c89e625 Make STOPs report where and why they stopped 2007-04-21 03:15:38 +00:00
Adam Sampson
f38d548c33 Make Meta a simple structure 2007-04-21 02:54:08 +00:00
Adam Sampson
f701e4bf8a Reorganise TODO 2007-04-21 02:42:15 +00:00
Adam Sampson
c3cbb46ba1 Give everything a 64k stack, because my q7 needs it 2007-04-21 00:08:57 +00:00
Adam Sampson
3aa0d7c724 Add a "course" module that the testcases can use 2007-04-21 00:00:00 +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
e7be8814ad Add timer guards testcase 2007-04-20 17:54:07 +00:00
Adam Sampson
a49b884d48 Better option handling and print passes as they're executed 2007-04-20 16:51:54 +00:00