lotus



previous page: E06) Does a beta-mode for Emacs exist?
  
page up: BETA Programming Language FAQ
  
next page: F02) How do I separate implementation and specification code?

F01) What is the purpose of the fragment system?




Description

This article is from the FAQ, by with numerous contributions by others.

F01) What is the purpose of the fragment system?

The purpose of the fragment system is to enable modularization of BETA
programs. The fragment system also supports separate compilation, dependency
analysis of modules, information hiding and separation of specification and
implementation modules. The fragment system also enables the co-existence of
different implementations of the same specification, depending on the target
machine type (on the same file system), and automatic selection of the
proper variant for the specific machine type.

The fragment system is based on the slot and fragment metaphors. A slot is a
specification in the source code which signifies that separately compiled
source code may be associated with that place. A fragment is a piece of
source code which can be separately compiled, and associated with a slot.

The fragment system takes care of the slots and fragments, and the
connections between them. Several different combination rules exist in the
fragment system, enabling the specification of different modularization
relations.

 

Continue to:















TOP
previous page: E06) Does a beta-mode for Emacs exist?
  
page up: BETA Programming Language FAQ
  
next page: F02) How do I separate implementation and specification code?