Commit Graph

28 Commits

Author SHA1 Message Date
ethdev
fd275b6d37 fixed msvc not expanding macros correctly 2014-12-17 16:47:22 +01:00
Gav Wood
79341771f7 Merge pull request #636 from chriseth/sol_fix_foreignFunctions
Fix: Resolve function types of all contracts before checking types inside functions.
2014-12-17 13:49:31 +01:00
Marek Kotewicz
36532d9ab4 clang requires explicit initialization of map 2014-12-17 11:48:43 +01:00
Christian
5e148ae4b6 Fix: Resolve function types of all contracts before checking types inside functions. 2014-12-16 23:49:02 +01:00
Christian
ab5347100b Create contracts. 2014-12-15 13:05:18 +01:00
Christian
7ad8f94a7e Do not add at the end of the function selector "loop". 2014-12-11 17:48:44 +01:00
Christian
7be59036e5 Register variably-sized variables on stack. 2014-12-08 16:56:41 +01:00
Christian
445ba10d3b Multi-source and multi-contract compiler. 2014-12-03 18:51:59 +01:00
Christian
5b6a211b8a Import directive. 2014-12-03 10:44:46 +01:00
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