Commit Graph

3 Commits

Author SHA1 Message Date
Fergus Henderson
04b720630b Update the copyright messages so that (a) they contain the correct years
and (b) they say "Copyright (C) ... _The_ University of Melbourne".
1997-07-27 15:09:59 +00:00
Bert Thompson
ff7b34149e Added exported procedures:
Estimated hours taken: 1

bytecode/dict.c:
bytecode/dict.h:
	Added exported procedures:
		- dict_is_empty
		- dict_first_key
		- dict_next_key
	Also added a simple-minded unit test.
1997-05-29 09:52:58 +00:00
Bert Thompson
06454f727a Added a dictionary abstract data type. Currently it's implemented as
Estimated hours taken: 2

Added a dictionary abstract data type. Currently it's implemented as
a dirt-simple ordered list, but it should later be reimplemented using a
hash table. Note that C has only very poor support for ADTs
and private data must be included in the header. We trust clients
of the ADT not to use the private data.

bytecode/dict.h:
	Interface of dictionary ADT.
bytecode/dict.c:
	Implementation of dictionary ADT.
1997-05-28 05:58:59 +00:00