Commit Graph

40 Commits

Author SHA1 Message Date
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
Marek Kotewicz
7dbfde91e3 Merge branch 'develop' into js_abi 2014-11-14 14:08:44 +01:00
Christian
ad4b027781 Provide interface for calls in JSON and some other formatting changes. 2014-11-11 17:41:48 +01:00
Marek Kotewicz
a5e5516a01 Merge branch 'develop' into js_abi
Conflicts:
	libjsqrc/main.js
	libweb3jsonrpc/WebThreeStubServer.cpp
	libweb3jsonrpc/WebThreeStubServer.h
	libweb3jsonrpc/abstractwebthreestubserver.h
	libweb3jsonrpc/spec.json
	test/webthreestubclient.h
2014-11-10 23:04:35 +01:00
Marek Kotewicz
a44bd8c987 merge 2014-11-10 22:51:10 +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
245efb0280 Merge remote-tracking branch 'ethereum/develop' into sol_contractCompiler
Conflicts:
	libsolidity/AST.cpp
	libsolidity/AST.h
	libsolidity/Compiler.cpp
	libsolidity/Compiler.h
	libsolidity/NameAndTypeResolver.h
	libsolidity/Types.cpp
	solc/main.cpp
	test/solidityCompiler.cpp
2014-10-31 17:20:27 +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
bb2b4ed3a3 Merge remote-tracking branch 'ethereum/develop' into sol_expressionCompiler
Conflicts:
	libsolidity/Types.cpp
2014-10-28 17:01:04 +01:00
Christian
3306835c9d Asterisk-syntax for doxygen class documentation. 2014-10-28 16:51:26 +01:00
Gav Wood
c3b65c8eab Merge pull request #418 from chriseth/dependencyCleanup
CMakeLists library dependency cleanup
2014-10-26 00:25:01 +02:00
Christian
2e5e7e6762 Corrected file description. 2014-10-25 18:31:54 +02:00
Christian
fd347fbf4e CMakeLists library dependency cleanup for libdevcore, libevmface, libsolidity and solc.
Fixes #417.
2014-10-25 18:00:49 +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