picoc/TODO
zik.saleeba 588353449e Updated TODO
git-svn-id: http://picoc.googlecode.com/svn/trunk@186 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-03-10 04:11:03 +00:00

41 lines
1.1 KiB
Plaintext

TODO
Bugs:
* something wrong with interactive mode after error handling - not clearing token buffer correctly?
* parsing of statements not quite right - seems to optionally want extra tokens at end
* enum doesn't allow declarations without a variable
*
bash-3.2$ ./picoc.exe -i
starting picoc
picoc> enum fred {a, b, c} hello;
picoc> printf("%d %d %d\n", a, b, c);
0 1 2
picoc> enum fred d;
:3: 'd' is already defined
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
Also:
* Remove Var parameter from HeapPopStack() once we're certain it all works