Christian
5e0b71730c
More convenient function type construction.
10 years ago
Christian
1e3929d5ad
Coding style: Prefix for const variables.
10 years ago
Christian
08f556cd5a
Contracts are Addresses.
10 years ago
Christian
d9334abe89
Correct type conversions.
10 years ago
Christian
de77918d05
Padding for ABI types.
10 years ago
Christian
e1338c7e6c
Arbitrary precision integer constants.
10 years ago
Christian
8ad6951f38
Some changes to the log functions.
10 years ago
Lefteris Karapetsas
299305548f
Adjustments to Solidity compiler code for Function Hash
10 years ago
Gav Wood
0ca84e5a0d
Basic logging in Solidity (though no tests yet).
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
1d3801f726
Arbitrary precision integer constants.
10 years ago
Christian
0de9e2aebd
Bugfix: Use parameter (not argument) type size on stack for function calls.
10 years ago
Gav Wood
9dd9b025d1
BLOCKHASH
10 years ago
Christian
e427a0a2ca
Bugfix: Additional swap for compound assignment.
10 years ago
Christian
46664c44b3
Assertions that throw InternalCompilerErrors.
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
615438a890
Swap literals to the end if optimizing.
10 years ago
Christian
584242357a
Helper functions to access memory.
10 years ago
Christian
781d58d705
String types.
10 years ago
chriseth
5f48ab4046
Const change.
10 years ago
Christian
f8c78bafb5
Variable-size stack elements for expression compiler.
10 years ago
Christian
2506b42da8
Clear separation between ASTVisitor and ASTConstVisitor and more const specifiers.
10 years ago
Christian
1e5ebff359
Const AST visitor for the compiler.
10 years ago
Christian
e8c39062f8
Calling functions of other contracts.
10 years ago
Gav Wood
362e5d8145
Warning fix.
ECDSA recover fix.
10 years ago
Christian
68acfc0544
Global functions.
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
bbc3a1b37e
Struct types.
10 years ago
Christian
ec2b010047
Mapping types.
10 years ago
Christian
a5542ba2de
State variables.
10 years ago
Christian
11f65d50b8
Evaluate expressions in convenient order.
10 years ago
chriseth
f60c661c06
Removed superfluous braces.
10 years ago
Christian
e1c01722d4
Re-added some changes lost in merges.
10 years ago
chriseth
b85638183d
Stylistic changes.
10 years ago
Christian
6ec55d3d5f
Type promotion fixes and tests.
10 years ago
Christian
ab7d2c8fd1
Proper type promotion and conversion.
10 years ago
Christian
bbf6c97e5b
Allow implicit type conversions for comparisons.
10 years ago
Christian
37216a246a
Converted all asserts to exceptions.
10 years ago
Christian
30e4cda0e9
Some tests and bugfixes for the compiler.
10 years ago
Christian
5cc582c454
Bugfix: Swap before mod and div.
10 years ago
Christian
6f3afc8583
Renamed file.
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