fix leaks
[m6w6/ext-psi] / TODO
diff --git a/TODO b/TODO
index ee63abe58cf690118489fa11ee906b9ec94ee5c8..7dc89a48b5e3e4ea835b2946a0846f828bfa1130 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,8 +1,25 @@
-* move numbers to the lexer
 * avoid allocs inside structures by reallocating the whole structure
 * let the various list types be hashtables where appropriate
 * check out jit-dynamic
 * fix arginfo with nullable types
-* pemalloc
-* unions
-* callbacks and function pointers
+* think about a better system for EXTVARs, separate \set and \get functions are clunky
+* fix right recursion of let_exp and set_exp
+* improve varargs support, currently it's impossible to map e.g. curl_easy_setopt
+* impl_var.name: remove leading '$'
+* really solve the array/pointer problem
+
+* variadic macros
+* predefined macros
+   * __COUNTER__               counter starting from 0, incremented each time expanded
+   * __BASE_FILE__             current PSI file
+   * __INCLUDE_LEVEL__ include level
+   * __TIMESTAMP__             lmod of current source file
+* builtins
+* int128
+* very small real numbers
+* cache tokens of files and copy tokens if used for further processing
+
+* optimized inlines like htonl
+* real integral type of enums
+
+* #pragma PSI lib "foo" instead of lib "foo";