module Rockstar
Constants
- VERSION
Public Class Methods
parse(input)
click to toggle source
# File lib/rockstar.rb, line 7 def self.parse(input) RockstarParser.new.parse(input) rescue Parslet::ParseFailed => failure puts failure.parse_failure_cause.ascii_tree end
transform(tree)
click to toggle source
# File lib/rockstar.rb, line 13 def self.transform(tree) RockstarTransformer.new.apply(tree) end
transpile(input)
click to toggle source
# File lib/rockstar.rb, line 17 def self.transpile(input) transform(parse(input)) end