Hi thanks for this video. Can you share any link or resource from where I can learn how to write intermediate code for the given source code like java code?
It depends on which intermediate code language you want to learn (and which compiler you want to work on). For a good detailed grounding, I strongly recommend the so called 'DRAGON BOOK'. Namely 'Compilers: Principles, Techniques, and Tools' by Alfred Aho, Monica Lam, Ravi Sethi and Jeffrey Ullman. :)KD
Short answer: It's not trivial. You need plenty of time and tenacity. If I had a mind to do something like this, I would invent a new mini-language, with just a few basic commands. I would do it in a high level programming language like VB.NET or C# to begin with. (Python was written in C.) A student of mine once wrote an improved version of Little Man Computer in VB.NET.
@@ComputerScienceLessons this is my project in my systems software class. Ive basically been scouring the internet looking for help haha. I understand the concept but this is a very difficult thing to code up, even implementing a very basic mock language
Thank you so much for your hard work and content. It's amazing! I greatly appreciate it
You are most welcome :)KD
4:38 I believe it should be:
If x < 10 goto L3
goto L1 (rather than goto L2)
Very helpful video though, thank you!
Perhaps a small error has slipped through the net, I'm not a particularly efficient compiler. Hopefully you got the jist though :)KD
I am loving this series 🔥✊🏻🙏🏻
Glad to hear it :)KD
Amazing explanations!!!! Satisfied
Awesome! Thanks.
9:08 I don't get here how the order of instructions in a particular block might be changed without causing any trouble .. 🤔?
Thank you very much. It helped me a lot.
Hi thanks for this video. Can you share any link or resource from where I can learn how to write intermediate code for the given source code like java code?
This is a fabulous website
www.w3schools.com/java/
thanks
Awesome, man!
:)KD
Where can I learn how to make an intermediate code?
It depends on which intermediate code language you want to learn (and which compiler you want to work on). For a good detailed grounding, I strongly recommend the so called 'DRAGON BOOK'. Namely 'Compilers: Principles, Techniques, and Tools' by Alfred Aho, Monica Lam, Ravi Sethi and Jeffrey Ullman. :)KD
How do you program this?
Short answer: It's not trivial. You need plenty of time and tenacity. If I had a mind to do something like this, I would invent a new mini-language, with just a few basic commands. I would do it in a high level programming language like VB.NET or C# to begin with. (Python was written in C.) A student of mine once wrote an improved version of Little Man Computer in VB.NET.
@@ComputerScienceLessons this is my project in my systems software class. Ive basically been scouring the internet looking for help haha. I understand the concept but this is a very difficult thing to code up, even implementing a very basic mock language
Thank you Kevin, very cool!
@Gerald Reuben shut up bot
Thanks