Commit Graph

33 Commits

Author SHA1 Message Date
Lefteris Karapetsas
df82e26d5a Styling issues and new class name for the CLI 2014-12-09 17:39:34 +01:00
Lefteris Karapetsas
5ab37de94a Moving most of the solc functionality to own class and splitting implementation in modular functions 2014-12-09 14:05:22 +01:00
Lefteris Karapetsas
63e9b3940c Style improvements and succinctness in solc main.cpp 2014-12-09 12:05:32 +01:00
Lefteris Karapetsas
88cbcdf98a Solc gets arguments for interface and documentation related output 2014-12-08 16:42:56 +01:00
Lefteris Karapetsas
5ccf5b5c9e Solc option to output binary and opcode 2014-12-08 15:21:20 +01:00
Lefteris Karapetsas
501d6f4a2c Solc evm assembly to either file or stdout option 2014-12-08 15:05:23 +01:00
Lefteris Karapetsas
3cb4562e5d Solc cmdline option for ast outputting either to stdout or a file 2014-12-08 14:46:00 +01:00
Lefteris Karapetsas
7193ac2edc Unknown solc arguments are now ignored 2014-12-08 13:30:55 +01:00
Lefteris Karapetsas
d4d0b07c35 using boost::program_options for argument parsing 2014-12-08 13:21:16 +01:00
Christian
1f209f1b7d Merge remote-tracking branch 'ethereum/develop' into sol_import
Conflicts:
	libsolidity/CompilerStack.cpp
	libsolidity/CompilerStack.h
	libsolidity/InterfaceHandler.cpp
	libsolidity/InterfaceHandler.h
	solc/main.cpp
	test/solidityJSONInterfaceTest.cpp
	test/solidityNatspecJSON.cpp
2014-12-08 12:07:17 +01:00
Lefteris Karapetsas
122b42579e Replacing old cstyle enums with c++11 enums in natspec 2014-12-05 15:50:39 +01:00
Christian
f59f0dfa8c Merge remote-tracking branch 'ethereum/develop' into sol_import
Conflicts:
	libsolidity/CompilerStack.cpp
	libsolidity/CompilerStack.h
	solc/main.cpp
2014-12-05 15:27:07 +01:00
Christian
aae508748e Improved external interface for multi-source and multi-contract compilation. 2014-12-03 18:52:28 +01:00
Lefteris Karapetsas
9ce5a4ebcf Moving all Interface and Documentation functionality to own class
- Creating the Interface Handler class which will take care of the
  parsing of Natspec comments and of interfacing with and outputing to
  JSON files.

- Will also handle the ABI interface creation
2014-12-03 16:40:37 +01:00
Lefteris Karapetsas
d0758ccf1e Separate user and dev natspec documentation
- plus other small changes according to the spec
2014-12-03 13:50:04 +01:00
Christian
e6902e070e Import directive. 2014-12-03 10:44:46 +01:00
Lefteris Karapetsas
0cc271fae9 Handle absence of Natspec doc and add option to solc 2014-12-02 11:03:34 +01:00
Christian
ad4b027781 Provide interface for calls in JSON and some other formatting changes. 2014-11-11 17:41:48 +01:00
Christian
7594813e1e Option to activate the optimizer for solidity. 2014-11-06 22:55:42 +01:00
Christian
8c384232eb Converted all asserts to exceptions. 2014-11-05 15:01:24 +01:00
Christian
9eb7fd274c Function selector and variable (un)packing. 2014-10-30 21:21:25 +01:00
Christian
877aa91c57 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.
2014-10-30 01:25:42 +01:00
Christian
03a6cf0e81 Compiler for assignments. 2014-10-29 14:33:25 +01:00
Christian
f6fabb268b Merge remote-tracking branch 'ethereum/develop' into sol_contractCompiler
Conflicts:
	libsolidity/Types.cpp
2014-10-29 13:54:36 +01:00
Christian
2e5e7e6762 Corrected file description. 2014-10-25 18:31:54 +02:00
Gav Wood
c9f62cefda Remove stupid assertion.
Add licence header to solc.
2014-10-25 17:13:40 +02:00
Christian
221975bce8 Expression compiler. 2014-10-24 19:38:13 +02:00
Christian
fa256b7f95 Use boost errinfo. 2014-10-23 21:37:57 +02:00
Christian
892f15cd9f Improved exceptions and reporting exceptions for command-line compiler. 2014-10-23 16:43:50 +02:00
Christian
309ac55e36 Pointer type cleanup: Use ASTPointer only for AST nodes and shared_ptr for type
pointer.
2014-10-20 16:23:49 +02:00
Christian
8c0b7054f3 Corrected coding style. 2014-10-16 14:08:54 +02:00
Christian
3e72f3d455 Name resolution. 2014-10-13 17:02:21 +02:00
Christian
7ece4e4ed1 AST printer and command line tool, some fixes. 2014-10-10 16:47:21 +02:00