Adam Sampson
|
72eafaedea
|
Ignore INLINE FUNCTION
|
2007-04-30 04:31:00 +00:00 |
|
Adam Sampson
|
39ec48c1e3
|
Fix known-dimension arrays in specifiers
|
2007-04-30 04:25:13 +00:00 |
|
Adam Sampson
|
576c31aa72
|
Don't attempt to constant-fold empty arrays
|
2007-04-30 04:03:29 +00:00 |
|
Adam Sampson
|
e701088469
|
Do away with SubscriptedExprs during pullUp
|
2007-04-30 03:22:06 +00:00 |
|
Adam Sampson
|
db1c16c2cb
|
Do away with operandNotTable -- it's not needed now we have state, and it breaks stuff
|
2007-04-30 02:51:46 +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
|
439cedb494
|
Handle unsubscriptable type contexts
|
2007-04-30 01:48:30 +00:00 |
|
Adam Sampson
|
76865debc7
|
Implement PRI PAR (the priorities probably aren't very sensible at the moment)
|
2007-04-30 01:35:33 +00:00 |
|
Adam Sampson
|
7205272fa5
|
Use genStructured to do PAR -- which is much shorter
|
2007-04-30 01:28:17 +00:00 |
|
Adam Sampson
|
ace34232fd
|
Conversions to and from and between reals
|
2007-04-29 22:35:07 +00:00 |
|
Adam Sampson
|
f7029f6312
|
Add a trivialSubscriptType function to avoid problems with 0-length slices
|
2007-04-29 21:43:22 +00:00 |
|
Adam Sampson
|
057a3a0a67
|
Better string literal handling: do away with StringLiteral in favour of arrays of ByteLiteral
|
2007-04-29 21:31:56 +00:00 |
|
Adam Sampson
|
d2c522bec0
|
Expression retyping
|
2007-04-29 17:22:13 +00:00 |
|
Adam Sampson
|
2be9b16cc7
|
Rebrand from FCO to Tock
|
2007-04-29 16:20:40 +00:00 |
|
Adam Sampson
|
1932ae534a
|
Intrinsic functions (SQRT and DSQRT)
|
2007-04-29 16:10:29 +00:00 |
|
Adam Sampson
|
2d88249408
|
Intrinsic PROCs (ASSERT for now)
|
2007-04-29 14:46:19 +00:00 |
|
Adam Sampson
|
5de146234f
|
Be a bit smarter about figuring out when conversions are precise
|
2007-04-29 14:05:28 +00:00 |
|
Adam Sampson
|
47ccd704e4
|
Remove a FIXME
|
2007-04-29 00:11:42 +00:00 |
|
Adam Sampson
|
ca0131f2d1
|
Fix parsing of typed hex literals
|
2007-04-29 00:10:16 +00:00 |
|
Adam Sampson
|
ce61a7c2f5
|
Fix string and char literal handling in finishLine
|
2007-04-29 00:05:44 +00:00 |
|
Adam Sampson
|
a76611c4c2
|
Add a Makefile target for building cgtests
|
2007-04-28 23:54:18 +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
|
5e32facc59
|
Better reporting of invalid subscripts
|
2007-04-27 18:39:32 +00:00 |
|
Adam Sampson
|
3c8f79b2e8
|
Add a testcase for pulling up expressions in IF
|
2007-04-27 16:18:18 +00:00 |
|
Adam Sampson
|
d976dedfae
|
Don't add new args to the TLP
|
2007-04-27 13:58:35 +00:00 |
|
Adam Sampson
|
6e4d2e2404
|
Use -v multiple times to specify verbosity, and only show AST/state if -vvv is given
|
2007-04-27 13:07:40 +00:00 |
|
Adam Sampson
|
09be48dca3
|
Split the literal evaluator into a new module, and make type subscripting smarter
|
2007-04-27 12:59:40 +00:00 |
|
Adam Sampson
|
5a89e1722c
|
Initial RETYPES/RESHAPES support
|
2007-04-27 03:01:32 +00:00 |
|
Adam Sampson
|
7507bd21dc
|
CHAN OF ANY testcase
|
2007-04-26 22:54:54 +00:00 |
|
Adam Sampson
|
6e04185502
|
Fix channel array abbreviations
|
2007-04-26 22:54:01 +00:00 |
|
Adam Sampson
|
5586446dcb
|
Fix parsing of channel array abbreviations
|
2007-04-26 22:49:41 +00:00 |
|
Adam Sampson
|
414bd9bfe6
|
Allow SIZE in constant expressions
|
2007-04-26 22:41:19 +00:00 |
|
Adam Sampson
|
8554d19d3a
|
Implement (in a very simple way) CHAN OF ANY
|
2007-04-26 22:26:48 +00:00 |
|
Adam Sampson
|
39bbc1e10e
|
Support (but complain about!) empty versions of SEQ, IF, etc.
|
2007-04-26 21:56:05 +00:00 |
|
Adam Sampson
|
4d45002a30
|
Add support for compiler warnings
|
2007-04-26 21:41:04 +00:00 |
|
Adam Sampson
|
6cdfb98086
|
Strip leading zeros from decimal literals
|
2007-04-26 21:24:38 +00:00 |
|
Adam Sampson
|
f0223ec40a
|
Get multidimensional array literals working (by changing their AST representation)
|
2007-04-26 21:21:35 +00:00 |
|
Adam Sampson
|
a11782ac24
|
Don't delete intermediate files (so I can look at the C)
|
2007-04-26 20:23:22 +00:00 |
|
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 |
|