Тёмный

I Built My Own Programming Language 🤯 

Piyush Garg
Подписаться 143 тыс.
Просмотров 16 тыс.
50% 1

Hey everyone, In this video, we are going to build our own Programming Language. We'll understand how compilers work which includes concepts of Lexer, Tokenisation, Abstract Syntax Tree and Code Generator. We'll also code out own programming language to add two variables.
Quick Links
Full Stack Twitter Clone learn.piyushgarg.dev/learn/tw...
Docker Course learn.piyushgarg.dev/learn/do...
Master NextJS 14 learn.piyushgarg.dev/learn/ne...
Resources and Articles
www.freecodecamp.org/news/the...
hackernoon.com/building-your-...
Timestamps
00:00 Introduction
00:48 Understanding Lexer, Tokenisation, and Abstract Syntax Tree
14:15 Building our own Lexer
20:30 Coding our own Parser (AST)
24:45 Traversing AS Tree to Code Generator
28:00 Running and Testing our Language
30:00 Recap
30:35 Fun Assignment 🎉
Video Titles
- Build your own Programming Language
- Build your Own Compiler
Hashtags
#coding #programming #computerscience #compiler_design #fullstackwebdevelopment #webdevelopment #nodejs #opensource #git #github #javascript

Опубликовано:

 

