picoc/TODO
zik.saleeba ccbf149212 Fixed a problem with interactive mode error handling.
Will need some extra work for Surveyor... tomorrow.


git-svn-id: http://picoc.googlecode.com/svn/trunk@215 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-03-31 11:08:29 +00:00

39 lines
1.1 KiB
Plaintext

TODO
Bugs:
* something wrong with interactive mode after error handling - not clearing token buffer correctly?
* interactive mode sometimes bombs out
eg. "printf("fred\n", zorch);"
* parsing of statements not quite right - seems to optionally want extra tokens at end
eg. "while (1) {" then end of file
eg. "test" then end of file
Implement:
* operator precedence
* pointer arithmetic
* casts
* 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
* getchar()/gets() tests
* new/delete heap allocation
Also:
* Remove Var parameter from HeapPopStack() once we're certain it all works