Sha256: 735ff2282089f1835c0141555abc70403e59c7d0ca75b08f21cf8de665fa6b97

Contents?: true

Size: 236 Bytes

Versions: 1

Compression:

Stored size: 236 Bytes

Contents

$DEBUG = true
$: << "../../../../lib"
require 'java'

#str = "FOR A := 1 TO 3 S:= S + A PRINT S NEXT"
str = "!="
pa = Java::Grammar.interpreting_parser(Packrat::ErrorLoggingInterpretingParser)
res = pa.parse_string(str, :Symbol)
p res

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rockit-0.7.2 tests/acceptance/packrat/java/t.rb