[Scummvm-cvs-logs] SF.net SVN: scummvm:[52092] tools/branches/gsoc2010-decompiler/decompiler/ doc/todo.tex

pidgeot at users.sourceforge.net pidgeot at users.sourceforge.net
Sat Aug 14 22:13:26 CEST 2010


Revision: 52092
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52092&view=rev
Author:   pidgeot
Date:     2010-08-14 20:13:25 +0000 (Sat, 14 Aug 2010)

Log Message:
-----------
DECOMPILER: Flesh out entry on to-do list

Modified Paths:
--------------
    tools/branches/gsoc2010-decompiler/decompiler/doc/todo.tex

Modified: tools/branches/gsoc2010-decompiler/decompiler/doc/todo.tex
===================================================================
--- tools/branches/gsoc2010-decompiler/decompiler/doc/todo.tex	2010-08-14 20:11:00 UTC (rev 52091)
+++ tools/branches/gsoc2010-decompiler/decompiler/doc/todo.tex	2010-08-14 20:13:25 UTC (rev 52092)
@@ -27,6 +27,8 @@
 \subsection{Reduce number of parentheses}
 Right now, the decompiler is completely paranoid about parentheses, inserting them pretty much anywhere it can get away with it. This should be improved, so we reduce the number of them; e.g. by checking the type of operands and only adding parentheses if the operand type can cause problems.
 
+Similarly, we should probably look into negated expressions to let the decompiler automatically rework what would be \code{!(a == b)} to \code{a != b}. This would also help decrease the number of parentheses.
+
 \subsection{Refactor design}
 While a decompiler is almost by nature going to be somewhat complex, the current design might be a little too complex in a few places.
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list