picoc/TODO
zik.saleeba 456a83da75 '->' operator implemented
git-svn-id: http://picoc.googlecode.com/svn/trunk@181 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-03-09 23:18:04 +00:00

39 lines
1.1 KiB
Plaintext

TODO
Bugs:
* defining multi-line functions from interactive mode
* defining functions with no parameters (in interactive mode?)
* int fact(int i) {
if (i < 2) {
return i;
}
return (i * fact(i - 1));
}
* something wrong with interactive mode after error handling - not clearing token buffer correctly?
Implement:
* operator precedence
* pointer arithmetic
* casts
* fix #include
* char access/char array access/char * access
Improvements:
* #define with arguments
* pointers to array elements and struct elements
* test character array pointers and dereferencing
* make printf() honour memory constraints
* fix type comparison to take into account array size
* fix return of array types
* expression and auto-cast support for all types
* change heap to use a single consistent freelist node struct
* periodic heap cleanup
* octal/hex character constants
* see if we can use ParserCopyPos() in other places rather than copying everything
Need test/debug:
* all break/continue variations
Also:
* Remove Var parameter from HeapPopStack() once we're certain it all works