From ee1bcb6414a50642811632a92a803840c1c67036 Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 30 Jun 2012 12:29:56 +0200 Subject: dead code elimination for JS backend; JS improvements (but doesn't work yet) --- todo.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index a33afe362..13eecc584 100755 --- a/todo.txt +++ b/todo.txt @@ -7,6 +7,7 @@ Debug GC session: New pragmas: - ``hoist`` pragma for loop hoisting - test & document ``byCopy`` pragma +- document destructors - ``borrow`` needs to take type classes into account - make templates hygienic by default: try to gensym() everything in the 'block' @@ -50,8 +51,7 @@ version 0.9.XX - implicit ref/ptr->var conversion; the compiler may store an object implicitly on the heap for write barrier efficiency; better: proc specialization in the code gen -- EcmaScript needs a new and better code gen: simply adapt the C code gen to it -- dead code elim for JS backend; 'of' operator for JS backend +- 'of' operator for JS backend - tlastmod returns wrong results on BSD (Linux, MacOS X: works) - nested tuple unpacking; tuple unpacking in non-var-context - 'nimrod def': does not always work? @@ -104,7 +104,7 @@ Low priority - change how comments are part of the AST - ``with proc `+`(x, y: T): T`` for generic code - new feature: ``distinct T with operations`` -- implement the "easy" constructors idea; document destructors +- implement the "easy" constructors idea - code generated for type information is wasteful - resizing of strings/sequences could take into account the memory that is allocated -- cgit 1.4.1-2-gfad0