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

Version Path
ruby-next-core-1.1.0 bin/reparse
ruby-next-core-1.0.3 bin/reparse
ruby-next-core-1.0.2 bin/reparse
ruby-next-core-1.0.1 bin/reparse
ruby-next-core-1.0.0 bin/reparse
ruby-next-core-1.0.0.rc.1 bin/reparse
ruby-next-core-0.15.3 bin/reparse
ruby-next-core-0.15.2 bin/reparse
ruby-next-core-0.15.1 bin/reparse
ruby-next-core-0.15.0 bin/reparse
ruby-next-core-0.14.1 bin/reparse
ruby-next-core-0.14.0 bin/reparse
ruby-next-core-0.13.3 bin/reparse
ruby-next-core-0.13.2 bin/reparse
ruby-next-core-0.13.1 bin/reparse
ruby-next-core-0.13.0 bin/reparse
ruby-next-core-0.12.0 bin/reparse
ruby-next-core-0.11.1 bin/reparse
ruby-next-core-0.11.0 bin/reparse
ruby-next-core-0.10.5 bin/reparse