Commit Graph

19 Commits

Author SHA1 Message Date
Christian
6cb0d1baa0 Magic variables. 2014-11-23 21:28:45 +01:00
Christian
c5a012cdca Contracts as types and framework for special global variables. 2014-11-23 21:28:44 +01:00
Christian
9f64159620 Mapping types. 2014-11-14 14:08:14 +01:00
Christian
3a016ea0b4 Replace function selector jump table by more resilient linear time check. 2014-11-10 13:13:53 +01:00
Gav Wood
8be49ae288 Fixes for warnings. Take note. 2014-11-07 13:50:51 +00:00
Christian
04e7977ea1 Type promotion fixes and tests. 2014-11-06 02:36:39 +01:00
Gav Wood
4b9dcd95ce Compile warnings fixed. 2014-11-05 22:17:05 +00:00
Christian
bfb2ae9f3c Test adjustments. 2014-11-03 16:30:11 +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
c0528f511a Actual contract creator and add solidity to AlethZero interface. 2014-10-31 14:37:23 +01:00
Gav Wood
882b8ad089 Big fixes. 2014-10-31 14:35:13 +01:00
Christian
f6c46c57f3 Function selector and variable (un)packing. 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
Christian
70d7d9b3bc Further const placement changes. 2014-10-29 19:41:07 +01:00
Christian
e08065a2fb Compiler for assignments. 2014-10-29 14:33:25 +01:00
Christian
d706631412 NEG->BNOT change 2014-10-29 14:26:37 +01:00
Christian
eb254f6fdf Adjustments for the NEG->BNOT change. 2014-10-28 17:09:06 +01:00
Christian
28ef0f0f1e Forgot some asterisks. 2014-10-28 16:57:20 +01:00
Christian
b03a6a3563 Expression compiler. 2014-10-24 19:38:13 +02:00