namechange

This commit is contained in:
Torsten Ruger
2014-07-29 18:33:11 +03:00
parent da9a57b3cf
commit 7b6f364ba8
24 changed files with 34 additions and 34 deletions

View File

@ -1,6 +1,6 @@
### Ast
The Ast (abstract syntax tree) is created by kide-reader gem and the classes defined there
The Ast (abstract syntax tree) is created by salama-reader gem and the classes defined there
### Compiling

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 kide (executable), not ruby. ie throw an error for now
# if not, execute it, but that does means we should be in salama (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 )