Add mom boot options

and remove a lot of stale parfait boots from tests
(from before using rubyxc)
This commit is contained in:
2019-09-07 16:43:47 +03:00
parent 1539904ee2
commit 2c681bf2e5
25 changed files with 16 additions and 39 deletions

View File

@ -26,7 +26,7 @@ module Mom
#
# We create an empty main for init to jump to, if no code is compiled, that just returns
# See Builtin directory readme and module
def self.boot_functions()
def self.boot_functions( options = {})
# TODO go through the virtual parfait layer and adjust function names
# to what they really are
compilers = []

View File

@ -13,8 +13,8 @@
module Mom
# boot bubiltin function (subject to change)
def self.boot!
Builtin.boot_functions
def self.boot!(options = {})
Builtin.boot_functions(options)
end
end

View File

@ -42,6 +42,5 @@ module Mom
Risc::RiscCollection.new(riscs)
end
end
end