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