Commit Graph

881 Commits

Author SHA1 Message Date
Christian
b2f12991db Some documentation. 2014-10-24 19:38:48 +02:00
Christian
59b5e950f4 Expression compiler. 2014-10-24 19:38:13 +02:00
Gav Wood
c6e0f82d2e Merge pull request #410 from chriseth/sol_exceptions
Improved exceptions and reporting exceptions for command-line compiler.
2014-10-24 19:17:08 +02:00
Christian
2a24c3d810 Use the passed stream, not std::cerr. 2014-10-24 19:08:31 +02:00
Christian
33babb0c6f Use endl instead of "\n". 2014-10-24 16:47:10 +02:00
Christian
f8038792ca Remove nullptr comparisons. 2014-10-24 16:43:11 +02:00
Christian
1ae1fc66e2 Use createTypeError everywhere and stream out Location. 2014-10-24 12:42:44 +02:00
Christian
987f42aa38 Sorted include directives. 2014-10-23 21:46:39 +02:00
Christian
094ee44f72 Use boost errinfo. 2014-10-23 21:37:57 +02:00
Christian
781d7fd514 Improved exceptions and reporting exceptions for command-line compiler. 2014-10-23 16:43:50 +02:00
Christian
a09e4c559d Type information for AST printer. 2014-10-23 16:27:51 +02:00
Christian
fd046d7c90 Corrected spacing around colon. 2014-10-23 00:24:07 +02:00
Christian
c8b008558d Cleanup of copyright headers. 2014-10-20 16:37:04 +02:00
Christian
8696598020 Access modifier cleanup. 2014-10-20 16:28:24 +02:00
Christian
be885dc3cf Pointer type cleanup: Use ASTPointer only for AST nodes and shared_ptr for type
pointer.
2014-10-20 16:23:49 +02:00
Christian
f0c334670d Coding style cleanup: const and vecptr. 2014-10-20 13:02:06 +02:00
Christian
646f106a34 Keyword cleanup 2014-10-17 12:52:39 +02:00
Christian
a7f9815c0f Coding style and cleanup 2014-10-17 12:37:51 +02:00
Christian
8a506b505f Corrected coding style. 2014-10-16 14:08:54 +02:00
Christian
4ece1ba1d3 Remove unused parameters. 2014-10-15 18:50:15 +02:00
Christian
d557fbac9c Some fixes for the type system, should be quite usable now. 2014-10-15 18:41:44 +02:00
Christian
df142782bc Added meaningful exception types. 2014-10-15 18:41:29 +02:00
Christian
89b794f1dc Type system, not yet complete. 2014-10-15 18:40:19 +02:00
Christian
bdac5c7b4b Added copyright blocks. 2014-10-13 17:13:48 +02:00
Christian
4f79117964 Name resolution. 2014-10-13 17:02:21 +02:00
Christian
98bdd74299 AST printer and command line tool, some fixes. 2014-10-10 16:47:21 +02:00
Christian
924f7c62bd Initial implementation of Solidity parser finished, not yet tested much. 2014-10-09 18:35:41 +02:00
Christian
c3faa433ef Corrected indentation. 2014-10-09 12:36:17 +02:00
Christian
0a1ebe4f51 Parse everything up to function bodies and report parser errors with location. 2014-10-08 20:53:50 +02:00
Christian
56e9cc8db7 Solidity parser, can not parse much yet. 2014-10-08 13:49:34 +02:00
Christian
ef59373871 Solidity scanner and some unit tests.
The scanner is a modified version of the v8 javascript scanner.
2014-10-08 11:11:50 +02:00