-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ride vm and compiler. #438
Draft
Frozen
wants to merge
61
commits into
master
Choose a base branch
from
ride_vm_fsm
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 55 commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
f7bff52
Stateful compiler.
Frozen 393bea6
Context for func execution.
Frozen c32e887
Function definition passed tess.
Frozen 1975cd8
Uncomment completed tests.
Frozen fb77419
Pass args as reference.
Frozen d20052b
Pass args as mem storage.
Frozen 197130e
Global variables.
Frozen 980f91f
Get attribute vm.
Frozen b11b59e
Odd byte codes.
Frozen 3f70cd3
Stagenet tests.
Frozen 03e9286
Cells for variables.
Frozen 3165334
Fix bug with if stmt.
Frozen f4c6943
Cache function result as variable.
Frozen ae6f02a
Function arguments.
Frozen 86f9281
Cache variable result.
Frozen f6a69e9
Clear cache.
Frozen 0fd9f97
Fix clear cache.
Frozen 219cf08
Reverse assigments.
Frozen 2f51036
Deferred code.
Frozen 9e7f14c
Property state.
Frozen 0296798
Call function.
Frozen 9c0d640
Property invocation changed.
Frozen 8f7a32a
Property bytecode checked in tests.
Frozen f01939c
Reversed tree.
Frozen 4bdddaa
Fix transitions.
Frozen d983007
Merge branch 'master' into ride_vm_fsm
Frozen 415c5c1
Fix transitions.
Frozen b43481d
Fix functions.
Frozen f755658
Fix functions.
Frozen 33f2f24
Save entrypoints into meta.
Frozen 36be49d
Testnet random script.
Frozen 1b6f2ff
Passed testnet.
Frozen 8a2b1cd
Enabled cache.
Frozen 598f0aa
Merge branch 'master' into ride_vm_fsm
Frozen 78afd85
Merged master.
Frozen ff8c959
Switchable bloom filter.
Frozen 60410b4
Fix tests.
Frozen cc3d021
Merge branch 'optional_bloom_filter' into ride_vm_fsm
Frozen b70c14b
Code clean up and returned back debug info.
Frozen 3e16ec5
Fix panic.
Frozen 73a8ce5
Remove caching duplicates.
Frozen 349c863
Expanded tree.
Frozen 9c1b500
Rewrite tree by using immutable context with variables.
Frozen 74b8cf3
Fix problems with tree expand.
Frozen be99ac9
Fix naming.
Frozen 5d035b3
Remove unused code.
Frozen 8b64449
Fix vetcheck errors.
Frozen 366b203
Fix vetcheck errors.
Frozen ba560d8
Set up go 1.16
Frozen 6c06ca0
Merge branch 'master' into ride_vm_fsm
Frozen b50a0c7
Rewrite path.
Frozen 15d0cb0
Removed fmtcheck.
Frozen 2e6c584
Clean code in tree evaluator.
Frozen 2c1c208
Fix small errors.
Frozen f86c981
Clean up compiler.
Frozen 1d6f34a
Fix bug with var override in condition stste.
Frozen 80bfd76
Merge remote-tracking branch 'origin/expand_tree_rewrite_path' into r…
Frozen a644a73
Fix bug with nil values and duplicate vars in conditional state.
Frozen cee2edc
Merge remote-tracking branch 'origin/master' into ride_vm_fsm
Frozen 0c792d4
Updated mocks.
Frozen 48d19f8
Added skip file compiler_heplers
esuwu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
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
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
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
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,35 @@ | ||
package ride | ||
|
||
const fcall1 = ` | ||
func getInt(key: String) = { | ||
match getInteger(this, key) { | ||
case x : Int => x | ||
case _ => 0 | ||
} | ||
} | ||
|
||
let a = getInt("5") | ||
let b = getInt("6") | ||
a == b | ||
` | ||
|
||
const finf = ` | ||
func abc() = { | ||
func in() = { | ||
true | ||
} | ||
in() | ||
} | ||
abc() | ||
` | ||
|
||
const intersectNames = ` | ||
{-# STDLIB_VERSION 3 #-} | ||
{-# SCRIPT_TYPE ACCOUNT #-} | ||
{-# CONTENT_TYPE EXPRESSION #-} | ||
func inc(v: Int) = v + 1 | ||
func call(inc: Int) = { | ||
inc(inc) | ||
} | ||
call(2) == 3 | ||
` |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to skip a package instead of removing fmtcheck at all in case if it's hard to fix style and stuff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tried all possible ways - skip, ignore, fix, upgrade. Nothing helps.