Module: Cirru::Sepal

Defined in:
lib/cirru/sepal.rb,
lib/cirru/sepal/version.rb

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.compile(code, file) ⇒ Object



8
9
10
11
12
# File 'lib/cirru/sepal.rb', line 8

def self.compile(code, file)
  tree = Cirru::Parser.pare code, file
  ast = program tree
  generateCode ast
end