~/talk

Softly, softly typing

Talkat RubyConf 2015 · 2015-11-15..11-17· [ruby]
slides:none on file

Claims that soft typing can be explored practically in Ruby by building a toy static analyzer and demonstrates it end to end: a parser and transform with Parslet, evaluation and a type reconstruction engine that infers function types with type variables, union/null handling and warnings, plus a nondeterministic maybe operator that forces rejection or soft warnings. Live code uses Seeing Is Believing, yields concrete examples (functions, apply, inferred signatures), sometimes emits type errors, and the full working code is on GitHub.

AI-written summary · about

  1. 0:00Start
  2. 0:16Soft Typing
  3. 6:06Write a Parser
  4. 8:21Sample Program
  5. 10:52Identifiers
  6. 13:08Transform
  7. 16:05Calling on a Variable
  8. 18:11Eval Methods
  9. 21:18Type Check Method
  10. 22:15Functions
  11. 23:45Function Evaluation
  12. 24:59Type Checker
  13. 36:06The Type Theory
  14. 41:27Non Determinism
~/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.