Sha256: 093d92fb14071f27b6ebe8dd15bceed2ae2deb45d363d86ec1b4cd5885ddd775

Contents?: true

Size: 149 Bytes

Versions: 2

Compression:

Stored size: 149 Bytes

Contents

module Basic101

  class Parser < Parslet::Parser

    rule(:goto_statement) do
      str('GOTO').as(:goto) >> space? >> integer
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
basic101-0.4.0 lib/basic101/parser/goto_statement.rb
basic101-0.2.0 lib/basic101/parser/goto_statement.rb