You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And reduces the time that has to be invested to add the expression.
in the case of my compiler, it is sufficient to add an opcode and express the data order
this without adding possible critical issues in this new syntax #261
this is not allowed in latest SB. you can't use same name for a constant and variable.
i think i am getting confused. the constant a is 6@ but &a is a variable called a and this name cannot be used, why is it already reserved in a constant? then how would it pass compiled?
wait wait, so if _actor is $_actor, then using it would also be an invalid operation?
oh my god, the new Sanny builder syntaxes make me dizzy 😵💫
so, no, it should be treated differently
Are you going to set up a temporary variable system that does not affect the use of local and global variables used by the script being developed?
Activity
MatiDragon-YT commentedon Apr 24, 2024
The implementation of this expression can be quite complex, not only for the compiler but also for the users.
can disable constants and variables....
Is it possible to consider pasting the AND(&) symbol to the SAME(=) symbol?
In the SB documentation I did not see that this expression is reserved in something.
https://docs.sannybuilder.com/language/instructions/expressions
And reduces the time that has to be invested to add the expression.
in the case of my compiler, it is sufficient to add an opcode and express the data order
this without adding possible critical issues in this new syntax #261
x87 commentedon Apr 24, 2024
this is not allowed in latest SB. you can't use same name for a constant and variable.
in future it will be possible to use reference as an argument to function:
so, no, it should be treated differently
MatiDragon-YT commentedon Apr 25, 2024
i think i am getting confused. the constant
ais6@but&ais a variable calledaand this name cannot be used, why is it already reserved in a constant? then how would it pass compiled?wait wait, so if
_actoris$_actor, then using it would also be an invalid operation?oh my god, the new Sanny builder syntaxes make me dizzy 😵💫
Are you going to set up a temporary variable system that does not affect the use of local and global variables used by the script being developed?
or how will that work? can you give an example
x87 commentedon Apr 25, 2024
you can't use same name (foo) for const and variable. you will get a compiler error. it has nothing to do with & and this proposal.
something like this, not sure what exactly yet