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

Compiling short‐circuit boolean expressions in one pass

Abstract: We present a very simple scheme for compiling boolean expressions in the short‐circuit manner in one pass. The generated code is of very high quality and avoids most inefficiencies commonly associated with one‐pass code generation. In particular, redundant conditional and unconditional branches are kept to a minimum. The scheme is general enough to compile the boolean expressions of a typical high‐level language such as Pascal. It is presented in a format suited for syntax‐directed translation and can be used … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
4
0

Year Published

1983
1983
2020
2020

Publication Types

Select...
4
1
1

Relationship

0
6

Authors

Journals

citations
Cited by 6 publications
(4 citation statements)
references
References 5 publications
0
4
0
Order By: Relevance
“…Meanwhile, the local DSS updates all atomic observations ε with the last information and sets the value with <true or false or unknown> (i.e., Fill < Tid, comparison_op, threshold >, as seen in the example in Fig. 4), then calculates the Boolean value of the subexpression χ o with short-circuit technology [27], and takes the action ε a based on the value of its successor χ o .…”
Section: ) Preprocessing and Situation Evaluationmentioning
confidence: 99%
See 1 more Smart Citation
“…Meanwhile, the local DSS updates all atomic observations ε with the last information and sets the value with <true or false or unknown> (i.e., Fill < Tid, comparison_op, threshold >, as seen in the example in Fig. 4), then calculates the Boolean value of the subexpression χ o with short-circuit technology [27], and takes the action ε a based on the value of its successor χ o .…”
Section: ) Preprocessing and Situation Evaluationmentioning
confidence: 99%
“…The actor v i,j waits and composes the events from the precursors. When Θχ p < Tid χ o , value > can be calculated with the short-circuit technology [27], it sends the feedback events to its precursors. And if the trigger condition is true, v i,j could adjust its speed (or sleep) and finish the activity within the time τ w i−1,j + τ d i,j .…”
Section: E Strategy Of Runtime Refinement At Decision Processing Periodmentioning
confidence: 99%
“…The development of algorithms for optimizing code for short-circuit evaluation took place over a number of years and is described by Minker and Minker [5], with subsequent work done by Logothetis and Mishra [4]. The choice of the evaluation technique to use for Boolean expressions is a design decision that is addressed differently in different programming languages.…”
Section: Introductionmentioning
confidence: 99%
“…Short-cut evaluation is a standard topic in compiling [1,9,34]. The author is not aware of any treatment of it in one-pass CPS transformations or in one-pass transformations into monadic normal form.…”
Section: Related Work Conclusion and Future Workmentioning
confidence: 99%