arrow
Return

Inferring Absolutely Non-Circular Attribute Grammars with a Memetic Algorithm

delete2021-03-01
delete4
PRE
AI
M
Miha Ravber
Ž
Željko Kovačević *
M
Matej Črepinšek
M
Marjan Mernik
DOI:10.1016/j.asoc.2020.106956delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
When valid syntactical structures are additionally constrained with context-sensitive information the Grammar Inference needs to be extended to the Semantic Inference. In this paper, it is shown that a complete compiler/interpreter for small Domain-Specific Languages (DSLs) can be generated automatically solely from given programs and their associated meanings using Semantic Inference. In this work a wider class of Attribute Grammars has been learned, while only S-attributed and L attributed Grammars have previously been inferred successfully. Inferring Absolutely Non-Circular Attribute Grammars (ANC-AG) with complex dependencies among attributes has been achieved by integrating a Memetic Algorithm (MA) into the LISA.SI tool. The results show that the proposed Memetic Algorithm is at least four times faster on the selected benchmark than the previous method. (c) 2020 Elsevier B.V. All rights reserved.
Keywords:
Semantic Inference
Memetic Algorithm
Attribute Grammars
Domain-Specific Languages
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Applied Soft Computing cover
Applied Soft Computing
IF:
6.6
Papers:
1.4W
Citations:
4.8W

Organization

U
university of maribor
Scholars:
4.5K
Papers: 4.1K
Citations: 1