ChifiSource / Olive.jl

pure julia notebooks
MIT License
152 stars 6 forks source link

`Environments` #61

Closed emmaccode closed 1 year ago

emmaccode commented 1 year ago

So the project structure has been aching for another more appropriate and better-organized step for a while... I have now implemented the Environment. This simplifies the overall client structure, in its prior form there was a project open with dictionaries beneath it. Now there instead is an environment which encompasses all projects. The main advantage that this provides is the ability to work with projects more as parametric types. The two functions that accompany this are check!(::Project{<:Any}) and source_module!(::Project{<:Any}, ::String) where the String in the latter method is the module's name -- usually the file name prior to the dots.