47f7b0e609
This change moves the workspace and Mufile detection logic out of the compiler package and into the workspace one. This also sketches out the overall workspace structure. A workspace is "delimited" by the presence of a .mu/ directory anywhere in the parent ancestry. Inside of that directory we have an optional .mu/clusters.yaml (or .json) file containing cluster settings shared among the whole workspace. We also have an optional .mu/stacks/ directory that contains dependencies used during package management. The notion of a "global" workspace will also be present, which is essentially just a .mu/ directory in your home, ~/.mu/, that has an equivalent structure, but can be shared among all workspaces on the same machine. |
||
---|---|---|
.. | ||
binder | ||
compiler | ||
parsetree | ||
.mu |