Commit Graph

11 Commits

Author SHA1 Message Date
Christian
2f64c56ef3 Create contracts. 2014-12-15 13:05:18 +01:00
Christian
328387d6d0 Import directive. 2014-12-03 10:44:46 +01:00
Christian
583a315d3d Magic variables. 2014-11-23 21:28:45 +01:00
Christian
7f19f3d133 Contract compiler and also add ExpressionStatement to AST.
ExpressionStatement functions as glue between Statements and Expressions.

This way it is possible to detect when the border between statements and
expressions is crossed while walking the AST. Note that ExpressionStatement is
not the only border, almost every statement can contains expressions.
2014-10-30 01:25:42 +01:00
Christian
be885dc3cf Pointer type cleanup: Use ASTPointer only for AST nodes and shared_ptr for type
pointer.
2014-10-20 16:23:49 +02:00
Christian
f0c334670d Coding style cleanup: const and vecptr. 2014-10-20 13:02:06 +02:00
Christian
8a506b505f Corrected coding style. 2014-10-16 14:08:54 +02:00
Christian
89b794f1dc Type system, not yet complete. 2014-10-15 18:40:19 +02:00
Christian
bdac5c7b4b Added copyright blocks. 2014-10-13 17:13:48 +02:00
Christian
4f79117964 Name resolution. 2014-10-13 17:02:21 +02:00
Christian
98bdd74299 AST printer and command line tool, some fixes. 2014-10-10 16:47:21 +02:00