We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
a = 2; [1, 2].each{|i| a = i + a}; puts a
5
a=3;p "#{b=2}#{a+b}"
"26"
"25"
"\n".ord
p '\n'
"\33[2J"
The text was updated successfully, but these errors were encountered:
Merge pull request #27 from hasumikin/more_syntaxes
4d69307
#6
No branches or pull requests
mruby integration
indispensable
mruby3
simple keywords
particularly important on microcontroller
conditional
syntax sugar
block, lambda
a = 2; [1, 2].each{|i| a = i + a}; puts a
=>5
...OP_GETUPVAR, OP_SETUPVARdefinition
method parameters
exception
nice to have
Improvements
should be fixed
a=3;p "#{b=2}#{a+b}"
=>"26"
(should be"25"
). I may have to gather lvars before making VM code"\n".ord
=> 10,p '\n'
prints "\\n")"\33[2J"
p a
end
The text was updated successfully, but these errors were encountered: