Parser for Ruby
Turn Ruby code into an abstract syntax tree.
whitequark · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
With Ruby 3.2 available, install parser at version 3.3.14.0. Parse one Ruby assignment and check its variable and integer value.
What we tested
3.3.14.0. Parse one Ruby assignment and check its variable and integer value. The syntax tree identified the local variable pear and integer value 5.