~/talk

A Taste of Prolog

Talkat Cascadia Ruby 2012 · 2012-08-03..08-04· [compilers-and-language-design]
slides:none on file

A concise Prolog primer that demonstrates concrete results: uses facts and rules to model editor and keyboard matches and produces actual pairings via backtracking and unification in the REPL, implements list predicates (member, length) that both query and generate lists, builds working half and full adder circuits from truth-table facts and prints truth tables, and solves a five-person apartment logic puzzle by generating permutations to produce a single valid floor arrangement.

AI-written summary · about

  1. 0:00Start
  2. 0:09Basics
  3. 0:21What Is Prolog
  4. 0:56Uses
  5. 1:22Why Learn Prolog
  6. 2:17Prolog - Weirdness
  7. 3:43Facts
  8. 10:24Questions & Rules
  9. 13:05Two Rules
  10. 14:50Examples
  11. 15:14Heads and Tails
  12. 16:06Don't Care
  13. 19:59Length
  14. 26:31Apartment Building
  15. 27:18'Data Structure
  16. 29:45not_adjacent
  17. 31:29Puzzle
  18. 32:30Books
~/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.