BOO-996, BOO-995: Added "then" keyword to replace "else" semantic in looping construc...
commit8bc3bc61bc4a15deeedd23019b3ac3cc1bb48173
authorneoeinstein <neoeinstein@2c1201b4-01cd-e047-a400-b836ae1fbc61>
Sat, 12 Apr 2008 13:08:04 +0000 (12 13:08 +0000)
committerneoeinstein <neoeinstein@2c1201b4-01cd-e047-a400-b836ae1fbc61>
Sat, 12 Apr 2008 13:08:04 +0000 (12 13:08 +0000)
tree3792b7a4256b2b739b31b67de2811dd47d0da85a
parentd8e333de3bf76100b9aedb2b710df55ffdc54ea7
BOO-996, BOO-995: Added "then" keyword to replace "else" semantic in looping constructs; Added "or" semantic to looping constructs.  With testcases galore.

git-svn-id: https://svn.codehaus.org/boo/boo/trunk@2924 2c1201b4-01cd-e047-a400-b836ae1fbc61
45 files changed:
ast.model.boo
src/Boo.Lang.Compiler/Ast/Visitors/BooPrinterVisitor.cs
src/Boo.Lang.Compiler/Steps/EmitAssembly.cs
src/Boo.Lang.Compiler/Steps/NormalizeIterationStatements.cs
src/Boo.Lang.Compiler/Steps/OptimizeIterationStatements.cs
src/Boo.Lang.Parser/boo.g
src/Boo.Lang.Parser/wsaboo.g
tests/testcases/integration/statements/for_or-1.boo [copied from tests/testcases/integration/statements/for_else-1.boo with 66% similarity]
tests/testcases/integration/statements/for_or-2.boo [new file with mode: 0644]
tests/testcases/integration/statements/for_or-3.boo [new file with mode: 0644]
tests/testcases/integration/statements/for_or-4.boo [new file with mode: 0644]
tests/testcases/integration/statements/for_or_then-1.boo [new file with mode: 0644]
tests/testcases/integration/statements/for_or_then-2.boo [new file with mode: 0644]
tests/testcases/integration/statements/for_or_then-3.boo [new file with mode: 0644]
tests/testcases/integration/statements/for_or_then-4.boo [copied from tests/testcases/integration/statements/for_else-1.boo with 60% similarity]
tests/testcases/integration/statements/for_or_then-5.boo [copied from tests/testcases/integration/statements/for_else-1.boo with 53% similarity]
tests/testcases/integration/statements/for_then-1.boo [moved from tests/testcases/integration/statements/for_else-1.boo with 83% similarity]
tests/testcases/integration/statements/for_then-2.boo [moved from tests/testcases/integration/statements/for_else-2.boo with 83% similarity]
tests/testcases/integration/statements/for_then-3.boo [moved from tests/testcases/integration/statements/for_else-3.boo with 72% similarity]
tests/testcases/integration/statements/for_then-4.boo [moved from tests/testcases/integration/statements/for_else-4.boo with 68% similarity]
tests/testcases/integration/statements/while_or-1.boo [copied from tests/testcases/integration/statements/while_else-1.boo with 69% similarity]
tests/testcases/integration/statements/while_or-2.boo [new file with mode: 0644]
tests/testcases/integration/statements/while_or-3.boo [new file with mode: 0644]
tests/testcases/integration/statements/while_or-4.boo [new file with mode: 0644]
tests/testcases/integration/statements/while_or_then-1.boo [new file with mode: 0644]
tests/testcases/integration/statements/while_or_then-2.boo [new file with mode: 0644]
tests/testcases/integration/statements/while_or_then-3.boo [new file with mode: 0644]
tests/testcases/integration/statements/while_or_then-4.boo [new file with mode: 0644]
tests/testcases/integration/statements/while_or_then-5.boo [new file with mode: 0644]
tests/testcases/integration/statements/while_then-1.boo [moved from tests/testcases/integration/statements/while_else-1.boo with 82% similarity]
tests/testcases/integration/statements/while_then-2.boo [moved from tests/testcases/integration/statements/while_else-2.boo with 82% similarity]
tests/testcases/integration/statements/while_then-3.boo [moved from tests/testcases/integration/statements/while_else-3.boo with 80% similarity]
tests/testcases/integration/statements/while_then-4.boo [moved from tests/testcases/integration/statements/while_else-4.boo with 66% similarity]
tests/testcases/parser/roundtrip/for_or-1.boo [copied from tests/testcases/parser/roundtrip/for_else-1.boo with 75% similarity]
tests/testcases/parser/roundtrip/for_or_then-1.boo [new file with mode: 0644]
tests/testcases/parser/roundtrip/for_then-1.boo [moved from tests/testcases/parser/roundtrip/for_else-1.boo with 75% similarity]
tests/testcases/parser/roundtrip/while_or-1.boo [new file with mode: 0644]
tests/testcases/parser/roundtrip/while_or_then-1.boo [new file with mode: 0644]
tests/testcases/parser/roundtrip/while_then-1.boo [moved from tests/testcases/parser/roundtrip/while_else-1.boo with 73% similarity]
tests/testcases/parser/wsa/for_or-1.boo [copied from tests/testcases/parser/wsa/for_else-1.boo with 74% similarity]
tests/testcases/parser/wsa/for_or_then-1.boo [new file with mode: 0644]
tests/testcases/parser/wsa/for_then-1.boo [moved from tests/testcases/parser/wsa/for_else-1.boo with 74% similarity]
tests/testcases/parser/wsa/while_or-1.boo [new file with mode: 0644]
tests/testcases/parser/wsa/while_or_then-1.boo [new file with mode: 0644]
tests/testcases/parser/wsa/while_then-1.boo [moved from tests/testcases/parser/wsa/while_else-1.boo with 72% similarity]