Compilation - Part Four: Intermediate Code

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ม.ค. 2025

ความคิดเห็น • 25

  • @hanimoe4769
    @hanimoe4769 3 ปีที่แล้ว +3

    Thank you so much for your hard work and content. It's amazing! I greatly appreciate it

  • @Anonymous_404_Not_Found
    @Anonymous_404_Not_Found 3 ปีที่แล้ว +4

    4:38 I believe it should be:
    If x < 10 goto L3
    goto L1 (rather than goto L2)

    • @Anonymous_404_Not_Found
      @Anonymous_404_Not_Found 3 ปีที่แล้ว

      Very helpful video though, thank you!

    • @ComputerScienceLessons
      @ComputerScienceLessons  3 ปีที่แล้ว +3

      Perhaps a small error has slipped through the net, I'm not a particularly efficient compiler. Hopefully you got the jist though :)KD

  • @samarthtandale9121
    @samarthtandale9121 11 หลายเดือนก่อน +1

    I am loving this series 🔥✊🏻🙏🏻

  • @unpluggedfemalecover3081
    @unpluggedfemalecover3081 4 ปีที่แล้ว +1

    Amazing explanations!!!! Satisfied

  • @janikmayr9212
    @janikmayr9212 6 ปีที่แล้ว +2

    Awesome! Thanks.

  • @samarthtandale9121
    @samarthtandale9121 11 หลายเดือนก่อน

    9:08 I don't get here how the order of instructions in a particular block might be changed without causing any trouble .. 🤔?

  • @rezarasouli6735
    @rezarasouli6735 4 ปีที่แล้ว

    Thank you very much. It helped me a lot.

  • @bloom6874
    @bloom6874 ปีที่แล้ว +1

    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?

  • @getahunabera9771
    @getahunabera9771 5 ปีที่แล้ว +2

    thanks

  • @nicholas_obert
    @nicholas_obert 4 ปีที่แล้ว

    Awesome, man!

  • @narinehmay
    @narinehmay 3 ปีที่แล้ว +1

    Where can I learn how to make an intermediate code?

    • @ComputerScienceLessons
      @ComputerScienceLessons  3 ปีที่แล้ว

      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

  • @jixster1566
    @jixster1566 4 ปีที่แล้ว +2

    How do you program this?

    • @ComputerScienceLessons
      @ComputerScienceLessons  4 ปีที่แล้ว +1

      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.

    • @jixster1566
      @jixster1566 4 ปีที่แล้ว +2

      @@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

  • @sebsells
    @sebsells 6 ปีที่แล้ว

    Thank you Kevin, very cool!

    • @sebsells
      @sebsells 3 ปีที่แล้ว

      @Gerald Reuben shut up bot

  • @mohokhachai
    @mohokhachai ปีที่แล้ว

    Thanks