modulize basic_value
This commit is contained in:
parent
fa14e35a50
commit
2b008dd3da
@ -1,6 +1,7 @@
|
|||||||
module Typed
|
module Typed
|
||||||
|
|
||||||
CompilerModules = ["assignment" , "call_site", "if_statement" ,"name_expression"]
|
CompilerModules = [ "assignment" , "basic_values" , "call_site", "if_statement" ,
|
||||||
|
"name_expression"]
|
||||||
CompilerModules.each do |mod|
|
CompilerModules.each do |mod|
|
||||||
require_relative "compiler/" + mod
|
require_relative "compiler/" + mod
|
||||||
end
|
end
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
module Typed
|
module Typed
|
||||||
# collection of the simple ones, int and strings and such
|
# collection of the simple ones, int and strings and such
|
||||||
|
|
||||||
Compiler.class_eval do
|
module BasicValues
|
||||||
|
|
||||||
# Constant expressions can by definition be evaluated at compile time.
|
# Constant expressions can by definition be evaluated at compile time.
|
||||||
# But that does not solve their storage, ie they need to be accessible at runtime from _somewhere_
|
# But that does not solve their storage, ie they need to be accessible at runtime from _somewhere_
|
||||||
|
Loading…
x
Reference in New Issue
Block a user