Тёмный

Stuck macros: deterministically interleaving macro-expansion and typechecking 

Compose Conference
Подписаться 2,8 тыс.
Просмотров 785
50% 1

Compose NYC 2019
Speaker: Samuel Gélineau
A new breed of functional programming languages is emerging: strongly-typed macro languages, such as Hackett and Typer. Those languages feature both macros, type inference, and most importantly, the combination of the two: macros which can interrogate the type inference system in order to decide which code to generate. Both languages propose to do so by interleaving macro-expansion and type-checking, but doing so naively leads to a non-deterministic outcome: the same program may be accepted by one version of the compiler and rejected by another! In this talk, I will explain what causes this non-determinism, and how allowing macros to get “stuck” could solve the problem.

Наука

Опубликовано:

 

23 июн 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1   
@haskell_cat
@haskell_cat 5 лет назад
My slides: gelisam.com/files/stuck-macros.pdf Hackett: github.com/lexi-lambda/hackett Typer: gitlab.com/monnier/typer
Далее
Bridge Haskell and ReasonML in Production
20:46
Bidirectional Type Checking
41:31
Просмотров 6 тыс.
кукинг с Даниилом 🥸
01:00
Просмотров 338 тыс.
From Rails to Elm and Haskell
32:58
Просмотров 1 тыс.
A Tase Of ATS
37:27
Просмотров 3,7 тыс.
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
Просмотров 878 тыс.
The moment we stopped understanding AI [AlexNet]
17:38
Просмотров 806 тыс.
Ноутбук за 20\40\60 тысяч рублей
42:36
Лучший браузер!
0:27
Просмотров 257 тыс.