Coding Challenge #43: Context-Free Grammar

[ad_1]
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.

Homework Assignment for Session 7 of “Programming from A to Z”:

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:

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:

Comments

12 responses to “Coding Challenge #43: Context-Free Grammar”

  1. Davis Last Avatar

    Watch at either 0.5x or 1.5x speed

    MUAHAHAHAHAHA

  2. Mohamed745600 Avatar

    I am really enjoying your videos so far. Amazing work and you seem like a really nice guy XD I would like to ask about why recursive functions are stopped by some IDEs and why a stackOverFlow Exception is given even though the program doesn't really have any problems.

  3. Lorenzo Landolfi Avatar

    Why do you laugh so much when coding?
    I had a firm opinion about coding and computer science in general: "if you are having fun, you're not doin' it good"
    With that I mean that I'm not sure if you are laughing because you are really enjoying it or you realized how your life as a programmer is fucked and it is a consequent schizophrenic reaction to that.
    In any case you are great man and you really crack me off…

  4. Jolyn Nathan Avatar

    Very interesting. But way too much background noise (people talking). Next time better record in a quiet room.

  5. Sista Svennen Avatar

    Could you do a "Game of life" in the shortest time you can?

  6. JBFFSK18 Avatar

    hey i have a request for a coding challenge (don't know if this is the right place :P):
    if you go to this website http://whois.domaintools.com/ there is a "network" of dots connected with lines following your mouse. this looks really awesome and I would like to make this my own, but i struggle a lot with it :/
    I appreciate it a lot, if you made a coding challenge out of it 😀
    and since I'm already writing: your videos are awesome and very, very interesting and I like them very much.
    Greetings from Germany,
    Franz

  7. Kyle Amoroso Avatar

    You do videos about the coolest topics! We learned about BNF and grammars in my compilers class. This stuff is really interesting.

  8. Kid NBA Avatar

    hey daniel make a coding challenge about frogger
    can you???

  9. Illusionaire1 Avatar

    I really wish you had a series about transforming Papers in Code, by getting classic algorithms from famous papers and showing us how to code it. I have seen one from you, the disk (poisson I guess?) and its really amazing. I would love to see you take a crack on classic disney papers, where they show their algorithms and so on…

  10. Tush koko Avatar

    make video about c++ plzzzzzz and unity 3d also!!!!!¡!!?!!!!!!&;;::-;:'"&-&''&-'''&-'''

  11. subject_17 Avatar

    It's just awesome to see a man get real energized when he's coding.

  12. bob Desnos Avatar

    too much word, u make a great confusion , why ?

Leave a Reply

Your email address will not be published. Required fields are marked *