Do you ever try to create compiler for some language, some machine? I have to make one. I want to create machine independent pl but it is not easy. I realize that I have to create common machine code compiler but it is complicated? Do anybody have some experience with this?
Thanks for all answerback
Comments
: Thanks for all answerback
:
There is no such thing as "common machine code".
Perhaps what you mean is intermediate code which can then be turned into real machine code by some other program or interpreted like in Java?
Somewhere I have found an excellent tutorial on this subject, called "Lets Build A Compiler". I don't know where it was but it would certainly help you.
I finde one tutorial like this too(maybe the same) and I am studing this now but I havent enough time.
Thank you for replay.
Dr.Mobius
: I finde one tutorial like this too(maybe the same) and I am studing this now but I havent enough time.
:
: Thank you for replay.
: Dr.Mobius
:
:
You might find the thread I just posted about L.IN.O.L.E.U.M. in this same forum interesting. It is built around complete abstraction from the physical system, and uses a tiny runtime module implanted directly into the executable file to allow software to communicate with just about any type of system, once RTMs are created for them. The author of it, Alessandro Ghignola (otherwise known as Alex, around the site), would most likely be happy to explain details of how it works to you, if you post in the forum...
http://www.anywherebb.com/postline/fixchat.html
-Cryoburner