登入
選單
返回
Google圖書搜尋
Introducing OBJ.
Joseph A. Goguen
SRI International. Computer Science Laboratory
T. Winkler
J. Meseguer
出版
SRI International, Computer Science Laboratory
, 1992
URL
http://books.google.com.hk/books?id=cW2HHAAACAAJ&hl=&source=gbs_api
註釋
This facility is based on using two kinds of module: objects to encapsulate executable code, and in particular to define abstract data types by initial algebra semantics; and theories to specify both syntactic structure and semantic properties for modules and module interfaces. Each kind of module can be parameterized, where actual parameters are modules. For parameter instantiation, a view binds the formal entities in an interface theory to actual entities in a module, and also asserts that the target module satisfies the semantic requirements of the interface theory. Module expressions allow complex combinations of already defined modules, including sums, instantiations, and transformations; moreover, evaluating a module expression actually constructs the described software (sub)system from the given components.