Title of article :
The Spineless Tagless G-machine, naturally
Author/Authors :
Mountjoy، Jon نويسنده ,
Issue Information :
روزنامه با شماره پیاپی سال 1999
Abstract :
The application of natural semantic specifications of lazy evaluation to areas such as usage analysis, formal profiling and abstract machine construction has shown it to be a useful formalism. This paper introduces several variants and extensions of this specification. The first variant is derived from observations of the Spineless Tagless G-machine (STG), used in the Glasgow Haskell compiler. We present a modified natural semantic specification which can be formally manipulated to derive an STG-like machine. The second variant is the development of a natural semantic specification which allows functions to be applied to more than one argument at once. The STG and TIM abstract machines both allow this kind of behaviour, and we illustrate a use of this semantics by again modifying this semantics following observations of the STG machine. The resulting semantics can be used to formally derive the STG machine. This effectively proves the STG machine correct with respect to Launchburyʹs semantics. En route, we also show that update markers in the STG machine are necessary for termination, and show how wellknown abstract machine instructions, such as the squeeze operation, appear quite naturally as optimisations of the derived abstract machine.
Keywords :
Chinese text segmentation , word boundary identification , logistic regression , multi-word terms
Journal title :
A C M Sigplan (Programming Languages) Sigplan Notices
Journal title :
A C M Sigplan (Programming Languages) Sigplan Notices