Sha256: e53e75af94b8d02795284421f894a804a8e62ac47a4a9ad5e32d51a7bda4f727
Contents?: true
Size: 348 Bytes
Versions: 20
Compression:
Stored size: 348 Bytes
Contents
#!/usr/bin/env ruby lib = File.expand_path("../../lib", __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) $VERBOSE = nil require "bundler/setup" require "ruby-next/language" contents = if File.exist?(ARGV[0]) File.read(ARGV[0]) else ARGV[0] end ast = RubyNext::Language.parse(contents) puts Unparser.unparse(ast)
Version data entries
20 entries across 20 versions & 1 rubygems