Christian
cc00f49870
Fix scoping of event arguments.
10 years ago
Christian
d3e2d2adf3
Parsing of events.
10 years ago
Christian
fdf791149d
Compilation of function modifiers.
10 years ago
Christian
2566466a6c
Type resolution for function modifiers.
10 years ago
Christian
6fb537f48c
Reverse order of inheritance in base list.
10 years ago
Christian
813af2c4ee
Call constructors of base classes.
10 years ago
Christian
50c0a0ed66
Constructor arguments for base classes.
10 years ago
Christian
4fe47c5014
Explicit calls to base class function.
10 years ago
Christian
ffead7b4d5
Check overrides and provide inherited public interface.
10 years ago
Christian
feff325023
Import inherited members into the contract's scope.
10 years ago
Christian
46664c44b3
Assertions that throw InternalCompilerErrors.
10 years ago
Christian
41948b1309
Fix: Resolve function types of all contracts before checking types inside functions.
10 years ago
Christian
a3473ad88d
Check that constructor does not have "returns" directive.
10 years ago
Christian
a03f2870c6
More const cleanup.
10 years ago
Christian
dcce76392b
Renamed url to identifier and added some comments.
10 years ago
Christian
50b61e3dd3
Multi-source and multi-contract compiler.
10 years ago
Christian
b514546927
Save the scope for every declaration.
10 years ago
Christian
638960f22f
Contracts as types and framework for special global variables.
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
37216a246a
Converted all asserts to exceptions.
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
fd7fc4293e
Removed std:: where it made sense.
10 years ago
Christian
62ca0b2b43
Replace BOOST_ASSERT by assert.
10 years ago
Christian
92ee64f443
Some documentation.
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
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
116070f304
Coding style and cleanup
10 years ago
Christian
68a85f4f80
Corrected coding style.
10 years ago
Christian
df43644111
Some fixes for the type system, should be quite usable now.
10 years ago
Christian
b71e993223
Added meaningful exception types.
10 years ago
Christian
2f9d821967
Type system, not yet complete.
10 years ago
Christian
cdf2ff14e6
Added copyright blocks.
10 years ago
Christian
a5a577d35c
Name resolution.
10 years ago