-
Notifications
You must be signed in to change notification settings - Fork 139
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
Compiler Milestone 2: More realistic FT subset #3742
Comments
@SupunS We might also want to add scoping to the list, as there are a few TODOs in the compiler for that |
@jsproz Can you please add your name to the item(s) you're working on? That way we can avoid accidental duplicate work. Thank you! |
I wasn't sure if we actually need any scoping at the compiler level, other than functions. Didn't run into any case where we would need such. So left those alone for now. Maybe we can create an issue, but might not actually need to do anything there, and all it need could be to clean-up the TODO s. |
one item I saw (I know you didnt implement yet scoping but as a note ) function argument shadowing and interface post conditions I saw recently when playing with your PR. |
@SupunS Not sure, but from what I can see, it looks like all comparison operators (<, ≤, etc.) are already implemented in the compiler and the VM. Was there anything left to be done there? |
@turbolent I had added those operators for So what's left is to support the same for other numeric types / or make the existing opcode generic. But maybe that can wait till we port the number values? |
@SupunS Ah, I see! It looks like at the moment we only have a basic To begin with, we can maybe make the Later we can optimize this and add dedicated sets of instructions for each type ( |
Yeah, agree! Having a dedicated instruction for each type would be an overkill. Given |
The goal of this milestone is to support most of the language features needed for the FT transfer transaction and contracts.
FT (everything expect closures)
Not needed:
The text was updated successfully, but these errors were encountered: