Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
8c9e57f
Add --standard-json to solc
axic Feb 9, 2017
5754b13
Add StandardCompiler skeleton
axic Feb 9, 2017
985db17
Initial implementation of StandardCompiler
axic Feb 10, 2017
4f3c763
Export StandardCompiler as compileStandard in soljson
axic Mar 16, 2017
418759e
Catch exceptions of StandardCompiler
axic Mar 17, 2017
13fa440
Parse optimizer settings in StandardCompiler
axic Mar 17, 2017
81775b2
Parse libraries in StandardCompiler
axic Mar 17, 2017
ce87984
Parse remappings in StandardCompiler
axic Mar 17, 2017
f8cb076
Add formatFatalError() to StandardCompiler
axic Mar 21, 2017
4eaee77
Capture error messages from the JSON parser
axic Mar 29, 2017
115458c
Output legacyAssembly in StandardCompiler
axic Mar 29, 2017
50bb24a
Include source mapping identifier
axic Mar 29, 2017
5aec120
Support the AST output
axic Mar 29, 2017
2c15e2b
Fail if no sources are given
axic Mar 29, 2017
b3c6b1e
Refactor formatError
axic Mar 29, 2017
f25efce
Support proper error reporting in StandardCompiler
axic Mar 29, 2017
63b6d00
Support methodIdentifiers
axic Mar 29, 2017
a87dd17
Move opcodes inside the bytecode section
axic Mar 29, 2017
2df52ed
Support new assembly output
axic Mar 29, 2017
ad1fe86
Support linkReferences
axic Mar 30, 2017
ef559de
Properly split contract filename and name
axic Mar 30, 2017
df7e703
Support the metadata.useLiteralContent setting
axic Mar 30, 2017
77d5148
Reject import URLs for now
axic Mar 30, 2017
b513db7
Support gas estimates in StandardCompiler
axic Apr 10, 2017
aa0776d
Support Why3 in StandardCompiler
axic Apr 11, 2017
413c146
Enclose local functions in a namespace
axic Apr 19, 2017
6d13260
Pull out collectEVMObject
axic Apr 19, 2017
f71b465
Ensure the language field is present in the JSON
axic Apr 19, 2017
10ec334
Add basic tests for StandardCompiler
axic Apr 19, 2017
137ef78
Trigger cases by the JSON (and not string) interface
axic Apr 19, 2017
a24ac2f
Add compilation test and verify output
axic Apr 19, 2017
6ae7a87
Rename ast to legacyAST in StandardCompiler
axic Apr 19, 2017
5732ffd
Update changelog
axic Apr 19, 2017
c29da75
Add test for bytecode
axic Apr 20, 2017
74373ec
Add test for legacyAST
axic Apr 20, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
### 0.4.11 (unreleased)

Features:
* Implement the Standard JSON Input / Output API
* Support ``interface`` contracts.
* C API (``jsonCompiler``): Add the ``compileStandard()`` method to process a Standard JSON I/O.
* Commandline interface: Add the ``--standard-json`` parameter to process a Standard JSON I/O.
* Commandline interface: Support ``--allow-paths`` to define trusted import paths. Note: the
path(s) of the supplied source file(s) is always trusted.

Expand Down
11 changes: 7 additions & 4 deletions docs/using-the-compiler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ Input Description
//
// The available output types are as follows:
// abi - ABI
// ast - AST of all source files
// ast - AST of all source files (not supported atm)
// legacyAST - legacy AST of all source files
// why3 - Why3 translated output
// devdoc - Developer documentation (natspec)
// userdoc - User documentation (natspec)
Expand Down Expand Up @@ -155,9 +156,9 @@ Input Description
"*": {
"*": [ "evm.sourceMap" ]
},
// Enable the AST and Why3 output of every single file.
// Enable the legacy AST and Why3 output of every single file.
"*": {
"": [ "ast", "why3" ]
"": [ "legacyAST", "why3" ]
}
}
}
Expand Down Expand Up @@ -197,7 +198,9 @@ Output Description
// Identifier (used in source maps)
id: 1,
// The AST object
ast: {}
ast: {},
// The legacy AST object
legacyAST: {}
}
},
// This contains the contract-level outputs. It can be limited/filtered by the outputSelection settings.
Expand Down
Loading