paper-with-me

홈 › Papers

Developing a Modular Compiler for a Subset of a C-like Language

2025-01-08 · Debasish Dutta, Neeharika Sonowal, Irani Hazarika

The paper introduces the development of a modular compiler for a subset of a C-like language, which addresses the challenges in constructing a compiler for high-level languages. This modular approach will allow developers to modify a language by adding or removing subsets as required, resulting in a minimal and memory-efficient compiler. The development process is divided into small, incremental steps, where each step yields a fully functioning compiler for an expanding subset of the language. The paper outlines the iterative developmental phase of the compiler, emphasizing progressive enhancements in capabilities and functionality. Adherence to industry best practices of modular design, code reusability, and documentation has enabled the resulting compiler's functional efficiency, maintainability, and extensibility. The compiler proved to be effective not only in managing the language structure but also in developing optimized code, which demonstrates its practical usability. This was also further assessed using the compiler on a tiny memory-deficient single-board computer, again showing the compiler's efficiency and suitability for resource-constrained devices.

📄 PDF Abstract BibTeX arXiv:2501.04503

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

LazyTensor: combining eager execution with domain-specific compilers

2021-02-26 · Alex Suhan, Davide Libenzi, Ailing Zhang, Parker Schuh 외

Domain-specific optimizing compilers have demonstrated significant performance and portability benefits, but require programs to be represented in their specialized IRs. Existing frontends to these compilers suffer from …

Compile by Training: Turning Natural-Language Specifications into Local Neural Functions

2026-09-03 · Yuntian Deng, Pengyu Nie, Stuart Shieber hf

Many recurring text functions are easy to describe but difficult to implement with rules, while calling a large remote model for every input introduces repeated cost, latency, and dependency on a provider. We present com…

DLVM: A modern compiler infrastructure for deep learning systems

2017-11-08 · ICLR 2018 1 · Richard Wei, Lane Schwartz, Vikram Adve

Deep learning software demands reliability and performance. However, many of the existing deep learning frameworks are software libraries that act as an unsafe DSL in Python and a computation graph interpreter. We presen…

Code GenerationDeep LearningGPU

The Next 700 ML-Enabled Compiler Optimizations

2023-11-17 · S. VenkataKeerthy, Siddharth Jain, Umesh Kalvakuntla, Pranav Sai Gorantla 외

There is a growing interest in enhancing compiler optimizations with ML models, yet interactions between compilers and ML frameworks remain challenging. Some optimizations require tightly coupled models and compiler inte…

Automatic differentiation in ML: Where we are and where we should be going

2018-10-26 · NeurIPS 2018 12 · Bart van Merriënboer, Olivier Breuleux, Arnaud Bergeron, Pascal Lamblin

We review the current state of automatic differentiation (AD) for array programming in machine learning (ML), including the different approaches such as operator overloading (OO) and source transformation (ST) used for A…