Back to results

Università degli Studi di Milano

*PILER: NOT A VM TO RULE NO ONE

Abstract

dc:description

In this work, we discuss an exotic alternative to compiler/transpiler development. The alternative takes form in the *piler (read starpiler), a novel compiler infrastructure rooted in the popular search algorithm A*. While traditional compilers are defined as ordered sequences of compilation passes, the *piler autonomously reconstruct the order information, and the compilation is the result of a search step (powered by A*) from all the available passes. This choice simplifies the language development by transparently reusing already available compilation passes. The main result allowing for fast searches is the development of metric a metric space embedding programs, consequently a non-overestimating heuristic can be derived. To test the *piler capabilities, we develop three simple programming languages S, S++, and S# mimicking C, C++, and C# respectively. We show that the *piler equipped with the proposed heuristic is capable of achieving compilation/transpilation between S, S++, and S# in less than a second while a naive search would require more than 40 minutes to be completed. Furthermore, we discuss possible variants of the proposed framework that, by changing initial assumptions, result in different overall properties.

Degree

thesis:*
Grantor dc:publisher
Università degli Studi di Milano
Year dc:date
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • BERTOLOTTI, FRANCESCO
Contributors dc:contributor
  • advisor: W. Cazzola
  • F. Bertolotti
  • CAZZOLA, WALTER
  • SASSI, ROBERTO

Subjects

dc:subject × 2

Rights

dc:rights
Statement dc:rights
  • info:eu-repo/semantics/openAccess
Language dc:language
eng

Identifiers

dc:identifier.*
OAI identifier oai:identifier
oai:air.unimi.it:2434/1021772

Chain of custody

source
Harvested from
Università degli Studi di Milano
Base URL
air.unimi.it/oai/request
Last updated
2026-07-27
Source record
OAI-PMH GetRecord
citation

BERTOLOTTI, FRANCESCO. *PILER: NOT A VM TO RULE NO ONE. Università degli Studi di Milano, 2024. https://hdl.handle.net/2434/1021772