Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Pixelpillow College Tour - Grafen, automaten en...

Joël Cox
October 31, 2019

Pixelpillow College Tour - Grafen, automaten en reguliere talen

More from me about business and technology.

Joël Cox

October 31, 2019
Tweet

More Decks by Joël Cox

Other Decks in Technology

Transcript

  1. Context vrije grammatica S ➝ aB B ➝ bB B

    ➝ cC C ➝ cB C ➝ dD D ➝ eB D ➝ λ
  2. Context vrije grammatica S ➝ aBaa B ➝ bbB B

    ➝ cCab C ➝ cB C ➝ dD D ➝ eB D ➝ λ
  3. Context vrije grammatica S ➝ if (<expression>) <effect> expression ➝

    random() === true effect ➝ { <statement> } effect ➝ { <statement> } else { <statement> } statement ➝ console.log(“foo”) statement ➝ console.log(“bar”)
  4. Context vrije grammatica if (random() === true) { console.log(“foo”) }

    if (random() === true) { console.log(“bar”) } if (random() === true) { console.log(“foo”) } else { console.log(“foo”) } if (random() === true) { console.log(“foo”) } else { console.log(“bar”) } if (random() === true) { console.log(“bar”) } else { console.log(“foo”) } if (random() === true) { console.log(“bar”) } else { console.log(“bar”) }
  5. Reguliere talen & expressies or := a|b in := [a-z]

    0x of 1x := ? nx := * 4x := {4} 3x - 5x := {3-5}