Install ruby-treetop by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-treetop
Description:
Ruby-based text parsing and interpretation DSL
Treetop is a language for describing languages. It provides a Ruby implementation of a custom language based on parsing expression grammars (PEGs). . This package provides the Ruby library implementation of treetop.
Homepage: https://github.com/cjheath/treetop
Version: 1.6.8-1
Section: universe/ruby