~/talk

A pred-LL(*) Parsable Typed Higher-Order Macro System for Architecture Descriptio...

Talkat GPCE 2023 · 2023-10-22..10-23· [compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

Pattern-based, syntactically typed macros are integrated into VADL and parsed at compile time by a pred-LL() parser, using record-style syntax types and higher-order models so a single higher-order macro wrapper instantiates 15 predicate variants from one binary-instruction template. Implementation expands macros in-memory and the evaluation across five ISA specifications shows up to 90× reduction* in specification size, mixed effects on parse time (some large generated files parse slower, expansion-in-memory can be faster), and clearer, reusable templates.

AI-written summary · about

  1. 0:00Introduction
  2. 5:03Macro expansion and syntax trees
  3. 6:48Architecture description languages
  4. 7:31ISA specification basics
  5. 8:57Template-based macro for instruction behavior
  6. 12:29Higher-order macros and record types
  7. 15:22Condition wrapper and predicates
  8. 16:25Evaluation results
  9. 18:54Final takeaways
  10. 19:55Q&A
  11. 20:57CPU quirks in macros
  12. 22:41Macro parameters and record types
  13. 23:49Extending for optimizations
  14. 26:41LL(*) parsing and predicates
  15. 28:25Name capture and hygiene
~/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.