Lefteris Karapetsas
d455d6f651
modifying solidity scanner class to conform with the coding standards
10 years ago
Lefteris Karapetsas
7f959f1292
simplifying scanDocumentationComment()
10 years ago
Lefteris Karapetsas
babddd394e
cleaning up the external interface of Scanner::next(). No special cases
10 years ago
Lefteris Karapetsas
06e2c08af7
extra comments scanning test
10 years ago
Lefteris Karapetsas
03f8208b6b
styling fixes
10 years ago
Lefteris Karapetsas
be1d8881af
documentation comments are now always skipped but saved as special tokens at the Scanner
10 years ago
Christian
c7972ba850
Special handling for constructor.
10 years ago
Lefteris Karapetsas
0788e326ce
fixing typo and alignment
10 years ago
Lefteris Karapetsas
0c101d89f8
solidity scanner takes triple slash doc comments into account
- Conditionally scanning for the documentation comments and gettings their
contents.
- Adding tests for this functionality of the scanner
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
104dd11456
Provide interface for calls in JSON and some other formatting changes.
10 years ago
Marek Kotewicz
6cc9e6952e
merge
10 years ago
Christian
f5730edddb
Replace function selector jump table by more resilient linear time check.
10 years ago
Christian
650b31777b
Do not return after throw.
10 years ago
Marek Kotewicz
e2c9f19550
add headers to solidity's add_library
10 years ago
Christian
a5542ba2de
State variables.
10 years ago
Christian
0c40ba83f0
Bugfix: Bit width of address types.
10 years ago
Christian
11f65d50b8
Evaluate expressions in convenient order.
10 years ago
Christian
57d25f7a54
Prevent optimizer from changing certain parts of the code.
10 years ago
Christian
32d512b12e
Option to activate the optimizer for solidity.
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
99882a76a7
Moved instructions and assembly to new libevmcore.
10 years ago
Christian
c87f1c76b4
Ignore break and continue outside of loops.
10 years ago
Christian
1b9e014374
Support for negative literals.
10 years ago
Christian
d8ad4f5910
Keywords for all integer types.
10 years ago
Christian
6ec55d3d5f
Type promotion fixes and tests.
10 years ago
Christian
ab7d2c8fd1
Proper type promotion and conversion.
10 years ago
Christian
bfafb32b0b
More information for type expectation errors.
10 years ago
Christian
bbf6c97e5b
Allow implicit type conversions for comparisons.
10 years ago
Christian
5bd4640b17
Detect integer length from literals and remove "std::".
10 years ago
Christian
5dc7609c80
Minor cleanup.
10 years ago
Christian
052b74b1dc
Stylistic corrections.
10 years ago
Christian
37216a246a
Converted all asserts to exceptions.
10 years ago
Christian
edfc06e2c6
Bugfix: Special case of statements starting with type conversion.
10 years ago
chriseth
debab8c26f
Added doxygen comment.
10 years ago
chriseth
0f0a464b4e
Stylistic changes.
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
4dbc566a14
Bugfix: Swap before mod and div.
10 years ago
Christian
adcf062367
Actual contract creator and add solidity to AlethZero interface.
10 years ago
Gav Wood
ae960c577a
Big fixes.
10 years ago
Christian
0c88f03204
Corrected doxygen post comments.
10 years ago
Christian
4d654d4e78
Function selector and variable (un)packing.
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
9ae4efd311
Bugfix: Allow empty return statements without type checking.
10 years ago