xubingyue / softart

Automatically exported from code.google.com/p/softart
Other
0 stars 0 forks source link

Add branch statement support to semantic analysis & code generation. #48

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Following need to be implemented:

1. If-then-else statement.
2. While-do statement.
3. Do-while statement.
4. For statement.

Original issue reported on code.google.com by wuye9036 on 18 Jan 2011 at 7:46

GoogleCodeExporter commented 8 years ago
If-statement was finished.

Original comment by wuye9036 on 18 Jan 2011 at 7:46

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This issue was updated by revision 763d335e2e97.

SASL:
  Remove block printer.
  Remove warnings.
  Add comments.ss to jit_test.
  Add test branches.ss

Original comment by wuye9036 on 7 Nov 2011 at 9:41

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 73044af66648.

SASL:
  Remove unused running tips.
  Add end of file to empty.ss.
  Remove unused test code.
  Add empty to jit_test.
  Add branches to jit_test.

Original comment by wuye9036 on 7 Nov 2011 at 9:41

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 2d7e9adc2510.

SASL:
  Add unimplemented function build_stmt_if.

Original comment by wuye9036 on 8 Nov 2011 at 4:07

GoogleCodeExporter commented 8 years ago
This issue was updated by revision ace0400513b6.

SASL:
  Add if statement support and compound statement support to stmt.
  Fixes bug of semantic_analyser if 'if statement' has no no_stmt.

Original comment by wuye9036 on 8 Nov 2011 at 4:07

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 6504434ee8db.

SASL:
  Add jump_to and jump_cond to cgllvm_service.
  Remove binary expression visitor from cgllvm_general.
  Implements if_statement visitor in cgllvm_general.

Original comment by wuye9036 on 8 Nov 2011 at 4:07

GoogleCodeExporter commented 8 years ago
This issue was updated by revision eb744231f31c.

SASL:
  Add emit_cmp_eq to cgllvm_service.
  Add test case for if.

Original comment by wuye9036 on 8 Nov 2011 at 4:45

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
We should:
  Support 'else'.
  Test 'if-then-else'
  Support 'for'
  Support 'while'
  Support 'switch-case-default'

Original comment by wuye9036 on 22 Nov 2011 at 11:12

GoogleCodeExporter commented 8 years ago
This issue was updated by revision bf1741d77df8.

SASL:
  Change the behaviour of EFLIB_ASSERT.
  Add for-statement support to syntax_tree_builder.
  Now empty sequence attribute support child() which get a null shared pointer.
  Add for test to branches.ss.
  Now shader files for test will be included in code statistics.
  Update code statistics.

Original comment by wuye9036 on 25 Nov 2011 at 4:13

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 920d2e9c18b8.

SASL:
  For statement was supported.
  Promote statements and expression_initializer to sisd.
  Add test cases for 'for' statement.

Original comment by wuye9036 on 25 Nov 2011 at 4:13

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 354ffd618fe5.

SASL:
  Add while and dowhile support.
  Add tests for while and do-while and they all are passed.
  Fixes grammar bug of do-while.

Original comment by wuye9036 on 25 Nov 2011 at 4:13

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 192c577821b6.

SASL:
  Fixes bugs of enums.
  Add labeled_statement to syntax tree.
  Add child_size to attribute.
  Add switch & case/default label statement support.
  Refine grammar stmt_switch.
  Remove unused field of statement_si.
  Now make_tree test is not complete.
  Add switch test cases to branches.ss
  Add switch test cases to jit_test.

Original comment by wuye9036 on 26 Nov 2011 at 2:01

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 26 Nov 2011 at 2:03

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 15 Dec 2011 at 3:16