gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6ba7e8e)
raw | patch | inline | side by side (parent: 6ba7e8e)
author | Doni Pracner <quinnuendo@gmail.com> | |
Sun, 9 Feb 2014 19:43:46 +0000 (20:43 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Sun, 9 Feb 2014 19:43:46 +0000 (20:43 +0100) |
src-wsl/transf-min.wsl | patch | blob | history |
diff --git a/src-wsl/transf-min.wsl b/src-wsl/transf-min.wsl
index 44e7ccacd67c7e0ccaadb9f7f4ad79b89eb5086f..f1046aa58f408893d250880df167a31b4231aae6 100755 (executable)
--- a/src-wsl/transf-min.wsl
+++ b/src-wsl/transf-min.wsl
<http://www.gnu.org/licenses/>.
==========================================================";
+C:"set the following so that Action Systems are not automaticaly treated as regular";
+Assume_A_S_Regular := 0;
+
C:"Automatic transformation tool for simplification of WSL";
C:"code automaticaly translated from assembly using asm2wsl.";
C:"a simple version";
FOREACH Statement DO
IF @ST(@I) = T_A_S THEN
C:"don't need to test for this, works for T_A_S";
+ @Trans(TR_Simplify_Action_System, "");
IF @Trans?(TR_Collapse_Action_System) THEN
@Trans(TR_Collapse_Action_System, "");
FI;
@Delete
FI
OD;
+
+ FOREACH Statement DO
+ IF @Trans?(TR_Simplify_Item) THEN
+ @Trans(TR_Simplify_Item,"")
+ FI
+ OD;
+
C:"Convert DO loops into WHILE loops";
FOREACH Statement DO
IF @Trans?(TR_Floop_To_While) THEN