2009-01-05 06:30:12 -05:00
|
|
|
TODO
|
|
|
|
|
2009-03-08 19:03:59 -04:00
|
|
|
Bugs:
|
2009-03-08 20:45:33 -04:00
|
|
|
* defining multi-line functions from interactive mode
|
2009-03-08 19:03:59 -04:00
|
|
|
* defining functions with no parameters (in interactive mode?)
|
2009-03-08 20:07:44 -04:00
|
|
|
* int fact(int i) {
|
|
|
|
if (i < 2) {
|
|
|
|
return i;
|
|
|
|
}
|
|
|
|
return (i * fact(i - 1));
|
|
|
|
}
|
2009-03-08 20:43:31 -04:00
|
|
|
* something wrong with interactive mode after error handling - not clearing token buffer correctly?
|
2009-03-08 19:03:59 -04:00
|
|
|
|
2009-03-06 05:42:37 -05:00
|
|
|
Implement:
|
2009-01-05 06:30:12 -05:00
|
|
|
* operator precedence
|
2009-03-06 01:11:05 -05:00
|
|
|
* pointer arithmetic
|
2009-02-20 21:35:52 -05:00
|
|
|
* casts
|
2009-03-06 01:11:05 -05:00
|
|
|
* fix #include
|
2009-03-08 03:56:28 -04:00
|
|
|
* char access/char array access/char * access
|
2009-03-06 01:11:05 -05:00
|
|
|
|
2009-03-06 05:42:37 -05:00
|
|
|
Improvements:
|
|
|
|
* #define with arguments
|
2009-03-06 01:11:05 -05:00
|
|
|
* pointers to array elements and struct elements
|
|
|
|
* test character array pointers and dereferencing
|
|
|
|
* make printf() honour memory constraints
|
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
|
|
|
* change heap to use a single consistent freelist node struct
|
|
|
|
* 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-01-05 06:30:12 -05:00
|
|
|
|
2009-02-20 21:35:52 -05:00
|
|
|
Need test/debug:
|
|
|
|
* all break/continue variations
|
2009-01-21 04:02:05 -05:00
|
|
|
|
|
|
|
Also:
|
2009-01-26 03:57:32 -05:00
|
|
|
* Remove Var parameter from HeapPopStack() once we're certain it all works
|