7.1: Intro to Session 7: Context-Free Grammar – Programming with Text

[ad_1]
This video introduces Session 7: Context-Free Grammar from the ITP course “Programming from A to Z”. A Context-Free Grammar is a set of recursive “replacement” rules to generate text. In this session, I discuss two JavaScript libraries: Tracery and RiTa.js for working with context-free grammars. Finally, I code from scratch basic context-free grammar system.

Next video:

Course url:

Support this channel on Patreon:

Send me your questions and coding challenges!:

Contact:

GitHub Repo with all the info for Programming from A to Z:

Links discussed in this video:
Kate Compton’s Tracery:
Matt Might’s The Language of Languages:
Chomsky Hierarchy on Wikipedia:
Allison Parrish’s Reading and Writing Electronic Text:
Interruption Junction:
Jeffrey Thompson’s Art Assignment Bot:
RiTa.js:
CodePen:
jQuery:

Source Code for the all Video Lessons:

p5.js:
Processing:

For More Programming from A to Z videos:

For More Coding Challenges:

Help us caption & translate this video!


Posted

in

by

Tags: