Commit Graph

10 Commits

Author SHA1 Message Date
Christian
c5a012cdca Contracts as types and framework for special global variables. 2014-11-23 21:28:44 +01:00
Christian
d7f4e02dbd Evaluate expressions in convenient order. 2014-11-07 02:07:59 +01:00
Christian
08cba0653f Support for negative literals. 2014-11-06 02:44:43 +01:00
Christian
04e7977ea1 Type promotion fixes and tests. 2014-11-06 02:36:39 +01:00
Christian
bfb2ae9f3c Test adjustments. 2014-11-03 16:30:11 +01:00
Christian
dab09c595a Some tests and bugfixes for the compiler. 2014-11-03 16:11:40 +01:00
Christian
6951657c59 Bugfix: Swap before mod and div. 2014-11-03 15:44:22 +01:00
Christian
2088aaa85b Merge remote-tracking branch 'ethereum/develop' into sol_contractCompiler
Conflicts:
	libsolidity/AST.cpp
	libsolidity/AST.h
	libsolidity/Compiler.cpp
	libsolidity/Compiler.h
	libsolidity/NameAndTypeResolver.h
	libsolidity/Types.cpp
	solc/main.cpp
	test/solidityCompiler.cpp
2014-10-31 17:20:27 +01:00
Christian
fa24c954a5 Renamed file. 2014-10-30 21:21:25 +01:00
Christian
b0d4e0dedf 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