Sha256: 6d4977bcb9e96032cace40714a8035b06ee0cad60ebd6bbe02d912d2818cae95

Contents?: true

Size: 433 Bytes

Versions: 1

Compression:

Stored size: 433 Bytes

Contents

require 'ubygems'
require 'treetop'
require 'pp'
str='abc\\"'
str="0 \000"
str="0 \\\\"
str="\200\201\202\203\204\205\206\207\210"

str='"'+str+'"'

pp str

str.each_byte{|x|pp x}

#Treetop.load File.expand_path("../treetop_test_grammar.tt",__FILE__)
#parser = TreetopTestGrammarParser.new
Treetop.load File.expand_path("../../simple_marshal_parser.tt",__FILE__)
parser = SimpleMarshalParser.new
result = parser.parse(str)
pp result

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appswarm-0.0.1 lib/appswarm/tools/treetop_test.rb