7 research outputs found

    An Experiment Combining Specialization with Abstract Interpretation

    Get PDF
    It was previously shown that control-flow refinement can be achieved by a program specializer incorporating property-based abstraction, to improve termination and complexity analysis tools. We now show that this purpose-built specializer can be reconstructed in a more modular way, and that the previous results can be achieved using an off-the-shelf partial evaluation tool, applied to an abstract interpreter. The key feature of the abstract interpreter is the abstract domain, which is the product of the property-based abstract domain with the concrete domain. This language-independent framework provides a practical approach to implementing a variety of powerful specializers, and contributes to a stream of research on using interpreters and specialization to achieve program transformations.Comment: In Proceedings VPT/HCVS 2020, arXiv:2008.0248

    Specializing Interpreters using Offline Partial Deduction

    No full text
    We present the latest version of the Logen partial evaluation system for logic programs. In particular we present new binding-types, and show how they can be used to effectively specialise a wide variety of interpreters.We show how to achieve Jones-optimality in a systematic way for several interpreters. Finally, we present and specialise a non-trivial interpreter for a small functional programming language. Experimental results are also presented, highlighting that the Logen system can be a good basis for generating compilers for high-level languages

    Tagging, encoding, and jones optimality

    Get PDF
    A partial evaluator is said to be Jones-optimal if the result of specializing a self-interpreter with respect to a source program is textually identical to the source program, modulo renaming. Jones optimality has already been obtained if the self-interpreter is untyped. If the selfinterpreter is typed, however, residual programs are cluttered with type tags. To obtain the original source program, these tags must be removed.; ; A number of sophisticated solutions have already been proposed. We observe, however, that with a simple representation shift, ordinary partial evaluation is already Jones-optimal, modulo an encoding. The representation shift amounts to reading the type tags as constructors for higherorder abstract syntax. We substantiate our observation by considering a typed self-interpreter whose input syntax is higher-order. Specializing this interpreter with respect to a source program yields a residual program that is textually identical to the source program, modulo renaming.Publicado en Basic Research in Computer Science, April, 2003.Laboratorio de Investigación y Formación en Informática Avanzad

    Strategic management in indentifying and developing young talents in elite amateur golf in Malaysia

    Get PDF
    Malaysia has not produced many successful amateur golfers at the international level. At this point, there is no effective long-term strategy to develop talented young players capable of winning at the highest level. Therefore, there is a need to explore key success factors and best practices for a sustainable development policy of elite amateur golfers in Malaysia. The purpose of this study is to propose a comprehensive golf policy for developing young talents in elite amateur golf in Malaysia that can lead to the generation of successful players at the international level. In this study, qualitative methodology was used to gather the data. Eight participants who are golf experts were selected. Semi structured interview was employed. Then, thematic analysis was used for data analysis. The study revealed that there are three themes which include strong personality traits and psychological elements, high self-discipline behavior and a strong desire to succeed. In conclusion, the study suggests three key success factors and best practices in developing young talented elite amateur golfers. They will contribute to a new policy for golf development that can generate future young talents in golf at the international level

    Modal Transition Systems as the Basis for Interface Theories and Product Lines

    Get PDF

    Jones Optimality, Binding-Time Improvements, and the Strength of Program Specializers

    No full text
    Jones optimality tells us that a program specializer is strong enough to remove an entire level of self-interpretation. We show that Jones optimality, which was originally aimed at the Futamura projections, plays an important role in binding-time improvements. The main results show that, regardless of the binding-time improvements which we apply to a source program, no matter how extensively, a specializer that is not Jones-optimal is strictly weaker than a specializer which is Jones optimal. By viewing a binding-time improver as a generating extension of a self-interpreter, we can connect our results with previous work on the interpretive approach
    corecore