Christian
08f556cd5a
Contracts are Addresses.
10 years ago
Christian
a017d2b1de
Remove const from make_shared to allow enable_shared_from_this to work on MacOS.
10 years ago
Christian
e1338c7e6c
Arbitrary precision integer constants.
10 years ago
Christian
f6ddd3fd33
Possibility for unary operators to change type.
10 years ago
Christian
874b2b34ea
Use shared_from_this instead of manually supplying a shared_ptr to this.
10 years ago
Lefteris Karapetsas
299305548f
Adjustments to Solidity compiler code for Function Hash
10 years ago
Lefteris Karapetsas
9fff09af6b
Compiler EVM generation now takes into account for the new function hash
identifier
- Changed tests to comply with the new function hash identifier
- Changed the function index offset to 4, and made it a constant for
easy adjustment in the future
10 years ago
Christian
7158f408ac
Remove const from make_shared to allow enable_shared_from_this to work on MacOS.
10 years ago
Christian
1d3801f726
Arbitrary precision integer constants.
10 years ago
Christian
cc55936f67
Possibility for unary operators to change type.
10 years ago
Christian
ff4fe8257a
Use shared_from_this instead of manually supplying a shared_ptr to this.
10 years ago
Lefteris Karapetsas
b8b75c841b
Solidity getInterfaceFunctions is now a map of hash to Function
- Also introduced dependency between libsolidity and libdevcrypto
- Compler's appendFunctionSelector now has a first version of using
function signature hash instead of index
10 years ago
Lefteris Karapetsas
48080e0415
Small issues with Canonical Function Signature
- Also added an extra test
10 years ago
Lefteris Karapetsas
0c003958b9
FunctionType also gets CanonicalSignature
- also using iterators in the signature creation function
10 years ago
Christian
f37ff5ff4f
Clarified binary operator checking for integer types.
10 years ago
Christian
6e36344632
Possibility for binary operators to yield types different from their operands'.
10 years ago
Christian
46664c44b3
Assertions that throw InternalCompilerErrors.
10 years ago
Christian
c00153e5c1
Stylistic changes.
10 years ago
Christian
5026c5855d
Create contracts.
10 years ago
Christian
8eee0a2033
Correctly check for string prefix plus indentation change.
10 years ago
Christian
b0af628f11
Calls to bare contracts.
10 years ago
Christian
37a15d96ea
Support empty strings.
10 years ago
Marek Kotewicz
4b90d315b7
user-provided default constructor
10 years ago
Marek Kotewicz
71ebfe7736
fixed solidity not building on macos
10 years ago
Christian
781d58d705
String types.
10 years ago
Christian
2506b42da8
Clear separation between ASTVisitor and ASTConstVisitor and more const specifiers.
10 years ago
Christian
e8c39062f8
Calling functions of other contracts.
10 years ago
Christian
92b0ff7a10
Fix: Storage offset of first struct member should be zero.
10 years ago
Christian
390e2e8634
Minor changes to magic variables.
gas moves to "msg", ripemd160 returns hash160.
10 years ago
Christian
898f989aa1
Sending ether.
10 years ago
Christian
d759075528
More general function types and references.
10 years ago
Christian
b185a748a5
Access to blockchain data.
10 years ago
Christian
27d20cd849
Magic variables.
10 years ago
Christian
638960f22f
Contracts as types and framework for special global variables.
10 years ago
Christian
6ee07c2cb8
Convenience class for type members.
10 years ago
Christian
ad1a1f3ee2
We only care about member types.
10 years ago
Gav Wood
a01859b285
Fix warnings, release errors.
10 years ago
Christian
bbc3a1b37e
Struct types.
10 years ago
Christian
ec2b010047
Mapping types.
10 years ago
Christian
650b31777b
Do not return after throw.
10 years ago
Christian
a5542ba2de
State variables.
10 years ago
Christian
0c40ba83f0
Bugfix: Bit width of address types.
10 years ago
Christian
1b9e014374
Support for negative literals.
10 years ago
Christian
d8ad4f5910
Keywords for all integer types.
10 years ago
Christian
5bd4640b17
Detect integer length from literals and remove "std::".
10 years ago
Christian
37216a246a
Converted all asserts to exceptions.
10 years ago
Christian
ea6d58a0d1
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.
10 years ago
Christian
d83d476002
Fixed placements of const.
10 years ago
Gav Wood
9a16d80df7
Warnings fixes.
10 years ago
Christian
62ca0b2b43
Replace BOOST_ASSERT by assert.
10 years ago