YoVDO

MacoCaml - Staging Composable and Compilable Macros

Offered By: ACM SIGPLAN via YouTube

Tags

OCaml Courses Functional Programming Courses Macros Courses Metaprogramming Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a 32-minute video presentation from ICFP 2023 introducing MacoCaml, a novel design and implementation of compile-time code generation for OCaml. Delve into the unique combination of macros with phase separation and quotation-based staging, where macros are treated as compile-time bindings and expressions cross evaluation phases using staging annotations. Learn about the theoretical foundation of MacoCaml through the formalization of a typed source calculus called maco, which supports interleaving typing and compile-time code generation, references with explicit compile-time heaps, and modules. Discover the crucial properties studied, including soundness and phase distinction. Gain insights into the implementation of MacoCaml in the OCaml compiler and the successful porting of two substantial existing libraries. Access supplementary materials, including artifacts available for reuse, through the provided links to enhance your understanding of this innovative approach to compile-time code generation in OCaml.

Syllabus

[ICFP'23] MacoCaml: Staging Composable and Compilable Macros


Taught by

ACM SIGPLAN

Related Courses

Документы и презентации в LaTeX (Introduction to LaTeX)
Higher School of Economics via Coursera
Excel Avanzado
Miríadax
Excel aplicado a los negocios (Nivel Avanzado)
Universidad Austral via Coursera
Excel Skills for Business: Intermediate II
Macquarie University via Coursera
Diseño de sistemas de información gerencial para intranet con Microsoft Access
Universidad del Rosario via edX