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
Local variables Input lisp:
(let [x (+ 1 2) ] )
compiles to:
x = 1 + 2
which evaluates to:
3
Global variables Input lisp:
(def input "Hello")
$input = "Hello"
"Hello"
The text was updated successfully, but these errors were encountered:
For the let you may want to think a bit about limiting the scope of the variable.
(let [x 1] x + x) x
This should error at the end as x is undefined, however it would not error if we compiled it to this ruby:
x
x = 1 x + x x
Instead we might want something like this
begin x = 1 x + x end x
Sorry, something went wrong.
Noted. :) 👍
No branches or pull requests
Local variables
Input lisp:
compiles to:
which evaluates to:
Global variables
Input lisp:
(def input "Hello")
compiles to:
which evaluates to:
The text was updated successfully, but these errors were encountered: