Translating Nondeterministic Functional Language based on Attribute Grammars into Java
Masanobu Umeda, Ryoto Naruse, Hiroaki Sone, Keiichi Katamine

TL;DR
This paper presents a translation technique from a nondeterministic functional language based on attribute grammars into Java, achieving significant performance improvements over Prolog and B-Prolog implementations.
Contribution
It introduces a novel translation method incorporating binarization and continuation units, optimizing Java code generation from nondeterministic functional languages.
Findings
Generated Java code is over 25 times faster than Prolog Cafe for nondeterministic programs.
The translation technique simplifies variable management and improves execution speed.
Experimental results demonstrate the effectiveness of the translation in performance.
Abstract
Knowledge-based systems are suitable for realizing advanced functions that require domain-specific expert knowledge, while knowledge representation languages and their supporting environments are essential for realizing such systems. Although Prolog is useful and effective in realizing such a supporting environment, the language interoperability with other implementation languages, such as Java, is often an important issue in practical application development. This paper describes the techniques for translating a knowledge representation language that is a nondeterministic functional language based on attribute grammars into Java. The translation is based on binarization and the techniques proposed for Prolog to Java translation although the semantics are different from those of Prolog. A continuation unit is introduced to handle continuation efficiently, while the variable and register…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAI-based Problem Solving and Planning · Semantic Web and Ontologies · Service-Oriented Architecture and Web Services
