~/talk

C preprossor macros from functional programs

Talkat Lambda Days 2016 · 2016-02-25..02-26· [rust]
links:none on file
slides:none on file

Claims a tool that compiles Haskell (via a GHC plugin working on GHC core) into C preprocessor macros, emitting macro definitions into headers and representing source snippets as a token stream type. It handles most pure code, converts local bindings to explicit macro parameters, and implements recursion unrolling limit annotations; higher-order functions get only partial support. The prototype runs on small real examples, lives on GitHub, and yields generated macros about an order of magnitude slower than careful handwritten macro code.

AI-written summary · about

  1. 0:00Intro
  2. 1:48Proposal
  3. 2:17Demonstration
  4. 4:29Motivations
  5. 6:00Architecture
  6. 7:24Haske definitions
  7. 8:44Other constructs
  8. 9:51Pattern matching
  9. 10:41Issues
  10. 12:05Token Stream
  11. 14:04Recursion
  12. 15:50Higherorder functions
  13. 17:09Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.