10 Commits

Author SHA1 Message Date
c18ec8c3f7 DEV: Unify package loading to one place.
Also record the list of locations we need to import from.
2020-05-25 11:01:38 -04:00
d092fba5e8 DEV: More of the ucg commandline works now. 2019-10-17 17:58:03 -05:00
e256abfee6 DEV: Plugin the VM to our FileBuilder.
Most of the tests do not yet pass and the main.rs doesn't compile
but we are snapshotting here so we can start fixing unit tests
before we hook directly into the main.rs.
2019-10-17 17:57:06 -05:00
33a5694aad DEV: The great Error message explosion. 2019-10-17 17:57:05 -05:00
7bc98514bf DEV: pkg() functions *should* work now. 2019-10-17 17:57:05 -05:00
a36322461e DEV: And and Or operators work 2019-10-17 17:57:04 -05:00
a50eb46c5e FIX: Rc instead of borrows because the lifetimes get unweildy. 2019-10-17 17:57:03 -05:00
ed143b6a00 REFACTOR: modules and functions carry around a reference to their code. 2019-10-17 17:57:03 -05:00
da3e235942 DEV: Function and Module operations 2019-10-17 17:57:03 -05:00
b6c208fb97 REFACTOR: Keep the bytecodes in memory
This will help us implement functions and modules.
Also move each of the operations into a separate method.
This will help the readability of our run method.
2019-10-17 17:57:03 -05:00