Jump to content
xisto Community
Sign in to follow this  
zemon1

Making A Programming Language

Recommended Posts

How hard would it be to make a language. I want to make one like PHP and more basic than basic. I want my language to be the preferred starter, and really good for making games on the internet. I know little php and any other languages, but im very good with dreamweaver and know enough html to fill in when dreamweaver lacks. However i think this language would be pretty cool if it ran with MySQL like php does. Any Thoughts??

Share this post


Link to post
Share on other sites

Well, why would you want to create another language without any skills? I guess just use the ones which are available, because most of them are really good and I don't think we need another one, here is a list if programming/scripting languages in my opinion which are really great: ASM, C,C++, Lisp, PHP, Python, Ruby, Java, Perl and maybe even ASP.NET, C#, Visual Basic and so on!But if you would want to create your own language, when you usually would need to write it using ASM or C, C++, but of course it's your choice :rolleyes:

Share this post


Link to post
Share on other sites

Well i thought it would just be fun, know what i mean. I wouldnt design it to commercialize, just cuz i wanted to have fun, but if people liked it and thought it was good than that would be cool. Tell you the truth though i dont really have a good answer to --Well, why would you want to create another language without any skills?the only real reason i could say is beacuase i think it would be cool for someone to be like oh yeah that guy made his own programmming language lol...Which no one would probably ever do but i just think it would be neat thats all

Share this post


Link to post
Share on other sites

So firstly, you should think of, what kind of language you would want to create, a programming language which could be compiled and executed as an .exe file or a scripting language, which would need an interpretor like yourlanguage.exe myscript.mylanguageextension which would give you a result of somekind, there lots of ways to achieve what you want..Personally, I suggest to do something with an existing language that people would say, oh it's that guy who created a calculator with visual basic! :rolleyes:

Share this post


Link to post
Share on other sites

Indeed, plus you'll need to make a compiler or an interpreter (like PHP) for the language that translates your higher level language to a lower level language like assembler.You'd better write libraries for an already existing programming language. You can shape existing functions into a new, maybe more easy to interpret function ...

Share this post


Link to post
Share on other sites

As stated by others you would need to have a very good grasp of other far more complex languages to gain the knowledge to create your own. I must commend you on this though, you didn't ask someone else to do it for you. I do not know how many post I have seen where someone states they have a great idea for an FPS or an MMO they are certain will dethrone WoW. But, they barely now HTML and could we please program it for them, and while we are at that can some one make all the art as well.

On to your question, If you really want to learn how a program is put together and ran take a look at Structure and Interpretation of Computer Programs. This is the text book for an introductory course in programming used at MIT. The language used in the Book is LISP though the principles discussed deal with all programs and how they run. It is deep stuff and requires some algebra in places but worth reading.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.