Sha256: ec5a7d226813dbb2cce10b978b0357a759db90356959c2290809a9c62e8589b8

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'bundler/setup'
require 'fast'
require 'fast/sql'

def s(type, *children)
  Parser::AST::Node.new(type, children)
end

def code(string)
  Fast.ast(string)
end

def sql(string)
  Fast.parse_sql(string)
end

def reload!
  load 'lib/fast.rb'
end

require 'pry'
Pry.start

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ffast-0.2.2 bin/console