Sha256: c1c13ebe663fdcbd4c364a2e5a51a99dae71256bdbc9bd12e7b8afd913a666fb

Contents?: true

Size: 278 Bytes

Versions: 28

Compression:

Stored size: 278 Bytes

Contents

#! /usr/bin/env ruby
require 'rubygems'
require 'ceml'
require 'pp'

begin
  str = ARGV[1] ? ARGV[1].dup : STDIN.read
  p = CEML::ScriptsParser.new
  if result = p.parse(str, :root => ARGV[0].to_sym)
    puts "worked!" # #{p.inspect}"
  else
    puts p.failure_reason
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
ceml-0.9.0 try
ceml-0.8.0 try
ceml-0.7.13 try
ceml-0.7.11 try
ceml-0.7.9 try
ceml-0.7.7 try
ceml-0.7.5 try
ceml-0.7.4 try
ceml-0.7.3 try
ceml-0.7.2 try
ceml-0.7.1 try
ceml-0.7.0 try
ceml-0.6.4 try
ceml-0.6.3 try
ceml-0.6.2 try
ceml-0.6.1 try
ceml-0.6.0 try
ceml-0.5.8 try
ceml-0.5.7 try
ceml-0.5.6 try