Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Compile

nokoutnokout Posts: 2Member
I know this isnt inside Programing message board but...
I would like to know if anyone could aswer, what is the best solution to make my own compiler like Tpascal, C you know just for having a idea... Hope anyone could help me with this litle problem...

Sorry for my english i am from Portugal...
Nokout


Comments

  • AsmGuru62AsmGuru62 Posts: 6,519Member
    Well, to write a compiler is a VERY serious task. Sometimes, big teams of programmers do that, but hey, good luck, man!
    It is not that simple:

    1. You have to parse the source code into tokens
    2. You map the tokens on the token map and
    3. You get the machine code for every map entry
    4. You build the EXE file using these pieces of code

    Every one of these steps is a huge task by itself...
    Better start reading some books on how to create compilers...

    Cheers!


Sign In or Register to comment.