Commit Graph
100 Commits
Author SHA1 Message Date
chriseth 753e104cbc Use nodejs 6 2017-02-09 10:21:08 +01:00
chriseth 57662e1bf3 Add language and some minor corrections and clarifications. 2017-02-08 21:53:07 +00:00
chriseth 4fccb5fdac Document input description and metadata output. 2017-02-08 21:53:07 +00:00
chriseth a39adc44d4 Integrate missed changes. 2017-01-31 23:31:25 +01:00
chriseth ffe4ce0891 Version update 2017-01-31 19:37:55 +01:00
chriseth c08f659634 Changelog entry. 2017-01-27 14:09:19 +01:00
chriseth 0e021e76a5 Minor changes. 2017-01-27 11:19:48 +01:00
chriseth bff8fc23e6 Changelog and review suggestions. 2017-01-27 10:18:53 +01:00
chriseth a9c6ff4ac8 Refactor json return type generation. 2017-01-26 18:21:19 +01:00
chriseth 7660736aa2 Document special case of zero-initialized internal function. 2017-01-26 16:40:24 +01:00
chriseth a98fa41897 Uninitialized internal function should call INVALID. 2017-01-26 16:39:07 +01:00
chriseth d9fbb83861 Allow inserting low-level functions without calling them. 2017-01-26 16:39:07 +01:00
chriseth 390bebaaf9 Split line. 2017-01-26 16:39:07 +01:00
chriseth ae2b59d18a Fix optimizer with regards to INVALID instruction. 2017-01-26 16:39:07 +01:00
chriseth c2b3d8bcd2 Change code for INVALID opcode to 0xfe. 2017-01-26 16:39:07 +01:00
chriseth 873f2dddd6 Update error message. 2017-01-26 13:52:02 +01:00
chriseth 8e29d636f7 Header cleanup. 2017-01-26 13:47:57 +01:00
chriseth 1b097fd3c7 Proper error reporting for assembly mode. 2017-01-26 13:45:23 +01:00
chriseth 525758a130 Disallow assignment to non-identifiers. 2017-01-26 13:40:40 +01:00
chriseth f62e269115 Disallow instructions in assignment. 2017-01-25 17:29:06 +01:00
chriseth 946a63c26f Add test for assignment. 2017-01-25 17:27:01 +01:00
chriseth a5696e1f0a Renamed function. 2017-01-25 17:26:11 +01:00
chriseth 27ba665694 Moved test. 2017-01-25 17:24:43 +01:00
chriseth 8e318181e9 Rewording in changelog. 2017-01-25 17:24:25 +01:00
chriseth 87f744ae5e Add some more tests for the checksum routine. 2017-01-25 10:45:21 +01:00
chriseth d855eaab13 Documentation. 2017-01-24 23:37:48 +01:00
chriseth 3949624a61 Also check library addresses. 2017-01-24 23:37:48 +01:00
chriseth 605455f96b Tests for library checksums. 2017-01-24 23:37:48 +01:00
chriseth 1316bb7565 Warn about invalid checksums of addresses. 2017-01-24 23:37:48 +01:00
chriseth ead1a3b33f Include creation code only once. 2017-01-24 17:41:31 +01:00
chriseth 8e5f1c0d50 Test double inclusion of bytecode. 2017-01-24 17:41:31 +01:00
chriseth 7e6f1b3f00 Use int arithmetics for stack adjustment. 2017-01-24 12:07:09 +01:00
chriseth 23eca813f5 Change clearStorageLoop to TypePointer. 2017-01-24 12:07:09 +01:00
chriseth 1b87e08e04 Changelog entry. 2017-01-24 12:07:08 +01:00
chriseth 82a00e7dc5 Use shared_ptrs to enable shared_from_this. 2017-01-24 12:06:41 +01:00
chriseth cea020b89e Convert ArrayUtils routines into low-level functions. 2017-01-24 12:06:40 +01:00
chriseth b60623521f Move some util functions to low-level functions. 2017-01-24 12:06:40 +01:00
chriseth d0e8d340a5 Low level named functions for CompilerContext. 2017-01-24 12:06:40 +01:00
chriseth dea59bfbdc Test for initializing recursive structs. 2017-01-24 12:06:40 +01:00
chriseth 997f5d751a Create functional assembly output, if possible. 2017-01-24 01:09:55 +01:00
chriseth c6207e2761 Make token constructible. 2017-01-20 19:50:25 +01:00
chriseth 61a15bb92e Test that all constructible std contracts produce bytecode. 2017-01-20 19:50:14 +01:00
chriseth 0ef460461a Check if constructor is public or not. 2017-01-20 19:22:39 +01:00
chriseth df4ef74199 Add tests for internal constructor. 2017-01-20 19:22:39 +01:00
chriseth 2536bdd6d0 Report source location on "stack too deep" errors. 2017-01-20 19:01:19 +01:00
chriseth 7159944f0f Reset AST node IDs between compilation runs. 2017-01-20 12:00:16 +01:00
chriseth da178d967f Properly escape user strings and lists. 2017-01-19 13:23:58 +01:00
chriseth 3fed790a56 Type identifiers. 2017-01-19 13:23:57 +01:00
chriseth 23a654ade8 Fix default function type name visibility. 2017-01-19 11:11:40 +01:00
chriseth d3a391c136 Provide fallback for linking. 2017-01-18 17:41:36 +01:00
chriseth c16e141ffb Fix JSON output on macos. 2017-01-18 14:09:40 +01:00
chriseth 99eaadd2cd Deterministic AST node identifiers. 2017-01-17 10:45:45 +01:00
chriseth 10c2df8b33 Update version to 0.4.9. 2017-01-13 13:56:55 +01:00
chriseth 3cfa851f6f Minor changes from review. 2017-01-12 17:53:06 +01:00
chriseth a32def5c42 Changelog entry. 2017-01-12 17:52:50 +01:00
chriseth d34b561f68 Windows build fix. 2017-01-12 17:52:27 +01:00
chriseth 58509ca3aa Fix match groups. 2017-01-12 17:52:27 +01:00
chriseth 7127f2fdfd Fix debug output. 2017-01-12 17:52:27 +01:00
chriseth da5e171f3b Optimize constant optimization. 2017-01-12 17:52:27 +01:00
chriseth f1a4976ce6 Optimise simplification rules (sort into bins). 2017-01-12 17:52:26 +01:00
chriseth a3b01eca27 Do not evaluate strings if assertion succeeds. 2017-01-12 17:52:26 +01:00
chriseth 652d8dab19 Optimize pattern matcher. 2017-01-12 17:52:26 +01:00
chriseth afad40ac5a Optimise AssemblyItem::m_data. 2017-01-12 17:52:26 +01:00
chriseth 4713dd625d Fix error tag usage in lll. 2017-01-23 15:46:03 +01:00
chriseth ceac5c5a0c Move explanatory sections and other small changes. 2017-01-09 15:15:30 +01:00
chriseth 1cecaab9b6 Replace `` by $(). 2017-01-09 12:14:01 +01:00
chriseth e45510d02f Create source tarballs for releases. 2017-01-04 13:21:41 +01:00
chriseth e92af89ec8 Typos and clarifications. 2017-01-04 12:58:35 +01:00
chriseth 4bc934abce More information about switch, loops and functions. 2017-01-04 12:34:44 +01:00
chriseth 9683cfea6d Update to new assembly specification. 2017-01-03 15:19:14 +01:00
chriseth 49ac2a1ee5 Rename programSize to bytecodeSize. 2017-01-03 14:13:49 +01:00
chriseth a285ca44f2 Assembly output for Assembly object. 2017-01-03 14:13:49 +01:00
chriseth 0bd8c204f0 Assembly definition. 2017-01-03 14:13:49 +01:00
chriseth 941b5fd928 Require stable nodejs for deployment. 2017-01-03 13:58:54 +01:00
chriseth 7ce7d3e74c Update develop version. 2016-12-15 14:03:31 +01:00
chriseth 11b9abfff3 Update changelog for release. 2016-12-15 12:15:09 +01:00
chriseth 08a11e309f Fix tests. 2016-12-13 17:02:28 +01:00
chriseth e9d3327ad6 Use correct type for storing. 2016-12-13 16:50:50 +01:00
chriseth f7e219ed91 Update documentation. 2016-12-13 16:43:16 +01:00
chriseth 56a027bedc Use multiple URLs for metadata. 2016-12-13 16:37:48 +01:00
chriseth 0e0d5d47c0 Renamed padToWordBoundaries -> padToWords 2016-12-12 23:43:21 +01:00
chriseth cc11739928 Documentation. 2016-12-12 11:12:12 +01:00
chriseth 2fac1d23a7 Tests for bytes. 2016-12-12 11:12:12 +01:00
chriseth 7bc2ecf30a Correct test expectations. 2016-12-12 11:12:12 +01:00
chriseth ffccbd432a Display tx hash for debugging. 2016-12-12 11:12:12 +01:00
chriseth 2738045030 Cleaner shift handling and type conversion for binary operations. 2016-12-12 11:12:12 +01:00
chriseth 2df60bec92 Type after shift should be type of left operand. 2016-12-12 11:12:12 +01:00
chriseth 81d7e0233a Changelog entry. 2016-12-11 17:58:22 +01:00
chriseth bfa4f45116 Split memcopy into three functions. 2016-12-11 17:57:15 +01:00
chriseth 4184525d4a Fix inline assembly. 2016-12-11 17:57:15 +01:00
chriseth 6a40318138 Display tx hash for debugging. 2016-12-09 20:29:02 +01:00
chriseth d1c71b7826 Also provide value and format slightly differently. 2016-12-06 23:52:39 +01:00
chriseth 86953ca3e4 Option to show messages in tests. 2016-12-06 22:31:20 +01:00
chriseth 5098e1eb15 Count instructions without metadata hash. 2016-12-01 16:04:47 +01:00
chriseth f1907bbb12 Add the _runs parameter. 2016-12-01 16:04:00 +01:00
chriseth f91ae3f06b Fix tests 2016-12-01 16:03:59 +01:00
chriseth 6a7ff039df Use CBOR encoding. 2016-12-01 16:03:59 +01:00
chriseth e0d4a3d518 Fix emscripten build. 2016-12-01 16:03:59 +01:00
chriseth 1316c0c872 Fix documentation error. 2016-12-01 16:03:59 +01:00
chriseth 1e35526eb6 Fix tests. 2016-12-01 16:03:59 +01:00