Correct and Abstract Semantics Lifting for Domain-Specific Language Implementation

Implementing domain-specific languages (DSLs) through higher-order functions and macros often leads to abstraction leakage, diminishing their user-friendliness. This paper introduces a semantics-lifting framework to address this challenge. The proposed framework offers a general algorithm to derive DSL semantics independent of the host language based on host semantics and translation rules. It formulates cor- directness and abstraction properties, ensuring the semantics lifting process maintains these properties. Additionally, the paper explores the necessary assumptions for achieving correct and abstract lifted semantics, demonstrated through the implemented system Osazone. Case studies across various host languages, including functional and imperative types, confirm the flexibility and reliability of the framework, ensuring the lifted DSL semantics preserve correctness and abstraction integrity throughout.

Authors

Publication Details

Journal
International Journal For Multidisciplinary Research
Published
2025-02-27
DOI
https://doi.org/10.36948/ijfmr.2025.v07i01.36992
Primary Topic
Semantic Web and Ontologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Correct and Abstract Semantics Lifting for Domain-Specific Language Implementation

Hyacinthe Hamon -
International Journal For Multidisciplinary Research
Semantic Web and Ontologies
article

Correct and Abstract Semantics Lifting for Domain-Specific Language Implementation

Hyacinthe Hamon -
article en

Abstract

Implementing domain-specific languages (DSLs) through higher-order functions and macros often leads to abstraction leakage, diminishing their user-friendliness. This paper introduces a semantics-lifting framework to address this challenge. The proposed framework offers a general algorithm to derive DSL semantics independent of the host language based on host semantics and translation rules. It formulates cor- directness and abstraction properties, ensuring the semantics lifting process maintains these properties. Additionally, the paper explores the necessary assumptions for achieving correct and abstract lifted semantics, demonstrated through the implemented system Osazone. Case studies across various host languages, including functional and imperative types, confirm the flexibility and reliability of the framework, ensuring the lifted DSL semantics preserve correctness and abstraction integrity throughout.

International Journal For Multidisciplinary ResearchVol. 7(1)
Openalex Percentile: Top 98%
Semantic Web and Ontologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.