arXiv · 2410.16690
C-lisp and Flexible Macro Programming with S-expressions
Abstract
Llama$.$lisp is a compiler framework intended to target offload processor backends such as GPUs, using intermediate representation languages (IRs) that are device-agnostic. The Llama$.$lisp IRs are formulated as S-expressions. This makes them easy to generate using higher level programming languages, which is one of the primary goals for Llama$.$lisp. The highest IR layer currently implemented in Llama$.$lisp is C-Lisp. In this paper, we describe the macro system developed for the Llama$.$lisp compiler framework. We show how we implemented FFI bindings as an example of this system.
Explore related subjects
Keep this discovery
Vedanth Padmaraman, Sasank Chilamkurthy. 2024-10-22. C-lisp and Flexible Macro Programming with S-expressions. https://arxiv.org/abs/2410.16690
Cite the original work for its findings. Save a collection to share your selection of sources.