1977
DOI: 10.1002/spe.4380070106
|View full text |Cite
|
Sign up to set email alerts
|

Macro SPITBOL—a SNOBOL4 compiler

Abstract: A fast and compact compilep/interpreter for SPITBOL (a variant of SNOBOL4) has been written in a machine-independent macro assembly language and implemented initially on the ICL 1900 range of computers. The interpreter uses a novel form of indirect polish code which assists portability. Compile-time pre-evaluation of constant expressions has proved to be a worthwhile optimization. A description is given in some detail of the simple but rapid scheme, requiring no marker bits, employed for garbage collection.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

1
11
0

Year Published

1980
1980
1982
1982

Publication Types

Select...
8

Relationship

1
7

Authors

Journals

citations
Cited by 39 publications
(12 citation statements)
references
References 5 publications
1
11
0
Order By: Relevance
“…This results in a "reevaluation" of the expression 1015 and the alternative value, 5, is returned the second time. Thus, tab(lOI5 ) is equivalent to tab(lO) I tab (5), as would be expected.…”
Section: Tab( Lo 15)supporting
confidence: 62%
See 1 more Smart Citation
“…This results in a "reevaluation" of the expression 1015 and the alternative value, 5, is returned the second time. Thus, tab(lOI5 ) is equivalent to tab(lO) I tab (5), as would be expected.…”
Section: Tab( Lo 15)supporting
confidence: 62%
“…Most SNOBOIA systems eventually "garbage collect" such transient objects to reclaim the space, but since this takes time as well, creation of transient objects eventually imposes an additional time penalty. (Some implementations of SNOBOIA recognize constant in-line patterns during compilation and place them out of the line of actual program execution [5].) Patterns cause many problems in program structuring.…”
Section: Disadvantages Of the Pattern Approachmentioning
confidence: 99%
“…The final version in our derivation, COLLECT8, is significantly more efficient than our initial specification and already captures most of the basic elements of the logic of the algorithm in Dewar and McCann [3]. However, there are still a few transformations that need to be applied to it in order to obtain a better approximation to that algorithm.…”
Section: Discussionmentioning
confidence: 99%
“…In this paper we apply the transformational approach to this problem specification (properly coded in SETL) to derive from it a variant of a known and efficient algorithm for garbage collection and compaction due to Dewar and McCann [3]. The task is nontrivial and calls for employing transformations which at first glance seem to be rather tricky and ingenious.…”
Section: Introductionmentioning
confidence: 99%
“…eds is written in the SPITBOL dialect [2] of SNOBOIA. It is a single dataindependent driver--about 100 lines of code--that assigns duties to several small structure-dependent slave editors, typically 5-25 lines each.…”
Section: A Snobol Implementationmentioning
confidence: 99%