Welcome Guest ( Log In | Register )




                Web Hosting

 
Reply to this topicNew Topic
Making A Programming Language
zemon1
post Nov 28 2008, 09:02 AM
Post #1


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 30
Joined: 26-June 07
Member No.: 22,942


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??
Go to the top of the page
 
+Quote Post
Quatrux
post Nov 28 2008, 08:03 PM
Post #2


the Q
Group Icon

Group: [HOSTED]
Posts: 1,207
Joined: 13-July 05
From: Lithuania, Vilnius
Member No.: 7,059
myCENTs:93.57


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 biggrin.gif
Go to the top of the page
 
+Quote Post
zemon1
post Nov 29 2008, 02:04 AM
Post #3


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 30
Joined: 26-June 07
Member No.: 22,942


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
Go to the top of the page
 
+Quote Post
Quatrux
post Nov 29 2008, 12:48 PM
Post #4


the Q
Group Icon

Group: [HOSTED]
Posts: 1,207
Joined: 13-July 05
From: Lithuania, Vilnius
Member No.: 7,059
myCENTs:93.57


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! wink.gif
Go to the top of the page
 
+Quote Post
toby
post Nov 29 2008, 01:52 PM
Post #5


Super Member
Group Icon

Group: Members
Posts: 571
Joined: 29-September 06
Member No.: 16,228


You would need to know lower, harder languages well for your language to be interpretated at all.
Go to the top of the page
 
+Quote Post
wutske
post Nov 29 2008, 01:59 PM
Post #6


Way Out Of Control - You need a life :)
Group Icon

Group: [HOSTED]
Posts: 1,143
Joined: 2-August 05
From: Kapellen (Antwerp, Belgium)
Member No.: 7,585
myCENTs:30.43


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 ...
Go to the top of the page
 
+Quote Post
Darasen
post Nov 30 2008, 06:17 AM
Post #7


Advanced Member
Group Icon

Group: [HOSTED]
Posts: 195
Joined: 3-April 08
From: Milling about
Member No.: 29,596
myCENTs:4.72


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.

Go to the top of the page
 
+Quote Post

Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   8 Grafitti 16,027 2nd January 2009 - 08:45 AM
Last post by: Guest
No New Posts   11 Feelay 620 31st December 2008 - 09:45 AM
Last post by: mastercomputers
No New Posts   5 HellFire121 1,036 29th December 2008 - 07:41 PM
Last post by: iG-Tara
No New Posts   10 FirefoxRocks 985 18th December 2008 - 05:24 PM
Last post by: magiccode9
No New Posts 13 Habble 3,412 17th December 2008 - 04:02 PM
Last post by: ryantommo
No New Posts 12 yungblood 3,290 17th December 2008 - 03:53 PM
Last post by: ryantommo
No new 28 bigd1 4,913 13th December 2008 - 12:47 PM
Last post by: tek3D
No New Posts   8 Mico 460 2nd December 2008 - 07:14 AM
Last post by: The_Fury
No New Posts   12 dhanesh 2,318 25th November 2008 - 12:49 PM
Last post by: iG-farah
No New Posts   5 khalilov 360 1st November 2008 - 06:58 PM
Last post by: sparkx
No New Posts   17 knight17 3,875 26th October 2008 - 04:59 PM
Last post by: Guest
No New Posts   2 veerumits 187 24th October 2008 - 06:36 AM
Last post by: Quatrux
No New Posts   5 Darasen 280 24th October 2008 - 01:22 AM
Last post by: turbopowerdmaxsteel
No new   21 dhanesh 3,795 18th October 2008 - 05:36 AM
Last post by: oxydon
No New Posts   4 alessi 343 15th October 2008 - 11:38 AM
Last post by: phdex