~/talk

Auto code generation using AI & Scala Macros

Talkat Scale By the Bay 2017 · 2017-11-16..11-18· [ai-assisted-development, scala]
links:none on file
slides:none on file

A prototype compiles natural language into Scala by parsing dependency trees, mapping phrases to AST fragments and using Scala Macros plus runtime compilation to ask the compiler for compatible collection methods. It generates solutions (Euler Problem 1 demo), prunes invalid candidates by compile errors, and scores alternatives; one-line programs compile quickly and many ambiguous parses get eliminated. The system currently relies on rule mappings, type-driven runtime composition via compiler type queries and heuristic scoring.

AI-written summary · about

  1. 0:00Introduction to project
  2. 2:10State of code generation
  3. 4:41Limitations of current approaches
  4. 5:25Demo of natural language to Scala
  5. 10:34Handling program generation complexities
  6. 14:10Live code substitution demo
  7. 17:49Operator precedence and examples
  8. 20:01Handling loops and conditions
  9. 21:55Conjunction and function application
  10. 23:29Teaching AI strategies and future
~/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.