chriseth
e892152ba8
Create and output clone contracts.
10 years ago
chriseth
b5c2a28371
Initialisation of memory types.
10 years ago
chriseth
02c9589734
Style.
10 years ago
chriseth
7d09d87d16
Distinction between storage pointer and storage ref and type checking for conversion between storage and memory.
10 years ago
chriseth
3fc61e9087
Compute constants
10 years ago
chriseth
1a3d6904d7
Gas estimation for internal functions.
10 years ago
chriseth
2111cd4894
Move assembly related files to libevmasm and Params.h/.cpp to libevmcore.
10 years ago
Christian
7971f5e83d
JSON compiler.
10 years ago
Liana Husikyan
4ef9b70dd3
style fixes
10 years ago
Liana Husikyan
2a5a5a99f9
added asm-json flag to cl compiler
Conflicts:
libsolidity/CompilerStack.cpp
10 years ago
chriseth
ea5bfadcd8
Fixed some checker warnings.
10 years ago
Liana Husikyan
369abf4294
to include source lines in output stream AssemblyItem's appropriate function is now receiving the map of fileNames to sourceCodes as argument.
10 years ago
Liana Husikyan
df4746d5e7
Implemented passing arguments to the base constructor.
10 years ago
Lefteris Karapetsas
0a8acbc7db
Tighter coupling for Assembly items retrieval
- Exposing only assembly items, not the entire compiler context
10 years ago
Lefteris Karapetsas
72f9ecd526
Styling changes for SourceLocation and friends
10 years ago
Lefteris Karapetsas
bc71f71035
Simple Assembly Locations test
- Also adding some helper functions to SourceLocation
10 years ago
Christian
d417618dce
Stack height checks and fix.
10 years ago
Liana Husikyan
87e956729c
Inline member initialisation
renamed VariableDefinition class to VariableDeclarationStatement
added tests
10 years ago
Gav Wood
2c6b18f01b
Add EVMJIT.
10 years ago
arkpar
7af5ac1252
allow more than one contract
10 years ago
Christian
cad718715b
Unpacking of dynamically sized arguments.
10 years ago
Christian
7dc695e840
Super keyword.
10 years ago
Lefteris Karapetsas
309ffb8948
EVM Code for simple accessor function is properly generated
10 years ago
Lefteris Karapetsas
94ca9f0040
All interface functions are external.
10 years ago
Lefteris Karapetsas
818742dac9
Work in progress for state variable accessors
- Changed the code so that a generic declaration with the combination of
a function type can be used wherer a function definition was used
before
- Since using an std::pair everywhere is really tiring with this commit
I am in the process of abstracting it into a function
10 years ago
Christian
14c5e37d55
Modifier overrides and callgraph analysis.
10 years ago
Christian
fdf791149d
Compilation of function modifiers.
10 years ago
Christian
747bf7f2d4
Include virtual function overrides in constructor context.
10 years ago
Christian
813af2c4ee
Call constructors of base classes.
10 years ago
Christian
71950257c5
Magic variables are only needed durinng name and type resolution, not during compilation.
10 years ago
Lefteris Karapetsas
18dd4515bd
A first version of Natspec warning popup
- Runtime Contract code hash can now be retrieved from the Compiler
- Using the hash the Natspec handler stores and later retrieves Natspec
JSON for a given contract.
10 years ago
Christian
460571bd77
Fix some warnings about uninitialized members.
10 years ago
Lefteris Karapetsas
30c000d121
Adding a ForStatement solidity AST Node.
- Adding ForStatement node
- Implemented Parsing for ForStatement
- A simple parsing test for the ForStatement
- Work in progress
10 years ago
Christian
4e83ba5ae1
Add functions needed by constructor.
10 years ago
Christian
5026c5855d
Create contracts.
10 years ago
Christian
615438a890
Swap literals to the end if optimizing.
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
27d20cd849
Magic variables.
10 years ago
Christian
c7972ba850
Special handling for constructor.
10 years ago
Marek Kotewicz
6cc9e6952e
merge
10 years ago
Christian
32d512b12e
Option to activate the optimizer for solidity.
10 years ago
Christian
30e4cda0e9
Some tests and bugfixes for the compiler.
10 years ago
Christian
adcf062367
Actual contract creator and add solidity to AlethZero interface.
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
2b6d66374d
Compiler for assignments.
10 years ago
Christian
17f5470540
Asterisk-syntax for doxygen class documentation.
10 years ago