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
Christian
d4d5f23e8f
Expression compiler.
10 years ago
Christian
016fb2dea5
Sorted include directives.
10 years ago
Christian
bf3a76f5af
Improved exceptions and reporting exceptions for command-line compiler.
10 years ago
Christian
8756c4bf96
Type information for AST printer.
10 years ago
Christian
9a059ec662
Corrected spacing around colon.
10 years ago
Christian
fa22722e0e
Pointer type cleanup: Use ASTPointer only for AST nodes and shared_ptr for type
pointer.
10 years ago
Christian
c253a90fc4
Coding style cleanup: const and vecptr.
10 years ago
Christian
68a85f4f80
Corrected coding style.
10 years ago
Christian
df43644111
Some fixes for the type system, should be quite usable now.
10 years ago
Christian
2f9d821967
Type system, not yet complete.
10 years ago