Kevin Newton | Syntax Tree and lambda-local variables
19-May-2022 1062
I just released version 2.6.0 of Syntax Tree. Along with a couple of other changes, this includes support for lambda-local variable declarations. This was a bit of a journey, so I thought I’d write up how I discovered this syntax, how I added support for it to Syntax Tree, and go ahead and plug Syntax Tree one more time as something that should be merged into Ruby core.If you want to skip straight to the code, here’s the pull request.
Kevin Newton | Syntax Tree and lambda-local variables #ruby #rubydeveloper #rubyonrails #Kevin #Newton #Syntax #lambda-local #variables https://rubyonrails.ba/link/kevin-newton-syntax-tree-and-lambda-local-variables