2009-01-05 06:30:12 -05:00
|
|
|
TODO
|
|
|
|
|
2009-04-19 07:49:01 -04:00
|
|
|
Bugs:
|
|
|
|
* assignment in declarators: int *b = &a;
|
2009-04-22 04:19:52 -04:00
|
|
|
* struct it
|
|
|
|
{
|
|
|
|
int a;
|
|
|
|
int b;
|
|
|
|
} c;
|
|
|
|
int *x;
|
|
|
|
x = &c.a;
|
|
|
|
printf("%d\n", *x);
|
|
|
|
XXX
|
2009-04-19 07:49:01 -04:00
|
|
|
|
2009-03-06 05:42:37 -05:00
|
|
|
Implement:
|
2009-04-15 06:56:02 -04:00
|
|
|
* ternary operator
|
2009-02-20 21:35:52 -05:00
|
|
|
* casts
|
2009-03-08 03:56:28 -04:00
|
|
|
* char access/char array access/char * access
|
2009-04-17 18:44:25 -04:00
|
|
|
* an easier way of checking pointers in library code
|
2009-04-22 03:23:26 -04:00
|
|
|
* evaluate only first argument of && and || if possible
|
2009-04-22 04:19:52 -04:00
|
|
|
* array assignment
|
2009-03-06 01:11:05 -05:00
|
|
|
|
2009-03-06 05:42:37 -05:00
|
|
|
Improvements:
|
|
|
|
* #define with arguments
|
2009-02-20 21:35:52 -05:00
|
|
|
* fix type comparison to take into account array size
|
2009-02-24 06:16:37 -05:00
|
|
|
* fix return of array types
|
2009-02-20 21:35:52 -05:00
|
|
|
* expression and auto-cast support for all types
|
2009-02-28 14:57:03 -05:00
|
|
|
* periodic heap cleanup
|
2009-02-20 21:35:52 -05:00
|
|
|
* octal/hex character constants
|
2009-03-08 04:40:05 -04:00
|
|
|
* see if we can use ParserCopyPos() in other places rather than copying everything
|
2009-04-15 06:47:51 -04:00
|
|
|
* check for no value returned in functions with a return value
|
2009-04-17 18:44:25 -04:00
|
|
|
* native pointer access?
|
2009-01-05 06:30:12 -05:00
|
|
|
|
2009-02-20 21:35:52 -05:00
|
|
|
Need test/debug:
|
2009-03-16 00:25:58 -04:00
|
|
|
* new/delete heap allocation
|