Which Ruby analyzer do you suggest analyzing Ruby sources?

The analyzer I'm looking for should:

  • be Ruby friendly
  • be elegant in design rules,
  • Create user-friendly syntax errors
  • user documentation should be available in a volume greater than the example of a calculator,
  • UPD : allows you to omit optional spaces that spell the grammar.

Quick analysis is not an important feature.

I tried Citrus, but the lack of documentation and the need to specify every space in the rules just pushed me away from it.

+3
source share
1 answer

Or, if you want to parse Ruby yourself:

parse_tree and ruby_parser

Edit:

Ruby , tinyrb.

+4

Source: https://habr.com/ru/post/1779249/


All Articles