Friday, May 21, 2010

How do I create my own programming language?

I want to create a compiled programming language. How do I get started? I also need to learn how to make the compiler.

How do I create my own programming language?
Quite Simple/difficult.


1. Learn the fundamentals of Computers.


2. Learn the fundamentals of programming


3.Develop skills on logics, algorithms


4.Learn parsing, compiling


5. Become master of all these techniques


6. And read a lot and practice nothing initially


7. Practice everything and make people learn everything what you do


8. And you are ready to develop your programming langauge





Best of Luck
Reply:You do not need It. there is a lot of programing language, and anyone doesn't work.
Reply:http://www.google.com/search?hl=en%26amp;lr=%26amp;q...
Reply:instead of writing a compiler, why not write a parser. ie, a programming language of a calculator understands this:


1+3


2*4


35-2





and parser would read this from a file, and if line is correct (ie not bananaabab), display result. you can extend this
Reply:You can start by learning C/C++
Reply:How high level do you want to make your language? If you want to make a mid level language, learn Assembly. If you want a higher level language (it will run slower), learn C. If you use anything higher it will be extremely slow and you would be better off using one that already exists.


No comments:

Post a Comment