![]() |
Need Help about Writing a Programming Lanuage
Hi,
I am thinking of a project where I want to write my own programming language, specifically designed to make standalone applications. I know (or at least I THINK I know) that I have to use assembly to do this. However, I am not sure about the details. Do I write some sort of translator that translates the programmer's programming into assembly, and then assemble that with an assembler like NASM what? Please help! Thanks |
There are different types of programming language taht you can choose from. I don't have the tim to list them all here but you must decide if you want it compiled or interpreted.
|
I want to turn their programming into .exe's. Which one would that be?
|
Compiled.
In all seriousness, i don't quite think you are ready to build your own language. You didn't know what a compiled language was and you didn't think to google. |
Well, ok, I didn't bother knowing what the difference is between a compiled language and an interpreted one. I'm sorry. But I still need to know how exactly it is done. Do you create a .asm file according to their programming and then assemble that into a .exe?
I hope you guys can help me out! |
You realize that making a compiler is as/harder than making an OS.
You could try making an interpreted language first, like Python. C was written in assmebly, it took the team at bell labs years to complete. Its a little more complex than you think. |
So how would I go about making an interpreted language? Do I need assembly?
|
C or C++ would be a good language to do it in, i suppose you coudl use ASM to overcomplicate it.
Basically you make the "interpretor" which is installed onto the computer that needs to use your language, and when run with the code for your language it will do something. (bad explaination) I suggest you try python out, to get an idea of what its like. www.python.org |
Ok, thanks for your help!
Do you know any tutorials on how I could do this (i tried googling, but found nothing good)? |
I recommend python if you're a beginner in computer programming, it will help you get ready for the following languages that you might want to learn, not that I'm saying python is inefficient. It will teach you a great deal of the concept of programming.
|
| All times are GMT -5. The time now is 9:18 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC