cvs commit: hugs98/src connect.h input.c machdep.c parser.y
prelude.h storage.h hugs98/src/machugs options.h
nordland@glass.cse.ogi.edu
nordland@glass.cse.ogi.edu
Thu, 14 Jun 2001 14:28:52 -0700
nordland 2001/06/14 14:28:52 PDT
Modified files:
src connect.h input.c machdep.c parser.y
prelude.h storage.h
src/machugs options.h
Log:
Added support for hierarchical module names. A module name A.B.C is
mapped onto the file path A/B/C{,.hs,.lhs}, which is appended to each of
the path prefixes in HUGSPATH during module import, until the name of
a readable file is found. For backwards compatibility, string constants
can still be used instead of modulenames if the location of a module
doesn't conform to this pattern. Recursive scanning of subdirectories
is no longer supported, though, nor automatic scanning of the directory
where the previous module loaded was found.
Still left to do:
Update the library structure *and* the names of modules not
located in the top level lib directory.
Set up a default HUGSPATH that corresponds to the new structure.
Revision Changes Path
1.21 +3 -2 hugs98/src/connect.h
1.26 +12 -3 hugs98/src/input.c
1.17 +33 -4 hugs98/src/machdep.c
1.18 +4 -4 hugs98/src/parser.y
1.20 +6 -2 hugs98/src/prelude.h
1.20 +3 -2 hugs98/src/storage.h
1.2 +4 -4 hugs98/src/machugs/options.h