cvs commit: hugs98/src connect.h input.c machdep.c prelude.h storage.c

Johan Nordlander nordland@cse.ogi.edu
Thu, 27 Sep 2001 11:13:01 -0700


>
>> I don't know how many programs that depend on the ability to store
>> modules in files without any extension, but any such program will
>> anyhow break with the new scheme.  On the other hand, the overall
>> algorithm is much simpler now.
>
> It's quite common to do this when using
>
>   #! /usr/bin/runhugs
>
> And I just wrote a little library for generating pictures we needed
> for a paper and tech-report.  I used the .hfig extension 
> (Haskell Figure)
> for the programs so that I could write suitable rules in the Makefile.
>
> --
> Alastair Reid        reid@cs.utah.edu        
> http://www.cs.utah.edu/~reid/

Would it work if we simply assumed that everything that's not a 
valid ModId is a filename?  I've simply wanted to reduce the 
complexity of this beast, and the major problem has been the 
potential overlap of ModIds and filenames.  However, the current 
status is that there are names that belong to neither category.  
We can fix this by simply letting filenames be the complement of 
ModIds.  You would still have problems with scripts that begin 
with a capital letter, but maybe that's acceptable?

-- Johan