Christian
50c0a0ed66
Constructor arguments for base classes.
10 years ago
Christian
c1834466a2
Inheritance parser.
10 years ago
Christian
de3e6a09db
Specify value for contract creation.
10 years ago
Lefteris Karapetsas
bcc263070b
Moving comment to function body
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
b2992bd659
Solidity ForStatements expressions are now optional
10 years ago
Lefteris Karapetsas
e934aa0bef
new ForStatement parsing test and small grammar fix
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
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
04c8d8bdc0
Improved external interface for multi-source and multi-contract compilation.
10 years ago
Christian
8621949067
Import directive.
10 years ago
Christian
d67e263989
Remove std::.
10 years ago
Lefteris Karapetsas
eb5369d6f2
Simplifying scanning for natspec documentation
- Scanner no longer remembers the last natspect comment until
a new one is encountered. It remembers it only until the next
scan()
10 years ago
Lefteris Karapetsas
7ac651726f
Solidity natspec docstring test improvements
- Adding a test for docstring being between function signature and
function body
- Properly checking for exceptions in parsing
- Small parser fix
10 years ago
Lefteris Karapetsas
4bb7cc9f67
Solidity FunctionDefinition used ASTString shared ptr for docstrings
10 years ago
Lefteris Karapetsas
e5da1ba6c6
Solidity work for documentation strings
- Still a work in progress
- Parser now properly gets each function's doc comment
- Small changes in the scanner
- Multiline comments are considered
10 years ago
Lefteris Karapetsas
43f269ce9a
Solidity function AST nodes get documentation attribute
10 years ago
Christian
edfc06e2c6
Bugfix: Special case of statements starting with type conversion.
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
0baf92d52e
Parser fix: Consume break and continue.
10 years ago
Christian
8bb71c4ebf
Use boost errinfo.
10 years ago
Christian
bf3a76f5af
Improved exceptions and reporting exceptions for command-line compiler.
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
116070f304
Coding style and cleanup
10 years ago
Christian
68a85f4f80
Corrected coding style.
10 years ago
Christian
b71e993223
Added meaningful exception types.
10 years ago
Christian
2f9d821967
Type system, not yet complete.
10 years ago
Christian
a5a577d35c
Name resolution.
10 years ago
Christian
8aad54050c
AST printer and command line tool, some fixes.
10 years ago
Christian
f070d3bdea
Initial implementation of Solidity parser finished, not yet tested much.
10 years ago
Christian
3fd9358c3e
Corrected indentation.
10 years ago
Christian
4c1739169a
Parse everything up to function bodies and report parser errors with location.
10 years ago
Christian
961327ee7d
Solidity parser, can not parse much yet.
10 years ago