30 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 81   
@pranavsuryavanshi408
@pranavsuryavanshi408 3 месяца назад
syntax❌️santax✅️
@rakib_bhai74
@rakib_bhai74 3 месяца назад
Legends says वाक्य - विन्यास ❤❤
@as_if
@as_if 3 месяца назад
It's piyush's world. Take it or die.
@nayanjyotidas4041
@nayanjyotidas4041 3 месяца назад
Learn to assept it brother
@navinkumarsahu1159
@navinkumarsahu1159 3 месяца назад
Condume it bro
@pranavsuryavanshi408
@pranavsuryavanshi408 3 месяца назад
@@navinkumarsahu1159 sorry bro😂 don't take it seriously
@ShortCodeDev
@ShortCodeDev 3 месяца назад
🎯 Key Takeaways for quick navigation: 00:42 *🎯 Building a programming language requires understanding compilers, interpreters, and syntax.* 02:48 *🛠️ Tokenization, or lexing, simplifies code analysis by converting it into tokens.* 05:31 *🌳 Constructing a lexer and tokenizer is the initial step in language creation.* 08:47 *🛠️ Parsing expressions combines variables and operators for results.* 09:02 *🌳 An abstract syntax tree (AST) organizes code for compilers to process.* 12:02 *🔄 Tokenization and parsing convert source code into an AST for execution.* 13:21 *🌐 Examples in Hindi demonstrate syntax construction.* 14:34 *🧩 Lexers tokenize code by reading characters and generating tokens.* 16:53 *📄 Tokenization appends characters to form words until a delimiter or keyword is found.* 20:11 *🔑 Creating an AST and parser validates code structure and generates a tree.* 21:35 *🔑 Declarations are made based on token types and values during traversal.* 22:04 *🔑 Assignments are handled by evaluating expressions until the next keyword.*
@letsprogram30
@letsprogram30 3 месяца назад
congrats for 100k!
@TheHariPutraOfficially
@TheHariPutraOfficially 3 месяца назад
Got my college mini project for the system programming and compiler design (SPCC ) subject
@DhvanitMonpara
@DhvanitMonpara Месяц назад
It should be SPCD 🤔😅
@bandhanmajumder-kx7tp
@bandhanmajumder-kx7tp 3 месяца назад
Quality content bhaiya.. Love this! 🔥
@shivanggupta7853
@shivanggupta7853 3 месяца назад
Wow, it is amazing, thank you piyush ❤
@rishiraj2548
@rishiraj2548 3 месяца назад
Wow! Congratulations!!!
@abhishekkhatana1256
@abhishekkhatana1256 3 месяца назад
Congrats 1 lakh Subscribers ke liye bhaiya 🎉🎉🎉🎉
@chillpill610
@chillpill610 3 месяца назад
excitment a lot sir , pls bring the course ASAP
@msahu2595
@msahu2595 3 месяца назад
Amazing content ♥️
@PROTECHRAHUL
@PROTECHRAHUL 3 месяца назад
This is supercool The only channel show casing real world development
@Movie_ki_kahani
@Movie_ki_kahani 3 месяца назад
Congratulations Piyush
@rishiraj2548
@rishiraj2548 3 месяца назад
Congratulations for 100K subs🎉🎉
@f_48irfanshaikh29
@f_48irfanshaikh29 3 месяца назад
the video are getting more crazier 🔥 🔥
@riteshmane5452
@riteshmane5452 3 месяца назад
yahi content expect kar raha tha aap se sir , great video ......................................
@techsaifcore7
@techsaifcore7 3 месяца назад
Good work.
@user-pm6qt6ee7p
@user-pm6qt6ee7p 3 месяца назад
Following you since 500 subscribers. Thank you
@mehzee92
@mehzee92 2 месяца назад
Amazing 😍
@arghyadas4138
@arghyadas4138 3 месяца назад
100k congo
@patelronak153
@patelronak153 3 месяца назад
Please make this type of video every week, Great knowledge you gave to us🚀♥️
@iampatelajeet
@iampatelajeet 2 месяца назад
love you bro
@forsaken3076
@forsaken3076 3 месяца назад
Please make video on kubernetes brother!! I really like how you explain things, would love to see you explaining Kubernetes with real life scenario example.. thanks!!
@goldybhardwaj8314
@goldybhardwaj8314 3 месяца назад
Can you please guide me on the process of transcoding video into different resolutions? It involves creating multiple .m3u8 and .ts files along with one master file. I'm curious about whether the output is first stored in a local directory, then uploaded to S3, and finally unsynced from the temporary folder. Or is it directly streamed to the S3 bucket? I'm having difficulty with this process
@nihalgamerz
@nihalgamerz 3 месяца назад
Congratulations forr 100k sir 0:25
@crossmindedninja5522
@crossmindedninja5522 3 месяца назад
compiler ka lab tha kal, sab clear ho gya aaj hi
@musharafhaque6174
@musharafhaque6174 3 месяца назад
which theme do you use in vscode ?
@atharvdalal9493
@atharvdalal9493 3 месяца назад
Hello Piyush sir, I am one of your RU-vid subscribers. I have a question: I already have knowledge of frontend development, but due to challenges with CSS and some complex React concepts, I chose to focus on backend development. I learned backend development from you and thoroughly enjoyed it; I have become proficient at it. However, presently, the job market favors those who are proficient in both frontend and backend development, offering more opportunities. So, what should I do? Should I continue focusing solely on backend development or should I expand my skills to become a full-stack developer? Although I'm not particularly fond of React, should I learn it out of necessity?
@crossmindedninja5522
@crossmindedninja5522 3 месяца назад
bhaiya aise hi ek mast chrome extension ka tutorial bana do, which records your screen and saves video, or something like full page ss
@ramandahiya6977
@ramandahiya6977 3 месяца назад
🔥
@Anurag_Badwahe
@Anurag_Badwahe 3 месяца назад
Are bhaiya ❤
@adityav7909
@adityav7909 3 месяца назад
You have made a compiler because your executable Code converts into a JS code and all the process which you have shown in the video ,this is what compiler does behind the scenes so technically you aren't making your own programming language But thankyou for this video, because of this video i have learned about the process of the compiler 👍
@mobinurrahaman574
@mobinurrahaman574 3 месяца назад
Sir, please make your own JavaScript framework similar to React.
@pclovers219
@pclovers219 2 месяца назад
Bro which visual studio theme are you using
@PRonYouTube
@PRonYouTube Месяц назад
Wondering the same thing!
@MukundSRajput
@MukundSRajput 3 месяца назад
Bhaiya ek rust lang ka course nikaliye please 2 april se 12th start ho jayegi use pehle if you can ya jitta tab tak ho jaye rust ka koi acchi video bhi nhi hai hindi me
@coldnerd
@coldnerd 3 месяца назад
@sayyedtaimoorshah6345
@sayyedtaimoorshah6345 3 месяца назад
❤❤❤
@yaswanthmallisetti
@yaswanthmallisetti 3 месяца назад
Sir, pleasee make a series on aws
@sayyedtaimoorshah6345
@sayyedtaimoorshah6345 3 месяца назад
Sir can apply all these process in C++ language
@mrfabulous3303
@mrfabulous3303 3 месяца назад
Bro is taking CS education to another level
@mediawiser
@mediawiser 3 месяца назад
But what’s the practical use of this ?
@user-ip8ff7db6f
@user-ip8ff7db6f 3 месяца назад
Bhai yahan logon se callback hell nhi solve nhi hota, aap kahan inhen ye sab parha rahe hain, BTW love from heart
@crazyboyrish2577
@crazyboyrish2577 3 месяца назад
Kisi ne if condition add kiya mere me error aa rha hai. I need help
@KoushikDas2005
@KoushikDas2005 3 месяца назад
Next video : Creating my own world without any humans 😂
@Scrollunlock
@Scrollunlock 3 месяца назад
Killer
@caresbruh
@caresbruh 3 месяца назад
I'm currently building my own language using golang
@MdShahidAli-nu7rt
@MdShahidAli-nu7rt 3 месяца назад
Your are doing a statement to parse and create own function suppose you have 1 lakh line of code then you do this line by line then you think how much time take you code to parse then compiler with javascript then compiler with interpreter, Is this good ways to do this make a program who communicates direct with compiler like C.
@kashinadoing
@kashinadoing 3 месяца назад
braa this thing is just for educational purpose major of his audince understand js so thats why and afcourse this will be inefficent caus if he will tell the real one and make it in c it will take very long to make and expain and people wont understand a shit i am also creating my own lang but its working way is quite diffrent
@illusionextreme299
@illusionextreme299 3 месяца назад
Using a programming language, inputting own words, change into previous programming language, get the output from an existing language, noice-noice = worst, first time watching ur video make me feel waste of half an hour thank you! 👍👎, I am thinking before watching this video u are teaching us, how to make our own programming language, that Lang changes into binary and machine give us the output. And congratulations for 100k ❤
@caresbruh
@caresbruh 3 месяца назад
what you yapping about lil bro
@saptarshisinha1744
@saptarshisinha1744 3 месяца назад
Bhaiya aws ki series continue karo
@avijitchanda7944
@avijitchanda7944 3 месяца назад
Ye syntax bol Bhai jaisa hain
@hubesh716
@hubesh716 3 месяца назад
sir please redux toolkit par aik zabrdast tutorial lao na
@user-oh8un5cu3p
@user-oh8un5cu3p 3 месяца назад
why me comment is deleted
@ashishalf
@ashishalf 3 месяца назад
Bhaiya provide the source code please.
@kaustubhken
@kaustubhken 3 месяца назад
Bhai compiler banana itna aasaan nahi hai first learn about data structures and algorithms then find the tutorial let's build a compiler it is available online then read about tiny basic compiler then after a year you would create a compiler
@nagarjunachenna7773
@nagarjunachenna7773 17 дней назад
vs code theme
@darshan3297
@darshan3297 3 месяца назад
Next video : Creating my own Internet
@FaizSultan430
@FaizSultan430 3 месяца назад
hy piyush bring some course paid
@ravisankar9122
@ravisankar9122 3 месяца назад
You simply wrote a program and you are calling it as a new language. I think the thumbnail is wrong.but I appreciate your work. But thumbnail is wrong.
@narendragajinkar5026
@narendragajinkar5026 3 месяца назад
santax
@aparnapradhan0198
@aparnapradhan0198 3 месяца назад
You're scaring me 😔😔😔😔😔😔😔😔if with that kind of skills and expertise you're doing youtube , what should we do ? 😢😢😢😢😢
@CookerSingh
@CookerSingh 3 месяца назад
Indian SWEs are way behind other countries'. We aren't even in the top 15 countries so chill. 😔😔😔😔 Also We are almost 10 years behind other countries tech industry & probably 80% of companies here still using PHP and WordPress.
@aparnapradhan0198
@aparnapradhan0198 3 месяца назад
@@CookerSingh cuz people here not born for job and slavery
@CookerSingh
@CookerSingh 3 месяца назад
@@aparnapradhan0198 Hmm, i want to know what else for? i guess Agriculture.
@aparnapradhan0198
@aparnapradhan0198 3 месяца назад
@@CookerSingh arth sashtra, jyotish sashtra, ayurveda, ganit , vimanika sashtra, sthapatya kala, dhanur veda, etc .... just a tip of iceberg
@TheGeekYT
@TheGeekYT 3 месяца назад
Bhai jyada ho rha hai, bas iske aage nahi please 😢
@bhupendrasingh8933
@bhupendrasingh8933 3 месяца назад
Next: how to make a virtual machine
@well.8395
@well.8395 3 месяца назад
"Programming language"? More like I turned a 4 like declaration from gibberish into JS
@goldybhardwaj8314
@goldybhardwaj8314 3 месяца назад
Can you please guide me on the process of transcoding video into different resolutions? It involves creating multiple .m3u8 and .ts files along with one master file. I'm curious about whether the output is first stored in a local directory, then uploaded to S3, and finally unsynced from the temporary folder. Or is it directly streamed to the S3 bucket? I'm having difficulty with this process
@goldybhardwaj8314
@goldybhardwaj8314 3 месяца назад
Can you please guide me on the process of transcoding video into different resolutions? It involves creating multiple .m3u8 and .ts files along with one master file. I'm curious about whether the output is first stored in a local directory, then uploaded to S3, and finally unsynced from the temporary folder. Or is it directly streamed to the S3 bucket? I'm having difficulty with this process
Далее
Why do we need Kafka?
15:16
Просмотров 30 тыс.
I made my own Programming Language
9:10
Просмотров 401 тыс.
British Highschoolers react to Bri'ish Memes
9:39
Просмотров 25 млн
So I Made My Own Programming Language...
11:36
Просмотров 80 тыс.
Erdős-Woods Numbers - Numberphile
14:12
Просмотров 75 тыс.
I made a Compiler in 25 Days - Here is what I learned
40:59