Christian
de3e6a09db
Specify value for contract creation.
10 years ago
arkpar
72628e8f32
fixed warnings for msvc build
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
c2b194d4c3
Creating the canonical signature of a function, for later use in the ABI
10 years ago
Christian
46664c44b3
Assertions that throw InternalCompilerErrors.
10 years ago
Lefteris Karapetsas
3c6e966160
Solidity ForStatement Compiler part
- Work in progress
10 years ago
Lefteris Karapetsas
1f0346396a
Minor issues, grammar update, new ForStatement test
10 years ago
Lefteris Karapetsas
5eec2c5ac6
ForStatement typecheck and initExpression is a Statement
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
c00153e5c1
Stylistic changes.
10 years ago
Christian
a3473ad88d
Check that constructor does not have "returns" directive.
10 years ago
Christian
5026c5855d
Create contracts.
10 years ago
Lefteris Karapetsas
01e419fcaf
Natspec title and author tag.
- Adding the title and author natspec documentation tags for contracts
- Also using the author tag for functions now
- Tests
10 years ago
Christian
a03f2870c6
More const cleanup.
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
169139a066
Const functions for ASTVisitor and const ASTPrinter.
10 years ago
Christian
dcce76392b
Renamed url to identifier and added some comments.
10 years ago
Christian
8621949067
Import directive.
10 years ago
Christian
a2aa117a6b
Disallow assignments to structs and mappings.
10 years ago
Christian
b514546927
Save the scope for every declaration.
10 years ago
Lefteris Karapetsas
60ac4d3a2c
Exporting Natspec documentation to a JSON interface
- Adding a getDocumentation() function to solidity compiler stack
so that we can obtain the natspec interface for a contract
- Adding libjsoncpp as a dependency of libsolidity. This is done
in a dirty way, using libjsonrpc-cpp s an intermediate dependency
for the moment. Will fix soon.
- Start of a test file for Natspec exporting to JSON
10 years ago
Lefteris Karapetsas
4bb7cc9f67
Solidity FunctionDefinition used ASTString shared ptr for docstrings
10 years ago
Lefteris Karapetsas
43f269ce9a
Solidity function AST nodes get documentation attribute
10 years ago
Christian
68acfc0544
Global functions.
10 years ago
chriseth
0669eb8d4c
Whitespace change.
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
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
Christian
a5542ba2de
State variables.
10 years ago
Christian
bbf6c97e5b
Allow implicit type conversions for comparisons.
10 years ago
Christian
5dc7609c80
Minor cleanup.
10 years ago
Christian
37216a246a
Converted all asserts to exceptions.
10 years ago
chriseth
debab8c26f
Added doxygen comment.
10 years ago
chriseth
0f0a464b4e
Stylistic changes.
10 years ago
Christian
0c88f03204
Corrected doxygen post comments.
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
c6c7f86b82
Further const placement changes.
10 years ago
Christian
2b6d66374d
Compiler for assignments.
10 years ago
Christian
17f5470540
Asterisk-syntax for doxygen class documentation.
10 years ago
Christian
d7278b3d34
Stylistic corrections.
10 years ago
Christian
2c5b1c5262
Documentation for AST, Parser, Scanner and other classes.
10 years ago
Christian
d4d5f23e8f
Expression compiler.
10 years ago
Christian
19e7a08b0e
Remove nullptr comparisons.
10 years ago
Christian
7bab242f5f
Use createTypeError everywhere and stream out Location.
10 years ago
Christian
8bb71c4ebf
Use boost errinfo.
10 years ago
Christian
9a059ec662
Corrected spacing around colon.
10 years ago