had to let go of crystal (sniff) as the name was taken

This commit is contained in:
Torsten Ruger
2014-07-17 01:00:15 +03:00
parent f8e3f17660
commit fb105cb895
24 changed files with 34 additions and 34 deletions

View File

@ -7,7 +7,7 @@ module Ast
context.current_class = clazz
expressions.each do |expression|
# check if it's a function definition and add
# if not, execute it, but that does means we should be in crystal (executable), not ruby. ie throw an error for now
# if not, execute it, but that does means we should be in sapphire (executable), not ruby. ie throw an error for now
raise "only functions for now #{expression.inspect}" unless expression.is_a? Ast::FunctionExpression
puts "compiling expression #{expression}"
expression_value = expression.compile(context )