~/talk

When Chomsky Met JavaScript: Exploring the Linguistics(...)

Talkat JSConf EU 2018 · on Sunday, 2018-06-03· [javascript]
slides:none on file

History traces regular expressions from Chomsky’s grammars to JavaScript and claims that the key design choice is the forgetfulness of regular grammars which makes regexes ideal for piecewise pattern matching. Concrete examples show 01 and call(ing|s|ed) plus an anecdote about Kafkes/Kafkis spelling. JavaScript additions are explicit: back references break regularity and cost performance and quantifiers (star, plus, question) control greediness, with a live “Ha(\\1)” example demonstrating repeated-substring matching.

AI-written summary · about

  1. 0:00Intro
  2. 0:29Regular Expressions
  3. 2:13The Chomsky Hierarchy
  4. 3:43Parseltongue
  5. 5:37Regular grammar
  6. 7:56Regular expressions in programming
  7. 11:31Regular expressions in JavaScript
  8. 12:16Back references in JavaScript
~/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.