lib/rubasteme.rb in rubasteme-0.1.4 vs lib/rubasteme.rb in rubasteme-0.1.5

- old
+ new

@@ -1,12 +1,17 @@ # frozen_string_literal: true require "rbscmlex" +require_relative "rbscmlex/missing" module Rubasteme def self.lexer(obj) Rbscmlex::Lexer.new(obj) + end + + def self.parse(source) + parser.parse(lexer(source)) end require_relative "rubasteme/error" require_relative "rubasteme/utils" require_relative "rubasteme/ast"