lib-ruby-parser lib-ruby-parser是用Rust编写的Ruby解析器。 基本用法: use lib_ruby_parser :: {Parser, ParserOptions, debug_level}; fn main () -> Result <(), Box < dyn>> { let options = ParserOptions { buffer_name: "(eval)" . to_string (), debug: debug_level :: PARSER, .. Default :: default () }; let mut parser = Parser :: new ( b"2 + 2" , options)?; pr