I looked at pop/lib/demo/demo.p.  AFAICS it is very broken.
First, it assumes existence of saved images, but those
images are _not_ build by default and some even lack
script to build.  Second, things in pop/lib/demo seem to
assume that referenced files are in main source tree,
but they were moved to pop/packages/teaching subtree.
Third, some things probably does not exist:
- startved.p ???
- hangman image ???
- teachpop.p ???

Fourth, demo.p looks like it is intended to run in text mode,
but some demos like gramdemo.p, solver.p and msblocks.p
probably would look much better in graphic mode.

I think that completly broken demo send bad message,
so we should remove or fix it.

Given the above I think that we should remove pop/lib/demo
subdirectory.  If desired demp.p and other files could be
moved to pop/packages/teaching subtree.

I am not sure if it is worth to get demp.p to working
state.  Currently all involved files load so fast that
it probably makes no sense to create images, instead just
run .p files.  So, beside updating file names we would have
to change demo.p.  This is doable with moderate effort.

OTOH there are other ways to invoke demos.  We probably
should decide about "canonical" way and make sure that
it works.  When one way works in principle we can remove
other ways.

-- 
                              Waldek Hebisch

Reply via email to