tubeshowcase●913,532 videos♡ My collection 0
← Learn to Code

Learn to Code18:53

Coding Challenge #43: Context-Free Grammar

The Coding Train ↗

From the creator

In this Coding Challenge, I code a Context-Free Grammar text generator from scratch. The concept of recursion is explored. This video is part of Session 7 of the "Programming from A to Z" ITP class. Code: https://thecodingtrain.com/challenges/43-context-free-grammar 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/_ll_PYXeg 🎥 Previous video: https://youtu.be/eGFJ8vugIWA?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 Next video: https://youtu.be/uw3GbsY_Pbc?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH References: 🌟 Reading and Writing Electronic Text: https://github.com/aparrish/rwet-examples 🌈 Programming from A to Z: https://github.com/Programming-from-A-to-Z/A2Z-F16 📚 Tracery: https://github.com/Programming-from-A-to-Z/A2Z-F16 📚 RiTa: https://rednoise.org/rita/ Videos: ✏️ Homework Assignment for Context-Free Grammar Generation: https://youtu.be/UzVtOS2DBA8 🚂 Tutorial playlist on Context-Free Grammar: https://youtube.com/playlist?list=PLRqwX-V7Uu6Y7iXZe_8XKJhaw_kRo8REO 🔴 Coding Train Live 65: https://youtu.be/X6IPcExkG30?t=7474s Related Coding Challenges: 🚂 #16 Fractal Trees - L-System: https://youtu.be/E1B4UoSQMFw 🚂 #14 Recursive Fractal Trees: https://youtu.be/0jjeOYMjmDU 🚂 #77 Recursion: https://youtu.be/jPsZwrV9ld0 🚂 #39 Mad Libs Generator: https://youtu.be/ziBO-U2_t3k Timestamps: 0:00 Introduction! 1:10 Defining a JavaScript object containing the grammar rules 3:44

Published 2016-10-31 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code