goby-lang / goby

Goby - Yet another programming language written in Go
MIT License
3.48k stars 171 forks source link

Test and simplify Goby's lib path assignment #846

Open st0012 opened 4 years ago

st0012 commented 4 years ago

During VM initialization (in vm/vm.go), Goby will find and store a path (called libPath) for loading Goby's standard libraries that are written in Goby code.

Currently, there are some improvements need to be done on the mechanism, e.g. use brew command to find goby's installation path. But because it doesn't have enough test coverage yet, we need to first add some integration test cases for it.