Jack Palevich
|
0c01774816
|
Implement op=.
|
2009-07-31 12:00:39 -07:00 |
Jack Palevich
|
beb4fe95a0
|
Test multiple levels of pointer indirection.
|
2009-07-31 11:27:29 -07:00 |
Jack Palevich
|
8f361faffc
|
Fix bad ARM code generation for '||' and '&&' operators.
Add tests of '&', '&&', '|' and '||' operators.
|
2009-07-30 16:19:43 -07:00 |
Jack Palevich
|
9f51a26961
|
Load function symbols using lea syntax.
Use a common code path for ordinary, forward, and indirect calls.
|
2009-07-29 16:22:26 -07:00 |
Jack Palevich
|
ddf7c9c141
|
Implement inc/dec in a more lval-friendly way.
|
2009-07-29 10:28:18 -07:00 |
Jack Palevich
|
89baa2083f
|
Fix the ARM postdecrement operator.
Add a test for ++ and -- so this bug won't happen again.
|
2009-07-23 11:45:15 -07:00 |
Jack Palevich
|
8148c5be54
|
Coerce R0 to destination type before storing it into a variable.
|
2009-07-16 18:24:47 -07:00 |
Jack Palevich
|
2aaf21f1be
|
Improve numerical constant parsing.
|
2009-07-15 16:16:37 -07:00 |
Jack Palevich
|
fd3db48e2e
|
Add test for passing floats and doubles as ints, floats, and doubles.
|
2009-07-14 19:39:36 -07:00 |
Jack Palevich
|
37c54bd22e
|
Make forward declarations of external symbols really work.
Until now we had always been treating external variables as "int",
and external functions as int (...);
|
2009-07-14 18:35:36 -07:00 |
Jack Palevich
|
a8f427f606
|
Implement pointer arithmetic.
|
2009-07-13 18:40:08 -07:00 |
Jack Palevich
|
25c0ccaed4
|
Implement support for "char" local and global variables.
|
2009-07-13 16:56:28 -07:00 |
Jack Palevich
|
45431bc252
|
Implement general casts and pointer dereferencing.
Prior to this casts and pointer dereferencing were special-cased.
|
2009-07-13 15:57:26 -07:00 |
Jack Palevich
|
59178c0a3d
|
Run tests on both ARM and x86
|
2009-07-13 14:15:18 -07:00 |
Jack Palevich
|
b7718b973c
|
Implement floating point for ARM.
|
2009-07-09 22:00:24 -07:00 |
Jack Palevich
|
bab8064203
|
Add x86 floating point test.
|
2009-07-09 13:54:54 -07:00 |
Jack Palevich
|
40600de143
|
Clean up expression code.
Concatenate adjacent string literals.
|
2009-07-01 15:32:35 -07:00 |
Jack Palevich
|
609c994f7b
|
Rewrite compiler test using python.
Nice because we're now checking the output for success/failure
automatically rather than by eye.
|
2009-06-25 13:55:12 -07:00 |