-
Notifications
You must be signed in to change notification settings - Fork 102
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
Add: add neo smart contract syntax analyzer #839
Conversation
Co-authored-by: Shargon <[email protected]>
Co-authored-by: Shargon <[email protected]>
Will add syntax analyer for using |
Add syntax check for UInt160 and ECPoint assignment format check |
UTs |
@shargon now good to go. |
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.
How can we use this analyser in the smart contract?
@shargon now use this analyer in the examples to demonstrate how to use it. |
Thanks @Jim8y, now is ready for me |
…vpack-dotnet into feature-lamda * 'feature-lamda' of https://github.com/Ashuaidehao/neo-devpack-dotnet: Add: add neo smart contract syntax analyzer (neo-project#839)
This pr adds the syntax rules of the neo smart contract.
It:
All baned syntax will show errors in the IDE.
Code Fix:
double => long;
float => int;
out => local variable and return value;
anonymous function => methods;