-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
## sCrypt 0.1.0 | ||
* JavaScript bindings for the compiler: [scryptc @npm](https://www.npmjs.com/package/scryptc) | ||
|
||
* Multiple contracts in one file | ||
|
||
* Support `import` dependencies | ||
|
||
* Standard libraries | ||
|
||
* Report multiple compiling errors and do not abort at first error | ||
|
||
* Supprt contract `reflection` | ||
|
||
* Support `this` to access contract variable and method | ||
|
||
* Call contract methods | ||
|
||
* Make constructor optional | ||
|
||
* Public function also returns like other functions, `returns (bool)` and `return true` by default if not specified. | ||
|
||
* Improve error messages significantly to help identify source of compiling error; also aggregate similar errors to reduce verbosity | ||
|
||
* Supprt `***` statement to insert `OP_CODESEPARATOR` | ||
|
||
* Support `exit()` to terminate contract execution | ||
|
||
* Add `pack()` and `unpack()` to convert between `int` and `bytes` | ||
|
||
* Change `0x` prefix to denote `int` literal in hex and `b""` for `bytes` literal | ||
|
||
* Rename `size()` to `length()` | ||
|
||
* Add type `PrivKey` | ||
|
||
* Overload `==` for `int` and `bytes` | ||
|
||
* Support `OP_PUSHDATA2` and `OP_PUSHDATA4` | ||
|
||
* Improve scryptc CLI | ||
- output script as json | ||
- output AST json as well | ||
- output to a specified directory | ||
- output dependency ASTs | ||
- output debug mode for more info, besides script | ||
- input from stdin | ||
|
||
* Numerous bug fixes and refactors | ||
- minimally encode `int` | ||
- lower S in DER signature | ||
- throw when `OP_PUSHDATA` data exceeding 4GB |