make elf symbols optional

and default to false. Smaller executables  by at least half
also add option for compiler cli
This commit is contained in:
2019-09-03 02:02:21 +03:00
parent 160d860db2
commit 91995dc1b3
5 changed files with 21 additions and 115 deletions

View File

@ -15,7 +15,7 @@ module RubyX
end
def test_file_open
assert_output(/compiling/) {RubyXC.start(["compile" , "test/mains/source/add__4.rb"])}
File.delete "add__4.o"
#File.delete "add__4.o"
end
def test_interpret
assert_output(/interpreting/) {RubyXC.start(["interpret" , "test/mains/source/add__4.rb"])}