![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Oct 2005
Posts: 14
Rep Power: 0
![]() |
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 |
|
|
|
|
|
#2 |
|
Expert Programmer
|
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.
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: Oct 2005
Posts: 14
Rep Power: 0
![]() |
I want to turn their programming into .exe's. Which one would that be?
|
|
|
|
|
|
#4 |
|
Expert Programmer
|
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.
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#5 |
|
Newbie
Join Date: Oct 2005
Posts: 14
Rep Power: 0
![]() |
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! |
|
|
|
|
|
#6 |
|
Expert Programmer
|
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.
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#7 |
|
Newbie
Join Date: Oct 2005
Posts: 14
Rep Power: 0
![]() |
So how would I go about making an interpreted language? Do I need assembly?
|
|
|
|
|
|
#8 |
|
Expert Programmer
|
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
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#9 |
|
Newbie
Join Date: Oct 2005
Posts: 14
Rep Power: 0
![]() |
Ok, thanks for your help!
Do you know any tutorials on how I could do this (i tried googling, but found nothing good)? |
|
|
|
|
|
#10 |
|
Programmer
Join Date: Mar 2005
Location: Washington
Posts: 91
Rep Power: 4
![]() |
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.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|