Merged
Conversation
Before: b.storeUint(0x18, 6) Now: b.storeUint(0,1).storeUint(1,1)... The compiler is able to join consecutive stores of const values. It works at the IR level, not at AST. That's why it works after constant folding: > x = 0; > b.storeUint(x, 10); > x = 1; > if (x==1) b.storeUint(x, 10); Merged to "store 1, 20." Same for skip bits, also merged.
Allow `fun address.staticMethod`. Before, it was not allowed due to a global `address` function. Now, the type has more precedence.
Then `match` is the last statement, or is immediately followed by `return`, generate not `IF...ELSE` to Fift output, but `IFJMP...`. Same for `if/else` statement.
Features: - extra currencies - stateInit (code+data) with automatic address computation - different workchains - sharding (formerly splitDepth) - auto-serialized body - auto-detect "body ref or not" - more efficient than handwritten code
Before, `++i` was valid (and did nothing, --1 is 1), probably unexpected
A pre-release one (although many optimizations are yet to come)
Tolk v0.99: universal message composition
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.