Implement a JSON parser from scratch in 10 minutes (Python)

preview_player
Показать описание
Have you ever thought about creating your own programming language, but didn't know where to start? Are you confused about the difference between a parser and a lexer/scanner? It can be quite overwhelming knowing where to start. Most resources point towards "the dragon book" and you should learn all about formal language theory and compilers.

In this video I want to show you that actually getting started isn't as hard as you think. You don't need parser generators or formal understandings of grammar. JSON is a wonderful example because the grammar is simple and you're most likely already familiar with it. Build a fully functioning parser with me as I walk you through this programming tutorial step by step in Python.

Рекомендации по теме
Комментарии
Автор

You're good at this! Keep up the content. What plugins do you use in vim?

denormalyze
Автор

Plz don't take the views or the subscriber's counter as a point to whether you should continue or not

Awesome video ❤

dzartxstudio
Автор

Really enjoyed this! Thanks for sharing 🫶🏼

hannavinje
Автор

realy nice project man! could you tell me which theme are you using on vim?

matheus-foscarinid
Автор

The code in the GitHub repo doesn't have a license, so there is no way to clone/copy/modify it without copyright law violation. Adding a simple license (like MIT License for example) would resolve the issue.

cayendar
Автор

Next: Implement a JSON parser *in* Scratch in 10 minutes

bmno.