Dear Stewart, The commit you are mentioning goes back to 1998, and I don't know anything about it in particular. However, I can comment on its comment.
The base enviroment defines the core of the Mozart language, see http://www.mozart-oz.org/documentation/base/index.html. A pickle is a persistent data structure (see http://www.mozart-oz.org/documentation/system/node57.html#chapter.pickle), and any *.ozf file is a pickle as well. I understand Christian Schulte's comment that pickles should be independent of the computer where they have been created. Seemingly, they refer to the base environment (e.g., pickles can contain any stateless data defined in the base environment), so it would be a good idea if the base environment is static across multiple computers. I must say that I am a bit guessing here... Best, Torsten On 3 May 2011, at 13:53, stewart mackenzie wrote: > Hi Chris, > > Taking a step back to look at the problem and without being > antagonistic, the point of source code is for it to be compiled and > run. It is illogical and quite frankly incorrect for a .ozf file to be > included into the repo. > The troublesome thing is that after compiling share/lib/Base.oz and > comparing the size of that .ozf file to share/lib the file size is > almost double the size. > (this might be a good time to do a git bisect) > > Another thing is look at the comment for > https://github.com/mozart/mozart/commit/e009bbddb95e48f94be0ad1d6d8e3367e57f24d8 > > Whereas this earlier comment brings more information to light > https://github.com/mozart/mozart/commit/934a7bd6e44f0b423042900de57275724e5f2b24 > : > > " Base.ozf is now in the CVS > > Whenever the base environment has been changed, a new base environment > can be created by > make new-base > > The reason to have Base.ozf in the CVS is because it changes not very often > and created pickles will be include the same base environment regardless > where the system has been built. > " > > Does anyone have deeper knowledge about this? > > Kind regards > Stewart. > > On Sat, Apr 30, 2011 at 2:04 PM, Chris Double <[email protected]> > wrote: >> Why is share/lib/Base.ozf included in the source repository and not >> built? I noticed in stack traces that the path to this was being shown >> as the path of whoever's system it was actually built on. A 'make >> new-base' in 'share/lib' rebuilds it. Should it be rebuilt always to >> avoid it getting out of date from the 'Base.oz' file it's built from? >> >> Chris. >> -- >> http://www.bluishcoder.co.nz >> _________________________________________________________________________________ >> mozart-hackers mailing list >> [email protected] >> http://www.mozart-oz.org/mailman/listinfo/mozart-hackers >> > _________________________________________________________________________________ > mozart-hackers mailing list > [email protected] > http://www.mozart-oz.org/mailman/listinfo/mozart-hackers Best wishes, Torsten -- Dr Torsten Anders Course Leader, Music Technology University of Bedfordshire Park Square, Room A315 http://strasheela.sourceforge.net http://www.torsten-anders.de _________________________________________________________________________________ mozart-hackers mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
